public abstract class AbstractAttributeKey
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
AbstractAttributeKey()
Constructor for the base AttributePath
|
protected |
AbstractAttributeKey(AbstractAttributeKey parent,
java.lang.String property) |
protected |
AbstractAttributeKey(java.lang.String base)
Constructor for the base AttributeRole
|
Modifier and Type | Method and Description |
---|---|
abstract AbstractAttributeKey |
append(java.lang.String property)
Creates a new AbstractAttributeKey by appending the passed part.
|
boolean |
equals(java.lang.Object o) |
protected abstract char |
getDelimiter() |
int |
getDepth()
How many "parts" are there to this path/role?
|
java.lang.String |
getFullPath()
Access to the full path as a String
|
AbstractAttributeKey |
getParent()
Access to the parent part
|
java.lang.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.
|
java.lang.String |
stripCollectionElementMarker() |
java.lang.String |
toString() |
protected AbstractAttributeKey()
protected AbstractAttributeKey(java.lang.String base)
protected AbstractAttributeKey(AbstractAttributeKey parent, java.lang.String property)
public int getDepth()
protected abstract char getDelimiter()
public abstract AbstractAttributeKey append(java.lang.String property)
property
- The part to appendpublic AbstractAttributeKey getParent()
public java.lang.String getProperty()
public java.lang.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 java.lang.String stripCollectionElementMarker()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.