Class DynamicProperty

  • All Implemented Interfaces:
    org.hibernate.annotations.common.reflection.XAnnotatedElement, org.hibernate.annotations.common.reflection.XMember, org.hibernate.annotations.common.reflection.XProperty

    public class DynamicProperty
    extends Object
    implements org.hibernate.annotations.common.reflection.XProperty
    This class pretends to be property but in fact it represents entry in the map (for dynamic component)
    • Method Detail

      • getDeclaringClass

        public org.hibernate.annotations.common.reflection.XClass getDeclaringClass()
        Specified by:
        getDeclaringClass in interface org.hibernate.annotations.common.reflection.XMember
      • getName

        public String getName()
        Specified by:
        getName in interface org.hibernate.annotations.common.reflection.XMember
      • isCollection

        public boolean isCollection()
        Specified by:
        isCollection in interface org.hibernate.annotations.common.reflection.XMember
      • isArray

        public boolean isArray()
        Specified by:
        isArray in interface org.hibernate.annotations.common.reflection.XMember
      • getCollectionClass

        public Class<? extends Collection<?>> getCollectionClass()
        Specified by:
        getCollectionClass in interface org.hibernate.annotations.common.reflection.XMember
      • getType

        public org.hibernate.annotations.common.reflection.XClass getType()
        Specified by:
        getType in interface org.hibernate.annotations.common.reflection.XMember
      • getElementClass

        public org.hibernate.annotations.common.reflection.XClass getElementClass()
        Specified by:
        getElementClass in interface org.hibernate.annotations.common.reflection.XMember
      • getClassOrElementClass

        public org.hibernate.annotations.common.reflection.XClass getClassOrElementClass()
        Specified by:
        getClassOrElementClass in interface org.hibernate.annotations.common.reflection.XMember
      • getMapKey

        public org.hibernate.annotations.common.reflection.XClass getMapKey()
        Specified by:
        getMapKey in interface org.hibernate.annotations.common.reflection.XMember
      • getModifiers

        public int getModifiers()
        Specified by:
        getModifiers in interface org.hibernate.annotations.common.reflection.XMember
      • setAccessible

        public void setAccessible​(boolean accessible)
        Specified by:
        setAccessible in interface org.hibernate.annotations.common.reflection.XMember
      • invoke

        public Object invoke​(Object target,
                             Object... parameters)
        Specified by:
        invoke in interface org.hibernate.annotations.common.reflection.XMember
      • invoke

        public Object invoke​(Object target)
        Specified by:
        invoke in interface org.hibernate.annotations.common.reflection.XMember
      • isTypeResolved

        public boolean isTypeResolved()
        Specified by:
        isTypeResolved in interface org.hibernate.annotations.common.reflection.XMember
      • getAnnotation

        public <T extends Annotation> T getAnnotation​(Class<T> annotationType)
        Specified by:
        getAnnotation in interface org.hibernate.annotations.common.reflection.XAnnotatedElement
      • isAnnotationPresent

        public <T extends Annotation> boolean isAnnotationPresent​(Class<T> annotationType)
        Specified by:
        isAnnotationPresent in interface org.hibernate.annotations.common.reflection.XAnnotatedElement
      • getAnnotations

        public Annotation[] getAnnotations()
        Specified by:
        getAnnotations in interface org.hibernate.annotations.common.reflection.XAnnotatedElement