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.

Field Summary
private static java.lang.String COPYRIGHT_NOTICE
          Copyright statement
 
Fields inherited from class uk.org.ogsadai.client.toolkit.activity.Composite
 
Fields inherited from class uk.org.ogsadai.client.toolkit.activity.RequestComponent
 
Constructor Summary
Flow()
          Constructs an empty flow component.
Flow(RequestComponent[] components)
          Constructs a flow component from an array of request components.
 
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, getDataService, getName, getSession, setDataResourceID, setDataService, setSession
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COPYRIGHT_NOTICE

private static final java.lang.String COPYRIGHT_NOTICE
Copyright statement

See Also:
Constant Field Values
Constructor Detail

Flow

public Flow()
Constructs an empty flow component.


Flow

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

Parameters:
components - Request 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