edu.indiana.dde.mylead.common
Class MyLeadProjData

java.lang.Object
  extended byedu.indiana.dde.mylead.common.MyLeadData
      extended byedu.indiana.dde.mylead.common.MyLeadCollData
          extended byedu.indiana.dde.mylead.common.MyLeadProjData

public class MyLeadProjData
extends MyLeadCollData

The MyLeadExpData class extends the MyLeadCollData class and the only differences are that experiments can be included in a project and the wrapParameters method which builds the XML fragment to be used in the OGSA-DAI perform document sets the type of the collection to PROJECT.


Constructor Summary
MyLeadProjData()
          Default constructor for a new project.
 
Method Summary
 void addExperiment(MyLeadExpData leadExperiment)
          This method allows for adding instances of MyLeadExpData to a project definition when adding the project to a myLEAD metadata catalog.
 java.lang.String wrapParameters()
          Wraps up the project parameters in a string that can then be used in an OGSA-DAI perform document to add a project to the myLEAD metadata catalog.
 
Methods inherited from class edu.indiana.dde.mylead.common.MyLeadCollData
addCollection, addFile, getDate, getType, setDate, setType
 
Methods inherited from class edu.indiana.dde.mylead.common.MyLeadData
addAttribute, getDesc, getGUID, getName, setDesc, setGUID, setName, wrapData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MyLeadProjData

public MyLeadProjData()
Default constructor for a new project.

Method Detail

addExperiment

public void addExperiment(MyLeadExpData leadExperiment)
This method allows for adding instances of MyLeadExpData to a project definition when adding the project to a myLEAD metadata catalog.

Parameters:
leadExperiment - The instance of MyLeadExpData that will be added to this project.

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 add a project to the myLEAD metadata catalog. The only difference between a project and a collection is that the project sets the leadType to "PROJECT" before calling the collection's wrapParameters method.

Overrides:
wrapParameters in class MyLeadCollData
Returns:
String containing the parameters for this project.