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.
| Modifier and Type | Field and Description |
|---|---|
static char |
DELIMITER |
| Constructor and Description |
|---|
AttributeRole(String base) |
| Modifier and Type | Method and Description |
|---|---|
AttributeRole |
append(String property)
Creates a new AbstractAttributeKey by appending the passed part.
|
protected char |
getDelimiter() |
AttributeRole |
getParent()
Access to the parent part
|
equals, getDepth, getFullPath, getProperty, hashCode, isCollectionElement, isPartOfCollectionElement, isRoot, stripCollectionElementMarker, toStringpublic static final char DELIMITER
public AttributeRole(String base)
protected char getDelimiter()
getDelimiter in class AbstractAttributeKeypublic AttributeRole append(String property)
AbstractAttributeKeyCreates a new AbstractAttributeKey by appending the passed part.
append in class AbstractAttributeKeyproperty - The part to appendpublic AttributeRole getParent()
AbstractAttributeKeyAccess to the parent part
getParent in class AbstractAttributeKeyCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.