public static class PropertyPath.PathElement extends java.lang.Object implements java.lang.Cloneable, RevisionHandler
Constructor and Description |
---|
PathElement(java.lang.String property)
initializes the path element with the given property
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
returns a clone of the current object
|
int |
getIndex()
returns the index of the property, -1 if the property is not an
index-based one
|
java.lang.String |
getName()
returns the name of the property
|
java.lang.String |
getRevision()
Returns the revision string.
|
boolean |
hasIndex()
returns whether the property is an index-based one
|
java.lang.String |
toString()
returns the element once again as string
|
public PathElement(java.lang.String property)
property
- the property to initialize withpublic java.lang.Object clone()
clone
in class java.lang.Object
public java.lang.String getName()
public boolean hasIndex()
public int getIndex()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getRevision()
getRevision
in interface RevisionHandler