uk.org.ogsadai.client.toolkit.activity
Class Flow

java.lang.Object
  |
  +--uk.org.ogsadai.client.toolkit.activity.RequestComponent
        |
        +--uk.org.ogsadai.client.toolkit.activity.Composite
              |
              +--uk.org.ogsadai.client.toolkit.activity.Flow

public class Flow
extends Composite

The client-side representation of a flow component in a request. A flow contains blocks of activities which are processed in parallel by the service. Activities belong to a block if data flows from one to another. For example, the following activities form a block: SQLQuery -> XSLTransform -> Delivery

Author:
The OGSA-DAI Team.

Constructor Summary
Flow()
          Constructs an empty flow component.
Flow(RequestComponent[] components)
          Constructs a flow component from an array of subcomponents.
 
Method Summary
protected  java.lang.String generateXML()
          Generates the XML representing the activity.
 
Methods inherited from class uk.org.ogsadai.client.toolkit.activity.Composite
addChild, addOutputs, getChild, getSize, insertChild, removeChild, removeChild
 
Methods inherited from class uk.org.ogsadai.client.toolkit.activity.RequestComponent
getDataResourceID, getDataServiceStub, getName, setDataResourceID, setDataServiceStub
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Flow

public Flow()
Constructs an empty flow component.


Flow

public Flow(RequestComponent[] components)
Constructs a flow component from an array of subcomponents.

Parameters:
components -
Method Detail

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 RequestComponent
Returns:
the XML for the activity