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