Top Fields Constructors Methods
org.hibernate.cfg

public Class PropertyPreloadedData

extends Object
implements PropertyData
Class Inheritance
All Implemented Interfaces
org.hibernate.cfg.PropertyData
Imports
org.hibernate.MappingException, org.hibernate.annotations.common.reflection.XClass, .XProperty

Field Summary

Modifier and TypeField and Description
private final AccessType
private final String
private final XClass

Constructor Summary

AccessConstructor and Description
public
PropertyPreloadedData(AccessType defaultAccess, String propertyName, XClass returnedClass)

Method Summary

Modifier and TypeMethod and Description
public XClass
getClassOrElement()

Implements org.hibernate.cfg.PropertyData.getClassOrElement.

Returns the returned class itself or the element type if an array
public String
getClassOrElementName()

Implements org.hibernate.cfg.PropertyData.getClassOrElementName.

Returns the returned class name itself or the element type if an array
public XClass
getDeclaringClass()

Implements org.hibernate.cfg.PropertyData.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
public AccessType
public XProperty
getProperty()

Implements org.hibernate.cfg.PropertyData.getProperty.

Return the Hibernate mapping property
public XClass
public String
public String
getTypeName()

Implements org.hibernate.cfg.PropertyData.getTypeName.

Returns the returned class name itself
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

defaultAccessback to summary
private final AccessType defaultAccess
propertyNameback to summary
private final String propertyName
returnedClassback to summary
private final XClass returnedClass

Constructor Detail

PropertyPreloadedDataback to summary
public PropertyPreloadedData(AccessType defaultAccess, String propertyName, XClass returnedClass)

Method Detail

getClassOrElementback to summary
public XClass getClassOrElement() throws MappingException

Implements org.hibernate.cfg.PropertyData.getClassOrElement.

Doc from org.hibernate.cfg.PropertyData.getClassOrElement.

Returns the returned class itself or the element type if an array

getClassOrElementNameback to summary
public String getClassOrElementName() throws MappingException

Implements org.hibernate.cfg.PropertyData.getClassOrElementName.

Doc from org.hibernate.cfg.PropertyData.getClassOrElementName.

Returns the returned class name itself or the element type if an array

getDeclaringClassback to summary
public XClass getDeclaringClass()

Implements org.hibernate.cfg.PropertyData.getDeclaringClass.

Doc from org.hibernate.cfg.PropertyData.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

getDefaultAccessback to summary
public AccessType getDefaultAccess() throws MappingException

Implements org.hibernate.cfg.PropertyData.getDefaultAccess.

Returns:AccessType

Doc from org.hibernate.cfg.PropertyData.getDefaultAccess.

default member access (whether field or property)

Exceptions
MappingException:

Doc from org.hibernate.cfg.PropertyData.getDefaultAccess.

No getter or field found or wrong JavaBean spec usage

getPropertyback to summary
public XProperty getProperty()

Implements org.hibernate.cfg.PropertyData.getProperty.

Doc from org.hibernate.cfg.PropertyData.getProperty.

Return the Hibernate mapping property

getPropertyClassback to summary
public XClass getPropertyClass() throws MappingException

Implements org.hibernate.cfg.PropertyData.getPropertyClass.

Doc from org.hibernate.cfg.PropertyData.getPropertyClass.

Return the class itself

getPropertyNameback to summary
public String getPropertyName() throws MappingException

Implements org.hibernate.cfg.PropertyData.getPropertyName.

Returns:String

Doc from org.hibernate.cfg.PropertyData.getPropertyName.

property name

Exceptions
MappingException:

Doc from org.hibernate.cfg.PropertyData.getPropertyName.

No getter or field found or wrong JavaBean spec usage

getTypeNameback to summary
public String getTypeName() throws MappingException

Implements org.hibernate.cfg.PropertyData.getTypeName.

Doc from org.hibernate.cfg.PropertyData.getTypeName.

Returns the returned class name itself