Class AttributeRole
- java.lang.Object
-
- org.hibernate.boot.model.source.spi.AbstractAttributeKey
-
- org.hibernate.boot.model.source.spi.AttributeRole
-
public class AttributeRole extends AbstractAttributeKey
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.
-
-
Field Summary
Fields Modifier and Type Field Description static char
DELIMITER
-
Constructor Summary
Constructors Constructor Description AttributeRole(java.lang.String base)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttributeRole
append(java.lang.String property)
Creates a new AbstractAttributeKey by appending the passed part.protected char
getDelimiter()
AttributeRole
getParent()
Access to the parent part-
Methods inherited from class org.hibernate.boot.model.source.spi.AbstractAttributeKey
equals, getDepth, getFullPath, getProperty, hashCode, isCollectionElement, isPartOfCollectionElement, isRoot, stripCollectionElementMarker, toString
-
-
-
-
Field Detail
-
DELIMITER
public static final char DELIMITER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDelimiter
protected char getDelimiter()
- Specified by:
getDelimiter
in classAbstractAttributeKey
-
append
public AttributeRole append(java.lang.String property)
Description copied from class:AbstractAttributeKey
Creates a new AbstractAttributeKey by appending the passed part.- Specified by:
append
in classAbstractAttributeKey
- Parameters:
property
- The part to append- Returns:
- The new AbstractAttributeKey
-
getParent
public AttributeRole getParent()
Description copied from class:AbstractAttributeKey
Access to the parent part- Overrides:
getParent
in classAbstractAttributeKey
- Returns:
- the parent part
-
-