org.odata4j.producer
Class PropertyPath

java.lang.Object
  extended by org.odata4j.producer.PropertyPath
Direct Known Subclasses:
RecursivePropertyPath

public class PropertyPath
extends Object

A path in an object graph made up of property names.


Constructor Summary
PropertyPath(PropertyPath path)
           
PropertyPath(String path)
           
 
Method Summary
 PropertyPath addComponent(String component)
           
 boolean equals(Object rhso)
           
 String getFirstComponent()
           
 String getLastComponent()
           
 int getNComponents()
           
 String getNthComponent(int n)
           
 String getPath()
           
 int hashCode()
           
 boolean isEmpty()
           
 boolean isWild()
           
 PropertyPath removeFirstComponent()
           
 PropertyPath removeLastComponent()
           
 boolean startsWith(PropertyPath p)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PropertyPath

public PropertyPath(PropertyPath path)

PropertyPath

public PropertyPath(String path)
Method Detail

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