org.odata4j.producer
Class PropertyPath
java.lang.Object
org.odata4j.producer.PropertyPath
- Direct Known Subclasses:
- RecursivePropertyPath
public class PropertyPath
- extends Object
A path in an object graph made up of property names.
PropertyPath
public PropertyPath(PropertyPath path)
PropertyPath
public PropertyPath(String path)
addComponent
public PropertyPath addComponent(String component)
equals
public boolean equals(Object rhso)
- Overrides:
equals
in class Object
getFirstComponent
public String getFirstComponent()
getLastComponent
public String getLastComponent()
getNComponents
public int getNComponents()
getNthComponent
public String getNthComponent(int n)
getPath
public String getPath()
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
isEmpty
public boolean isEmpty()
isWild
public boolean isWild()
removeFirstComponent
public PropertyPath removeFirstComponent()
removeLastComponent
public PropertyPath removeLastComponent()
startsWith
public boolean startsWith(PropertyPath p)
toString
public String toString()
- Overrides:
toString
in class Object
http://odata4j.org