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 TypeMethodDescriptionorg.hibernate.models.spi.MemberDetailsReturn the Hibernate mapping propertyReturns the returned class name itself or the element type if an arrayorg.hibernate.models.spi.TypeDetailsReturns the returned class itself or the element type if an arrayorg.hibernate.models.spi.ClassDetailsReturns the returned class itself or the element type if an array or collectionorg.hibernate.models.spi.ClassDetailsReturn the Class the property is declared on If the property is declared on a @MappedSuperclass, this class will be different than the PersistentClass's classorg.hibernate.models.spi.TypeDetailsReturn the class itselfReturns 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
- Returns:
- property name
- Throws:
MappingException- No getter or field found or wrong JavaBean spec usage
getClassOrElementType
Returns the returned class itself or the element type if an array- Throws:
MappingException
getClassOrPluralElement
Returns the returned class itself or the element type if an array or collection- Throws:
MappingException
getPropertyType
Return the class itself- Throws:
MappingException
getClassOrElementName
Returns the returned class name itself or the element type if an array- Throws:
MappingException
getTypeName
Returns the returned class name itself- Throws:
MappingException
getAttributeMember
org.hibernate.models.spi.MemberDetails getAttributeMember()Return the Hibernate mapping propertygetDeclaringClass
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