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()
protected AbstractAttributeKey(String base)
protected AbstractAttributeKey(AbstractAttributeKey parent, String property)
public int getDepth()
protected abstract char getDelimiter()
public abstract AbstractAttributeKey append(String property)
property
- The part to appendpublic AbstractAttributeKey getParent()
public String getProperty()
public String getFullPath()
public boolean isRoot()
true
if this part is a root.public boolean isCollectionElement()
true
if the current property is a collection element
marker (COLLECTION_ELEMENT
public boolean isPartOfCollectionElement()
true
if this part or any parent part is a collection element
marker (COLLECTION_ELEMENT
.public String stripCollectionElementMarker()
Copyright © 2021 JBoss by Red Hat. All rights reserved.