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

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

public class Sequence
extends Composite

The client-side representation of a sequence component in a request. A sequence contains blocks of activities which are processed sequentially 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
Sequence()
??????????Constructs an empty sequence.
Sequence(RequestComponent[]?components)
??????????Constructs a sequence from an array of request components.
?
Method Summary
?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

Sequence

public Sequence()
Constructs an empty sequence.


Sequence

public Sequence(RequestComponent[]?components)
Constructs a sequence from an array of request components.

Parameters:
components - Request components
Method Detail

generateXML

public 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