Class PropertyInferredData
java.lang.Object
org.hibernate.boot.model.internal.PropertyInferredData
- All Implemented Interfaces:
PropertyData
Retrieve all inferred data from an annotated element
- Author:
- Emmanuel Bernard, Paolo Perrotta
-
Constructor Summary
ConstructorsConstructorDescriptionPropertyInferredData(XClass declaringClass, XProperty property, String propertyAccessor, ReflectionManager reflectionManager) Take the annotated element for lazy process -
Method Summary
Modifier and TypeMethodDescriptionReturns the returned class itself or the element type if an arrayReturns the returned class name itself or the element type if an arrayReturns the returned class itself or the element type if an array or collectionReturn the Class the property is declared on If the property is declared on a @MappedSuperclass, this class will be different than the PersistentClass's classReturn the Hibernate mapping propertyReturn the class itselfReturns the returned class name itselftoString()
-
Constructor Details
-
PropertyInferredData
public PropertyInferredData(XClass declaringClass, XProperty property, String propertyAccessor, ReflectionManager reflectionManager) Take the annotated element for lazy process
-
-
Method Details
-
toString
-
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
-
getPropertyClass
Description copied from interface:PropertyDataReturn the class itself- Specified by:
getPropertyClassin interfacePropertyData- Throws:
MappingException
-
getClassOrElement
Description copied from interface:PropertyDataReturns the returned class itself or the element type if an array- Specified by:
getClassOrElementin 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
-
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
-
getProperty
Description copied from interface:PropertyDataReturn the Hibernate mapping property- Specified by:
getPropertyin interfacePropertyData
-
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
-