|
|||||||||||
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.ActivityOutput
Client-side representation of activity output.
Provides a means of connecting activities in a request and also of accessing the data output by an activity when the request is executed by a service.
Field Summary | |
private static java.lang.String |
COPYRIGHT_NOTICE Copyright statement |
private java.lang.String |
mData Output data as obtained from response document. |
private java.lang.String |
mName Unique name of the output. |
protected boolean |
mProcessed Indicates whether data has been processed into this output. |
Constructor Summary | |
ActivityOutput() Constructs an activity output with a unique name. |
Method Summary | |
java.lang.String |
getData() Gets the output data as a string. |
java.lang.String |
getName() Gets the unique name of this activity output. |
boolean |
hasData() Gets whether data is available for this output. |
(package private) void |
setData(java.lang.String data) Sets the output data that will be available from the getData method. |
java.lang.String |
toString() Returns a brief description of this activity output. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final java.lang.String COPYRIGHT_NOTICE
private java.lang.String mName
private java.lang.String mData
protected boolean mProcessed
Constructor Detail |
public ActivityOutput()
Method Detail |
public java.lang.String getName()
public boolean hasData()
true
if data is available, false
otherwise.public java.lang.String getData() throws NoActivityOutputException
NoActivityOutputException
- if there is no output data or the data has not yet been processed to this output or the activity that generates this output has not yet been executed.public java.lang.String toString()
"[ActivityOutput: name=f83af69893 data chars=124 ]"
Overrides:
toString
in class java.lang.Object
void setData(java.lang.String data)
getData
method.
data
- Output data as contained in a response document from a service.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |