edu.indiana.dde.mylead.common
Class MyLeadProject

java.lang.Object
  extended by edu.indiana.dde.mylead.common.MyLeadQuery
      extended by edu.indiana.dde.mylead.common.MyLeadProject

public class MyLeadProject
extends MyLeadQuery

The MyLeadProject class extends the MyLeadQuery class and the only difference is that in the wrapParameters method that builds the XML fragment used in the perform document there is a call to set the collection's type to PROJECT.


Constructor Summary
MyLeadProject()
          Default constructor for a new investigation which only calls the constructor of the MyLeadQuery class that it extends.
 
Method Summary
 java.lang.String wrapParameters()
          Wraps up the project parameters in a String that can then be used in an OGSA-DAI perform document to query the myLEAD metadata catalog.
 
Methods inherited from class edu.indiana.dde.mylead.common.MyLeadQuery
addAttribute, addCreator, addGuid, creatorSearchRng, getEndCreateRng, getStartCreateRng, setEndCreateRng, setStartCreateRng, wrapCreator, wrapQuery, wrapStrList
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MyLeadProject

public MyLeadProject()
Default constructor for a new investigation which only calls the constructor of the MyLeadQuery class that it extends.

Method Detail

wrapParameters

public java.lang.String wrapParameters()
Wraps up the project parameters in a String that can then be used in an OGSA-DAI perform document to query the myLEAD metadata catalog. The project is a LeadQueryComponentType in the leadActivity schema, but most of the wrapping of parameters for the query is done in the wrapQuery method of the abstract MyLeadQuery class that this class extends.

Overrides:
wrapParameters in class MyLeadQuery
Returns:
String containing the parameters for this project that will be contained in the OGSA-DAI perform document used to query a myLEAD catalog.
See Also:
MyLeadQuery