public class PropertyInferredData extends Object implements PropertyData
| Constructor and Description |
|---|
PropertyInferredData(XClass declaringClass,
XProperty property,
String propertyAccessor,
ReflectionManager reflectionManager)
Take the annoted element for lazy process
|
| Modifier and Type | Method and Description |
|---|---|
XClass |
getClassOrElement()
Returns the returned class itself or the element type if an array
|
String |
getClassOrElementName()
Returns the returned class name itself or the element type if an array
|
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
|
AccessType |
getDefaultAccess() |
XProperty |
getProperty()
Return the Hibernate mapping property
|
XClass |
getPropertyClass()
Return the class itself
|
String |
getPropertyName() |
String |
getTypeName()
Returns the returned class name itself
|
String |
toString() |
public PropertyInferredData(XClass declaringClass, XProperty property, String propertyAccessor, ReflectionManager reflectionManager)
public AccessType getDefaultAccess() throws MappingException
getDefaultAccess in interface PropertyDataMappingException - No getter or field found or wrong JavaBean spec usagepublic String getPropertyName() throws MappingException
getPropertyName in interface PropertyDataMappingException - No getter or field found or wrong JavaBean spec usagepublic XClass getPropertyClass() throws MappingException
PropertyDatagetPropertyClass in interface PropertyDataMappingExceptionpublic XClass getClassOrElement() throws MappingException
PropertyDatagetClassOrElement in interface PropertyDataMappingExceptionpublic String getClassOrElementName() throws MappingException
PropertyDatagetClassOrElementName in interface PropertyDataMappingExceptionpublic String getTypeName() throws MappingException
PropertyDatagetTypeName in interface PropertyDataMappingExceptionpublic XProperty getProperty()
PropertyDatagetProperty in interface PropertyDatapublic XClass getDeclaringClass()
PropertyDatagetDeclaringClass in interface PropertyDataCopyright © 2017 JBoss by Red Hat. All rights reserved.