edu.indiana.dde.mylead.common
Class MyLeadParentChildFilterSet

java.lang.Object
  extended by edu.indiana.dde.mylead.common.MyLeadParentChildFilterSet

public class MyLeadParentChildFilterSet
extends java.lang.Object

This class is used to hold the criteria for a heirarchy filter set in a myLEAD query.


Constructor Summary
MyLeadParentChildFilterSet(boolean parents, boolean children)
           
 
Method Summary
 void excludeChild(int childType)
           
 void excludeParent(int parentType)
           
 void setChildLimit(int distLimit)
           
 void setParentLimit(int distLimit)
           
 java.lang.String wrapFilter()
          This routine wraps up this hierarchy filter set and returns a string that can then be used in a myLEAD query definition to create an OGSA-DAI perform document for the query.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MyLeadParentChildFilterSet

public MyLeadParentChildFilterSet(boolean parents,
                                  boolean children)
Method Detail

setParentLimit

public void setParentLimit(int distLimit)

setChildLimit

public void setChildLimit(int distLimit)

excludeParent

public void excludeParent(int parentType)

excludeChild

public void excludeChild(int childType)

wrapFilter

public java.lang.String wrapFilter()
This routine wraps up this hierarchy filter set and returns a string that can then be used in a myLEAD query definition to create an OGSA-DAI perform document for the query.

Returns:
String that wraps the filter in an XML fragment