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

java.lang.Object
  |
  +--uk.org.ogsadai.client.toolkit.activity.ActivityOutputParameterImpl
All Implemented Interfaces:
ActivityOutputParameter, ActivityOutputParameterInternal

public class ActivityOutputParameterImpl
extends java.lang.Object
implements ActivityOutputParameterInternal, ActivityOutputParameter

Represents details of an activity output parameter.

Each activity can have a number of inputs and outputs. Outputs can be connected to the inputs of other activities.

Implements both the internally and externally visible interfaces to an activity output parameter. The internal view includes various setter methods that are excluded from the external view.

Author:
The OGSA-DAI Project Team

Field Summary
private static java.lang.String COPYRIGHT_NOTICE
          Copyright statement
private  java.lang.String mName
          Activity output parameter name
private  ActivityOutput mOutput
          Activity output
 
Constructor Summary
(package private) ActivityOutputParameterImpl(java.lang.String parameterName)
          Constructs an activity output parameter with the specified name.
 
Method Summary
 java.lang.String getName()
          Gets the name of the output parameter.
 ActivityOutput getOutput()
          Gets the activity output associated with this output parameter.
 java.lang.String toString()
          Returns a brief description of this activity output parameter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

COPYRIGHT_NOTICE

private static final java.lang.String COPYRIGHT_NOTICE
Copyright statement

See Also:
Constant Field Values

mName

private java.lang.String mName
Activity output parameter name


mOutput

private ActivityOutput mOutput
Activity output

Constructor Detail

ActivityOutputParameterImpl

ActivityOutputParameterImpl(java.lang.String parameterName)
Constructs an activity output parameter with the specified name. Also constructs the corresponding activity output.

Parameters:
parameterName - Name of activity output parameter - purely a label that can be used when listing the output parameters.
Method Detail

getName

public java.lang.String getName()
Description copied from interface: ActivityOutputParameter
Gets the name of the output parameter.

This name has no real internal purpose. It is intended purely as a label that can be attached to the output if the outputs are to be displayed to the user.

Specified by:
getName in interface ActivityOutputParameter
Returns:
the output parameter name.

getOutput

public ActivityOutput getOutput()
Description copied from interface: ActivityOutputParameter
Gets the activity output associated with this output parameter.

Specified by:
getOutput in interface ActivityOutputParameter
Returns:
activity output associated with this output parameter.

toString

public java.lang.String toString()
Description copied from interface: ActivityOutputParameter
Returns a brief description of this activity output parameter. The exact details are subject to change but at present the format is:
[ActivityOutputParameter: name = 'resultSet' output = 'f6373a5f']

Specified by:
toString in interface ActivityOutputParameter
Overrides:
toString in class java.lang.Object
Returns:
brief description of this activity output parameter.