Interface PropertyData

All Known Implementing Classes:
PropertyInferredData, PropertyPreloadedData, WrappedInferredData

public interface PropertyData
Details about an attribute as we process the boot model.
  • 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() throws MappingException
      Returns:
      property name
      Throws:
      MappingException - No getter or field found or wrong JavaBean spec usage
    • getClassOrElement

      XClass getClassOrElement() throws MappingException
      Returns the returned class itself or the element type if an array
      Throws:
      MappingException
    • getClassOrPluralElement

      XClass getClassOrPluralElement() throws MappingException
      Returns the returned class itself or the element type if an array or collection
      Throws:
      MappingException
    • getPropertyClass

      XClass getPropertyClass() throws MappingException
      Return the class itself
      Throws:
      MappingException
    • getClassOrElementName

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

      String getTypeName() throws MappingException
      Returns the returned class name itself
      Throws:
      MappingException
    • getProperty

      XProperty getProperty()
      Return the Hibernate mapping property
    • getDeclaringClass

      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