com.sas.drugdev.remote.repository
Class ContainerDepth

java.lang.Object
  extended by com.sas.drugdev.remote.repository.ContainerDepth

public class ContainerDepth
extends java.lang.Object

Simple class to obtain the container depth.


Field Summary
static ContainerDepth DEPTH_INFINITE
          Current container and all subfolders all the way down the tree
static ContainerDepth DEPTH_ONE
          Current container and all direct children
static ContainerDepth DEPTH_ZERO
          Current container only
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 int getDepth()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DEPTH_ZERO

public static final ContainerDepth DEPTH_ZERO
Current container only


DEPTH_ONE

public static final ContainerDepth DEPTH_ONE
Current container and all direct children


DEPTH_INFINITE

public static final ContainerDepth DEPTH_INFINITE
Current container and all subfolders all the way down the tree

Method Detail

getDepth

public int getDepth()

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object