public abstract class AbstractAttributeKey extends Object
Modifier | Constructor and Description |
---|---|
protected |
AbstractAttributeKey()
Constructor for the base AttributePath
|
protected |
AbstractAttributeKey(AbstractAttributeKey parent,
String property) |
protected |
AbstractAttributeKey(String base)
Constructor for the base AttributeRole
|
Modifier and Type | Method and Description |
---|---|
abstract AbstractAttributeKey |
append(String property)
Creates a new AbstractAttributeKey by appending the passed part.
|
boolean |
equals(Object o) |
protected abstract char |
getDelimiter() |
int |
getDepth()
How many "parts" are there to this path/role?
|
String |
getFullPath()
Access to the full path as a String
|
AbstractAttributeKey |
getParent()
Access to the parent part
|
String |
getProperty()
Access to the end path part.
|
int |
hashCode() |
boolean |
isCollectionElement()
Does this part represent a collection-element reference?
|
boolean |
isPartOfCollectionElement()
Does any part represent a collection-element reference?
|
boolean |
isRoot()
Does this part represent a root.
|
String |
stripCollectionElementMarker() |
String |
toString() |
protected AbstractAttributeKey()
Constructor for the base AttributePath
protected AbstractAttributeKey(String base)
Constructor for the base AttributeRole
protected AbstractAttributeKey(AbstractAttributeKey parent, String property)
public int getDepth()
How many "parts" are there to this path/role?
protected abstract char getDelimiter()
public abstract AbstractAttributeKey append(String property)
Creates a new AbstractAttributeKey by appending the passed part.
property
- The part to appendpublic AbstractAttributeKey getParent()
Access to the parent part
public String getProperty()
Access to the end path part.
public String getFullPath()
Access to the full path as a String
public boolean isRoot()
Does this part represent a root.
true
if this part is a root.public boolean isCollectionElement()
Does this part represent a collection-element reference?
true
if the current property is a collection element
marker (COLLECTION_ELEMENT
public boolean isPartOfCollectionElement()
Does any part represent a collection-element reference?
true
if this part or any parent part is a collection element
marker (COLLECTION_ELEMENT
.public String stripCollectionElementMarker()
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.