|
|||||||||||
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 | +--uk.org.ogsadai.client.toolkit.activity.Activity | +--uk.org.ogsadai.client.toolkit.activity.relational.ExtractPhysicalSchema
This activity supports the extraction of physical database schema-related information from a relational data service resource. This can either be for all tables or for a specific table only. The default is for all tables.
The activity has no inputs and one output - the requested information.
Field Summary | |
private static java.lang.String |
COPYRIGHT_NOTICE
Copyright statement |
private java.lang.String |
mTableName
Table name - default null |
Fields inherited from class uk.org.ogsadai.client.toolkit.activity.Activity |
|
Fields inherited from class uk.org.ogsadai.client.toolkit.activity.RequestComponent |
|
Constructor Summary | |
ExtractPhysicalSchema()
Constructor. |
Method Summary | |
protected java.lang.String |
generateXML()
Generates the XML representing the activity. |
org.w3c.dom.Document |
getAsDocument()
Gets the sum of the values written to the input stream. |
ActivityOutput |
getOutput()
Gets the activity's only output - the requested physical database schema information. |
void |
setTableName(java.lang.String tableName)
Set the table name for which to retrieve the physical schema. |
Methods inherited from class uk.org.ogsadai.client.toolkit.activity.Activity |
addInput, addOutput, addOutputs, getDataResourceID, getInputParameters, getOutputParameters, getOutputs, replaceSpecialCharacters, setDataResourceID, setInput |
Methods inherited from class uk.org.ogsadai.client.toolkit.activity.RequestComponent |
getDataService, getName, getSession, setDataService, setSession |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final java.lang.String COPYRIGHT_NOTICE
private java.lang.String mTableName
null
Constructor Detail |
public ExtractPhysicalSchema()
Method Detail |
public void setTableName(java.lang.String tableName)
tableName
- Name of the table. If null
then the schema
for all the tables will be returned.public ActivityOutput getOutput()
public org.w3c.dom.Document getAsDocument() throws NoActivityOutputException, DataFormatException
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.
DataFormatException
- if the output from the activity cannot be parsed into an
XML document format.protected java.lang.String generateXML()
RequestComponent
generateXML
in class Activity
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |