public class WrappedInferredData extends java.lang.Object implements PropertyData
| Constructor and Description |
|---|
WrappedInferredData(PropertyData inferredData,
java.lang.String suffix) |
| Modifier and Type | Method and Description |
|---|---|
org.hibernate.annotations.common.reflection.XClass |
getClassOrElement()
Returns the returned class itself or the element type if an array
|
java.lang.String |
getClassOrElementName()
Returns the returned class name itself or the element type if an array
|
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
|
AccessType |
getDefaultAccess() |
org.hibernate.annotations.common.reflection.XProperty |
getProperty()
Return the Hibernate mapping property
|
org.hibernate.annotations.common.reflection.XClass |
getPropertyClass()
Return the class itself
|
java.lang.String |
getPropertyName() |
java.lang.String |
getTypeName()
Returns the returned class name itself
|
public WrappedInferredData(PropertyData inferredData, java.lang.String suffix)
public org.hibernate.annotations.common.reflection.XClass getClassOrElement()
throws MappingException
PropertyDatagetClassOrElement in interface PropertyDataMappingExceptionpublic java.lang.String getClassOrElementName()
throws MappingException
PropertyDatagetClassOrElementName in interface PropertyDataMappingExceptionpublic AccessType getDefaultAccess()
getDefaultAccess in interface PropertyDatapublic org.hibernate.annotations.common.reflection.XProperty getProperty()
PropertyDatagetProperty in interface PropertyDatapublic org.hibernate.annotations.common.reflection.XClass getDeclaringClass()
PropertyDatagetDeclaringClass in interface PropertyDatapublic org.hibernate.annotations.common.reflection.XClass getPropertyClass()
throws MappingException
PropertyDatagetPropertyClass in interface PropertyDataMappingExceptionpublic java.lang.String getPropertyName()
throws MappingException
getPropertyName in interface PropertyDataMappingException - No getter or field found or wrong JavaBean spec usagepublic java.lang.String getTypeName()
throws MappingException
PropertyDatagetTypeName in interface PropertyDataMappingExceptionCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.