public static class PropertyPath.PathElement extends Object implements Cloneable, RevisionHandler
Constructor and Description |
---|
PropertyPath.PathElement(String property)
initializes the path element with the given property
|
Modifier and Type | Method and Description |
---|---|
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
|
String |
getName()
returns the name of the property
|
String |
getRevision()
Returns the revision string.
|
boolean |
hasIndex()
returns whether the property is an index-based one
|
String |
toString()
returns the element once again as string
|
public PropertyPath.PathElement(String property)
property
- the property to initialize withpublic Object clone()
public String getName()
public boolean hasIndex()
public int getIndex()
public String toString()
public String getRevision()
getRevision
in interface RevisionHandler
Copyright © 2016 University of Waikato, Hamilton, NZ. All Rights Reserved.