Top Description Methods
org.hibernate.boot.spi

public Interface PropertyData

Known Direct Implementers
org.hibernate.boot.model.internal.PropertyInferredData, org.hibernate.boot.model.internal.PropertyPreloadedData, org.hibernate.boot.model.internal.WrappedInferredData
Imports
org.hibernate.MappingException, org.hibernate.annotations.common.reflection.XClass, .XProperty

Details about an attribute as we process the boot model.

Method Summary

Modifier and TypeMethod and Description
public XClass
getClassOrElement()

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

public String
getClassOrElementName()

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

public 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

public AccessType

Returns:

default member access (whether field or property)
getDefaultAccess
()

public XProperty
getProperty()

Return the Hibernate mapping property

public XClass
getPropertyClass()

Return the class itself

public String

Returns:

property name
getPropertyName
()

public String
getTypeName()

Returns the returned class name itself

Method Detail

getClassOrElementback to summary
public XClass getClassOrElement() throws MappingException

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

getClassOrElementNameback to summary
public String getClassOrElementName() throws MappingException

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

getDeclaringClassback to summary
public 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

getDefaultAccessback to summary
public AccessType getDefaultAccess()
Returns:AccessType

default member access (whether field or property)

Exceptions
MappingException:
No getter or field found or wrong JavaBean spec usage
getPropertyback to summary
public XProperty getProperty()

Return the Hibernate mapping property

getPropertyClassback to summary
public XClass getPropertyClass() throws MappingException

Return the class itself

getPropertyNameback to summary
public String getPropertyName() throws MappingException
Returns:String

property name

Exceptions
MappingException:
No getter or field found or wrong JavaBean spec usage
getTypeNameback to summary
public String getTypeName() throws MappingException

Returns the returned class name itself