Top Fields Constructors Methods
org.hibernate.boot.model.internal

public Class WrappedInferredData

extends Object
implements PropertyData
Class Inheritance
All Implemented Interfaces
org.hibernate.boot.spi.PropertyData
Imports
org.hibernate.MappingException, org.hibernate.annotations.common.reflection.XClass, .XProperty, org.hibernate.boot.spi.AccessType, .PropertyData, org.hibernate.internal.util.StringHelper

Author
Emmanuel Bernard

Field Summary

Modifier and TypeField and Description
private final String
private final PropertyData

Constructor Summary

AccessConstructor and Description
public
WrappedInferredData(PropertyData inferredData, String suffix)

Method Summary

Modifier and TypeMethod and Description
public XClass
getClassOrElement()

Implements org.hibernate.boot.spi.PropertyData.getClassOrElement.

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

Implements org.hibernate.boot.spi.PropertyData.getClassOrElementName.

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

Implements org.hibernate.boot.spi.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.boot.spi.PropertyData.getProperty.

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

Implements org.hibernate.boot.spi.PropertyData.getTypeName.

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

Field Detail

propertyNameback to summary
private final String propertyName
wrappedInferredDataback to summary
private final PropertyData wrappedInferredData

Constructor Detail

WrappedInferredDataback to summary
public WrappedInferredData(PropertyData inferredData, String suffix)

Method Detail

getClassOrElementback to summary
public XClass getClassOrElement() throws MappingException

Implements org.hibernate.boot.spi.PropertyData.getClassOrElement.

Doc from org.hibernate.boot.spi.PropertyData.getClassOrElement.

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

Annotations
@Override
getClassOrElementNameback to summary
public String getClassOrElementName() throws MappingException

Implements org.hibernate.boot.spi.PropertyData.getClassOrElementName.

Doc from org.hibernate.boot.spi.PropertyData.getClassOrElementName.

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

Annotations
@Override
getDeclaringClassback to summary
public XClass getDeclaringClass()

Implements org.hibernate.boot.spi.PropertyData.getDeclaringClass.

Doc from org.hibernate.boot.spi.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

Annotations
@Override
getDefaultAccessback to summary
public AccessType getDefaultAccess()

Implements org.hibernate.boot.spi.PropertyData.getDefaultAccess.

Returns:AccessType

Doc from org.hibernate.boot.spi.PropertyData.getDefaultAccess.

default member access (whether field or property)

Annotations
@Override
getPropertyback to summary
public XProperty getProperty()

Implements org.hibernate.boot.spi.PropertyData.getProperty.

Doc from org.hibernate.boot.spi.PropertyData.getProperty.

Return the Hibernate mapping property

Annotations
@Override
getPropertyClassback to summary
public XClass getPropertyClass() throws MappingException

Implements org.hibernate.boot.spi.PropertyData.getPropertyClass.

Doc from org.hibernate.boot.spi.PropertyData.getPropertyClass.

Return the class itself

Annotations
@Override
getPropertyNameback to summary
public String getPropertyName() throws MappingException

Implements org.hibernate.boot.spi.PropertyData.getPropertyName.

Returns:String

Doc from org.hibernate.boot.spi.PropertyData.getPropertyName.

property name

Annotations
@Override
Exceptions
MappingException:

Doc from org.hibernate.boot.spi.PropertyData.getPropertyName.

No getter or field found or wrong JavaBean spec usage

getTypeNameback to summary
public String getTypeName() throws MappingException

Implements org.hibernate.boot.spi.PropertyData.getTypeName.

Doc from org.hibernate.boot.spi.PropertyData.getTypeName.

Returns the returned class name itself

Annotations
@Override