uk.org.ogsadai.client.toolkit.activity.xmldb
Class XMLRemoveCollection

java.lang.Object
  |
  +--uk.org.ogsadai.client.toolkit.activity.RequestComponent
        |
        +--uk.org.ogsadai.client.toolkit.activity.Activity
              |
              +--uk.org.ogsadai.client.toolkit.activity.xmldb.XMLRemoveCollection

public class XMLRemoveCollection
extends Activity

This activity removes a collection from an XML database collection.

It has no input and one output. The format of the output is OGSA-DAI specific XML. For example: <removedCollection name="someCollection"/>

Author:
The OGSA-DAI Project Team

Constructor Summary
XMLRemoveCollection()
          Constructs a request to remove a collection.
XMLRemoveCollection(java.lang.String collectionName)
          Constructs a request to remove a collection.
 
Method Summary
protected  java.lang.String generateXML()
          Generates the XML representing the activity.
 ActivityOutput getOutput()
          Gets the activity's only output.
 void setCollectionName(java.lang.String collectionName)
          Set the collection name.
 void setParentCollectionName(java.lang.String parentCollectionName)
          Set the parent collection name.
 
Methods inherited from class uk.org.ogsadai.client.toolkit.activity.Activity
addInput, addOutput, addOutputs, getDataResourceID, getDataServiceStub, getInputParameters, getOutputParameters, getOutputs, replaceSpecialCharacters, setDataResourceID, setDataServiceStub, setInput
 
Methods inherited from class uk.org.ogsadai.client.toolkit.activity.RequestComponent
getName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLRemoveCollection

public XMLRemoveCollection()
Constructs a request to remove a collection.


XMLRemoveCollection

public XMLRemoveCollection(java.lang.String collectionName)
Constructs a request to remove a collection.

Parameters:
collectionName -
Method Detail

setCollectionName

public void setCollectionName(java.lang.String collectionName)
Set the collection name.

Parameters:
collectionName -

setParentCollectionName

public void setParentCollectionName(java.lang.String parentCollectionName)
Set the parent collection name.

Parameters:
parentCollectionName -

getOutput

public ActivityOutput getOutput()
Gets the activity's only output.

Returns:
the activity output.

generateXML

protected java.lang.String generateXML()
Description copied from class: RequestComponent
Generates the XML representing the activity. This XML can then be inserted into a perform document that is sent to a data service.

Specified by:
generateXML in class Activity
Returns:
the XML for the activity