Interface PropertyData

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.hibernate.annotations.common.reflection.XClass getClassOrElement()
      Returns the returned class itself or the element type if an array
      String getClassOrElementName()
      Returns the returned class name itself or the element type if an array
      org.hibernate.annotations.common.reflection.XClass getClassOrPluralElement()
      Returns the returned class itself or the element type if an array or collection
      org.hibernate.annotations.common.reflection.XClass getDeclaringClass()
      Return the Class the property is declared on If the property is declared on a @MappedSuperclass, this class will be different than the PersistentClass's class
      AccessType getDefaultAccess()  
      org.hibernate.annotations.common.reflection.XProperty getProperty()
      Return the Hibernate mapping property
      org.hibernate.annotations.common.reflection.XClass getPropertyClass()
      Return the class itself
      String getPropertyName()  
      String getTypeName()
      Returns the returned class name itself
    • Method Detail

      • getDefaultAccess

        AccessType getDefaultAccess()
        Returns:
        default member access (whether field or property)
        Throws:
        MappingException - No getter or field found or wrong JavaBean spec usage
      • getClassOrElement

        org.hibernate.annotations.common.reflection.XClass getClassOrElement()
                                                                      throws MappingException
        Returns the returned class itself or the element type if an array
        Throws:
        MappingException
      • getClassOrPluralElement

        org.hibernate.annotations.common.reflection.XClass getClassOrPluralElement()
                                                                            throws MappingException
        Returns the returned class itself or the element type if an array or collection
        Throws:
        MappingException
      • getPropertyClass

        org.hibernate.annotations.common.reflection.XClass getPropertyClass()
                                                                     throws MappingException
        Return the class itself
        Throws:
        MappingException
      • getProperty

        org.hibernate.annotations.common.reflection.XProperty getProperty()
        Return the Hibernate mapping property
      • getDeclaringClass

        org.hibernate.annotations.common.reflection.XClass getDeclaringClass()
        Return the Class the property is declared on If the property is declared on a @MappedSuperclass, this class will be different than the PersistentClass's class