Top Description Fields Constructors Methods
org.hibernate.boot.model.source.spi

public Class AttributeRole

extends AbstractAttributeKey
Class Inheritance

An attribute role is, generally speaking, the path of attribute names back to a "root" (which is either an entity or a persistent collection). The name of this root typically is included in the path.
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
public static final char

Constructor Summary

AccessConstructor and Description
public
private

Method Summary

Modifier and TypeMethod and Description
public AttributeRole
append(String
The part to append
property
)

Implements abstract org.hibernate.boot.model.source.spi.AbstractAttributeKey.append.

Creates a new AbstractAttributeKey by appending the passed part.
protected char
public AttributeRole
Inherited from org.hibernate.boot.model.source.spi.AbstractAttributeKey:
equalsgetDepthgetFullPathgetPropertyhashCodeisCollectionElementisPartOfCollectionElementisRootstripCollectionElementMarkertoString

Field Detail

DELIMITERback to summary
public static final char DELIMITER

Constructor Detail

AttributeRoleback to summary
public AttributeRole(String base)
AttributeRoleback to summary
private AttributeRole(AttributeRole parent, String property)

Method Detail

appendback to summary
public AttributeRole append(String property)

Implements abstract org.hibernate.boot.model.source.spi.AbstractAttributeKey.append.

Doc from org.hibernate.boot.model.source.spi.AbstractAttributeKey.append.

Creates a new AbstractAttributeKey by appending the passed part.

Parameters
property:String

The part to append

Returns:AttributeRole

The new AbstractAttributeKey

Annotations
@Override
getDelimiterback to summary
protected char getDelimiter()

Implements abstract org.hibernate.boot.model.source.spi.AbstractAttributeKey.getDelimiter.

Annotations
@Override
getParentback to summary
public AttributeRole getParent()

Overrides org.hibernate.boot.model.source.spi.AbstractAttributeKey.getParent.

Doc from org.hibernate.boot.model.source.spi.AbstractAttributeKey.getParent.

Access to the parent part

Returns:AttributeRole

the parent part

Annotations
@Override