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.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
-
Constructor Details
-
PropertyPreloadedData
public PropertyPreloadedData(AccessType defaultAccess, String propertyName, org.hibernate.models.spi.TypeDetails returnedClass)
-
-
Method Details
-
getDefaultAccess
- Specified by:
getDefaultAccessin interfacePropertyData- Returns:
- default member access (whether field or property)
- Throws:
MappingException- No getter or field found or wrong JavaBean spec usage
-
getPropertyName
- Specified by:
getPropertyNamein interfacePropertyData- Returns:
- property name
- Throws:
MappingException- No getter or field found or wrong JavaBean spec usage
-
getClassOrElementType
Description copied from interface:PropertyDataReturns the returned class itself or the element type if an array- Specified by:
getClassOrElementTypein interfacePropertyData- Throws:
MappingException
-
getClassOrPluralElement
Description copied from interface:PropertyDataReturns the returned class itself or the element type if an array or collection- Specified by:
getClassOrPluralElementin interfacePropertyData- Throws:
MappingException
-
getPropertyType
Description copied from interface:PropertyDataReturn the class itself- Specified by:
getPropertyTypein interfacePropertyData- Throws:
MappingException
-
getClassOrElementName
Description copied from interface:PropertyDataReturns the returned class name itself or the element type if an array- Specified by:
getClassOrElementNamein interfacePropertyData- Throws:
MappingException
-
getTypeName
Description copied from interface:PropertyDataReturns the returned class name itself- Specified by:
getTypeNamein interfacePropertyData- Throws:
MappingException
-
getAttributeMember
public org.hibernate.models.spi.MemberDetails getAttributeMember()Description copied from interface:PropertyDataReturn the Hibernate mapping property- Specified by:
getAttributeMemberin interfacePropertyData
-
getDeclaringClass
public org.hibernate.models.spi.ClassDetails getDeclaringClass()Description copied from interface:PropertyDataReturn 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:
getDeclaringClassin interfacePropertyData
-