It would be very useful if @RDFBean annotations would be inherited to subclasses. Currently this does not work and throws a RDFBeanException when assigning a property value to a (sub)class that isn't explicetely annotated. The mentioned exception is thrown in the following situation:
Consider two interfaces A, B where B extends A.
A is annoted with @RDFBean, B isn't annotated
assigning a property value of type RDFBean to B causes the exception
Possible solution: The problem arises within the class RDFBeanInfo in method isRdfBeanClass(Object). The method makes use of ReflectionUtil.getClassAnnotation() that does currently does only consider direct parent interfaces. If their anchestor interfaces would be considered as well the problem was solved.
Hi!
It would be very useful if @RDFBean annotations would be inherited to subclasses. Currently this does not work and throws a RDFBeanException when assigning a property value to a (sub)class that isn't explicetely annotated. The mentioned exception is thrown in the following situation:
Possible solution: The problem arises within the class RDFBeanInfo in method isRdfBeanClass(Object). The method makes use of ReflectionUtil.getClassAnnotation() that does currently does only consider direct parent interfaces. If their anchestor interfaces would be considered as well the problem was solved.