public static class PropertyPath.PathElement extends java.lang.Object implements java.lang.Cloneable, RevisionHandler
| Modifier and Type | Field and Description |
|---|---|
protected int |
m_Index
the index of the array (-1 for none)
|
protected java.lang.String |
m_Name
the property
|
| 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
|
protected java.lang.String m_Name
protected int m_Index
public PathElement(java.lang.String property)
property - the property to initialize withpublic java.lang.Object clone()
clone in class java.lang.Objectpublic java.lang.String getName()
public boolean hasIndex()
public int getIndex()
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getRevision()
getRevision in interface RevisionHandler