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, toString
public static final char DELIMITER
public AttributeRole(String base)
protected char getDelimiter()
getDelimiter
in class AbstractAttributeKey
public AttributeRole append(String property)
AbstractAttributeKey
Creates a new AbstractAttributeKey by appending the passed part.
append
in class AbstractAttributeKey
property
- The part to appendpublic AttributeRole getParent()
AbstractAttributeKey
Access to the parent part
getParent
in class AbstractAttributeKey
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.