|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--uk.org.ogsadai.client.toolkit.activity.RequestComponent
Superclass for components of a request.
| Constructor Summary | |
RequestComponent()
|
|
| Method Summary | |
protected abstract void |
addOutputs(java.util.Map allOutputs)
Adds the outputs of this component to the given hash map. |
protected abstract java.lang.String |
generateXML()
Generates the XML representing the activity. |
protected ResourceID |
getDataResourceID()
Returns the resource ID of the data service resource executing this activity, or null if there is no associated resource. |
protected Stub |
getDataServiceStub()
Returns the DataService object executing this
activity, or null if there is no associated service. |
java.lang.String |
getName()
Gets the activity name. |
protected void |
setDataResourceID(ResourceID id)
Sets the ResourceID object which this activity is
being executed with. |
protected void |
setDataServiceStub(Stub stub)
Sets the DataService object which this activity is
being executed with. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public RequestComponent()
| Method Detail |
public java.lang.String getName()
protected ResourceID getDataResourceID()
null if there is no associated resource.
This method may be called by activities which need to know
the service object.
protected void setDataResourceID(ResourceID id)
ResourceID object which this activity is
being executed with. If there is exactly one resource then this
method need not be called, and the ResourceID object
will be null.
id - the resource IDprotected Stub getDataServiceStub()
DataService object executing this
activity, or null if there is no associated service.
This method may be called by activities which need to know
the service object.
DataService objectprotected void setDataServiceStub(Stub stub)
DataService object which this activity is
being executed with. If there is no service (i.e. the Activity Engine
is executing in a stand-alone environment) then this method need not
be called, and the DataService object will be null.
stub - the service objectprotected abstract java.lang.String generateXML()
protected abstract void addOutputs(java.util.Map allOutputs)
allOutputs -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||