org.odata4j.producer
Class RecursivePropertyPath

java.lang.Object
  extended by org.odata4j.producer.PropertyPath
      extended by org.odata4j.producer.RecursivePropertyPath

public class RecursivePropertyPath
extends PropertyPath

A recursive path has an associated depth limiter.

The last component of the path is a number indicating the maximum depth to recurse. 0 means do not limit the recursion.

Examples:

 Properties/0
 SubTypes/1
 


Constructor Summary
RecursivePropertyPath(PropertyPath path, int depth)
           
 
Method Summary
 boolean equals(Object obj)
           
 int getDepth()
           
 int hashCode()
           
 boolean isUnlimited()
           
 boolean isValidAtDepth(int d)
           
 
Methods inherited from class org.odata4j.producer.PropertyPath
addComponent, getFirstComponent, getLastComponent, getNComponents, getNthComponent, getPath, isEmpty, isWild, removeFirstComponent, removeLastComponent, startsWith, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RecursivePropertyPath

public RecursivePropertyPath(PropertyPath path,
                             int depth)
Method Detail

equals

public boolean equals(Object obj)
Overrides:
equals in class PropertyPath

getDepth

public int getDepth()

hashCode

public int hashCode()
Overrides:
hashCode in class PropertyPath

isUnlimited

public boolean isUnlimited()

isValidAtDepth

public boolean isValidAtDepth(int d)


http://odata4j.org