Class PropertyPreloadedData
java.lang.Object
org.hibernate.boot.model.internal.PropertyPreloadedData
- All Implemented Interfaces:
PropertyData
-
Constructor Summary
ConstructorsConstructorDescriptionPropertyPreloadedData
(AccessType defaultAccess, String propertyName, org.hibernate.models.spi.TypeDetails returnedClass) -
Method Summary
Modifier and TypeMethodDescriptionorg.hibernate.models.spi.MemberDetails
Return the Hibernate mapping propertyReturns the returned class name itself or the element type if an arrayorg.hibernate.models.spi.TypeDetails
Returns the returned class itself or the element type if an arrayorg.hibernate.models.spi.ClassDetails
Returns the returned class itself or the element type if an array or collectionorg.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 classorg.hibernate.models.spi.TypeDetails
Return the class itselfReturns the returned class name itself
-
Constructor Details
-
PropertyPreloadedData
public PropertyPreloadedData(AccessType defaultAccess, String propertyName, org.hibernate.models.spi.TypeDetails returnedClass)
-
-
Method Details
-
getDefaultAccess
- Specified by:
getDefaultAccess
in interfacePropertyData
- Returns:
- default member access (whether field or property)
- Throws:
MappingException
- No getter or field found or wrong JavaBean spec usage
-
getPropertyName
- Specified by:
getPropertyName
in interfacePropertyData
- Returns:
- property name
- Throws:
MappingException
- No getter or field found or wrong JavaBean spec usage
-
getClassOrElementType
Description copied from interface:PropertyData
Returns the returned class itself or the element type if an array- Specified by:
getClassOrElementType
in interfacePropertyData
- Throws:
MappingException
-
getClassOrPluralElement
Description copied from interface:PropertyData
Returns the returned class itself or the element type if an array or collection- Specified by:
getClassOrPluralElement
in interfacePropertyData
- Throws:
MappingException
-
getPropertyType
Description copied from interface:PropertyData
Return the class itself- Specified by:
getPropertyType
in interfacePropertyData
- Throws:
MappingException
-
getClassOrElementName
Description copied from interface:PropertyData
Returns the returned class name itself or the element type if an array- Specified by:
getClassOrElementName
in interfacePropertyData
- Throws:
MappingException
-
getTypeName
Description copied from interface:PropertyData
Returns the returned class name itself- Specified by:
getTypeName
in interfacePropertyData
- Throws:
MappingException
-
getAttributeMember
public org.hibernate.models.spi.MemberDetails getAttributeMember()Description copied from interface:PropertyData
Return the Hibernate mapping property- Specified by:
getAttributeMember
in interfacePropertyData
-
getDeclaringClass
public org.hibernate.models.spi.ClassDetails getDeclaringClass()Description copied from interface:PropertyData
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- Specified by:
getDeclaringClass
in interfacePropertyData
-