|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectweka.core.PropertyPath.PathElement
public static class PropertyPath.PathElement
Represents a single element of a property path
Constructor Summary | |
---|---|
PropertyPath.PathElement(java.lang.String property)
initializes the path element with the given property |
Method Summary | |
---|---|
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 |
boolean |
hasIndex()
returns whether the property is an index-based one |
java.lang.String |
toString()
returns the element once again as string |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PropertyPath.PathElement(java.lang.String property)
property
- the property to initialize withMethod Detail |
---|
public 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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |