Package org.hibernate.boot.spi
Interface PropertyData
- All Known Implementing Classes:
PropertyInferredData
,PropertyPreloadedData
,WrappedInferredData
public interface PropertyData
Details about an attribute as we process the boot model.
-
Method Summary
Modifier and TypeMethodDescriptionorg.hibernate.annotations.common.reflection.XClass
Returns the returned class itself or the element type if an arrayReturns the returned class name itself or the element type if an arrayorg.hibernate.annotations.common.reflection.XClass
Returns the returned class itself or the element type if an array or collectionorg.hibernate.annotations.common.reflection.XClass
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 classorg.hibernate.annotations.common.reflection.XProperty
Return the Hibernate mapping propertyorg.hibernate.annotations.common.reflection.XClass
Return 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
-
getClassOrElement
Returns the returned class itself or the element type if an array- Throws:
MappingException
-
getClassOrPluralElement
org.hibernate.annotations.common.reflection.XClass getClassOrPluralElement() throws MappingExceptionReturns the returned class itself or the element type if an array or collection- Throws:
MappingException
-
getPropertyClass
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
-
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
-