Package org.hibernate.cfg
Interface PropertyData
-
- All Known Implementing Classes:
PropertyInferredData,PropertyPreloadedData,WrappedInferredData
public interface PropertyData
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.hibernate.annotations.common.reflection.XClassgetClassOrElement()Returns the returned class itself or the element type if an arrayjava.lang.StringgetClassOrElementName()Returns the returned class name itself or the element type if an arrayorg.hibernate.annotations.common.reflection.XClassgetDeclaringClass()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 classAccessTypegetDefaultAccess()org.hibernate.annotations.common.reflection.XPropertygetProperty()Return the Hibernate mapping propertyorg.hibernate.annotations.common.reflection.XClassgetPropertyClass()Return the class itselfjava.lang.StringgetPropertyName()java.lang.StringgetTypeName()Returns the returned class name itself
-
-
-
Method Detail
-
getDefaultAccess
AccessType getDefaultAccess()
- Returns:
- default member access (whether field or property)
- Throws:
MappingException- No getter or field found or wrong JavaBean spec usage
-
getPropertyName
java.lang.String getPropertyName() throws MappingException- Returns:
- property name
- Throws:
MappingException- No getter or field found or wrong JavaBean spec usage
-
getClassOrElement
org.hibernate.annotations.common.reflection.XClass getClassOrElement() throws MappingExceptionReturns the returned class itself or the element type if an array- Throws:
MappingException
-
getPropertyClass
org.hibernate.annotations.common.reflection.XClass getPropertyClass() throws MappingExceptionReturn the class itself- Throws:
MappingException
-
getClassOrElementName
java.lang.String getClassOrElementName() throws MappingExceptionReturns the returned class name itself or the element type if an array- Throws:
MappingException
-
getTypeName
java.lang.String getTypeName() throws MappingExceptionReturns 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
-
-