Package org.hibernate.boot.spi

Interface PropertyData

All Known Implementing Classes:
PropertyInferredData,PropertyPreloadedData,WrappedInferredData

public interfacePropertyData
Details about an attribute as we process theboot model.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.hibernate.models.spi.MemberDetails
    Return the Hibernate mapping property
    Returns the returned class name itself or the element type if an array
    org.hibernate.models.spi.TypeDetails
    Returns the returned class itself or the element type if an array
    org.hibernate.models.spi.ClassDetails
    Returns the returned class itself or the element type if an array or collection
    org.hibernate.models.spi.ClassDetails
    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
     
     
    org.hibernate.models.spi.TypeDetails
    Return the class itself
    Returns the returned class name itself
  • Method Details

    • getDefaultAccess

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

      String getPropertyName() throwsMappingException
      Returns:
      property name
      Throws:
      MappingException - No getter or field found or wrong JavaBean spec usage
    • getClassOrElementType

      org.hibernate.models.spi.TypeDetails getClassOrElementType() throwsMappingException
      Returns the returned class itself or the element type if an array
      Throws:
      MappingException
    • getClassOrPluralElement

      org.hibernate.models.spi.ClassDetails getClassOrPluralElement() throwsMappingException
      Returns the returned class itself or the element type if an array or collection
      Throws:
      MappingException
    • getPropertyType

      org.hibernate.models.spi.TypeDetails getPropertyType() throwsMappingException
      Return the class itself
      Throws:
      MappingException
    • getClassOrElementName

      String getClassOrElementName() throwsMappingException
      Returns the returned class name itself or the element type if an array
      Throws:
      MappingException
    • getTypeName

      String getTypeName() throwsMappingException
      Returns the returned class name itself
      Throws:
      MappingException
    • getAttributeMember

      org.hibernate.models.spi.MemberDetails getAttributeMember()
      Return the Hibernate mapping property
    • getDeclaringClass

      org.hibernate.models.spi.ClassDetails 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