|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.hibernate.cfg.PropertyInferredData
public class PropertyInferredData
Retrieve all inferred data from an annnoted element
Constructor Summary | |
---|---|
PropertyInferredData(org.hibernate.annotations.common.reflection.XClass declaringClass,
org.hibernate.annotations.common.reflection.XProperty property,
String propertyAccessor,
org.hibernate.annotations.common.reflection.ReflectionManager reflectionManager)
Take the annoted element for lazy process |
Method Summary | |
---|---|
org.hibernate.annotations.common.reflection.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 |
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 |
String |
getPropertyName()
|
String |
getTypeName()
Returns the returned class name itself |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PropertyInferredData(org.hibernate.annotations.common.reflection.XClass declaringClass, org.hibernate.annotations.common.reflection.XProperty property, String propertyAccessor, org.hibernate.annotations.common.reflection.ReflectionManager reflectionManager)
Method Detail |
---|
public String toString()
toString
in class Object
public AccessType getDefaultAccess() throws MappingException
getDefaultAccess
in interface PropertyData
MappingException
- No getter or field found or wrong JavaBean spec usagepublic String getPropertyName() throws MappingException
getPropertyName
in interface PropertyData
MappingException
- No getter or field found or wrong JavaBean spec usagepublic org.hibernate.annotations.common.reflection.XClass getPropertyClass() throws MappingException
PropertyData
getPropertyClass
in interface PropertyData
MappingException
public org.hibernate.annotations.common.reflection.XClass getClassOrElement() throws MappingException
PropertyData
getClassOrElement
in interface PropertyData
MappingException
public String getClassOrElementName() throws MappingException
PropertyData
getClassOrElementName
in interface PropertyData
MappingException
public String getTypeName() throws MappingException
PropertyData
getTypeName
in interface PropertyData
MappingException
public org.hibernate.annotations.common.reflection.XProperty getProperty()
PropertyData
getProperty
in interface PropertyData
public org.hibernate.annotations.common.reflection.XClass getDeclaringClass()
PropertyData
getDeclaringClass
in interface PropertyData
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |