|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--uk.org.ogsadai.service.resource.config.BasicActivityConfig
Basic class for storing configuration details of an activity.
| Field Summary | |
private static java.lang.String |
COPYRIGHT_NOTICE
Copyright statement |
private org.w3c.dom.Document |
mConfigDocument
|
private java.lang.String |
mDescription
|
private java.lang.String |
mImplementationClassName
|
private java.lang.String |
mName
|
private java.util.Properties |
mProperties
|
private org.w3c.dom.Document |
mSchema
|
| Constructor Summary | |
BasicActivityConfig(java.lang.String name,
java.lang.String implementationClassName,
org.w3c.dom.Document schema)
Constructs a activity configuration with a name, schema and implementation class. |
|
| Method Summary | |
org.w3c.dom.Document |
getConfigDocument()
Gets the configuration document associated with the activity. |
java.lang.String |
getDescription()
Gets a human readable description of the activity. |
java.lang.String |
getImplementationClassName()
Gets the name of the class which implements the activity. |
java.lang.String |
getName()
Gets the name of the activity. |
java.util.Properties |
getProperties()
Gets the key/value pair properties associated with the activity. |
org.w3c.dom.Document |
getSchema()
Gets the schema that defines the XML specifying the activity's parameters. |
void |
setConfigDocument(org.w3c.dom.Document configDocument)
Sets the optional configuration document associated with the activity. |
void |
setDescription(java.lang.String description)
Sets the optional desciption of the activity. |
void |
setProperties(java.util.Properties properties)
Sets the optional properties associated with the activity. |
| 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 mName
private java.lang.String mImplementationClassName
private org.w3c.dom.Document mSchema
private java.lang.String mDescription
private java.util.Properties mProperties
private org.w3c.dom.Document mConfigDocument
| Constructor Detail |
public BasicActivityConfig(java.lang.String name,
java.lang.String implementationClassName,
org.w3c.dom.Document schema)
name - Name of the activity.implementationClassName - Name of the class which implements the activity.schema - XSD schema of the activity's parameters.| Method Detail |
public void setDescription(java.lang.String description)
description - Activity description.public void setProperties(java.util.Properties properties)
properties - The activity's configuation properties.public void setConfigDocument(org.w3c.dom.Document configDocument)
configDocument - Document containing the activity's configuration.public java.lang.String getName()
getName in interface ActivityConfigpublic java.lang.String getImplementationClassName()
getImplementationClassName in interface ActivityConfigpublic org.w3c.dom.Document getSchema()
getSchema in interface ActivityConfigpublic java.lang.String getDescription()
getDescription in interface ActivityConfigpublic java.util.Properties getProperties()
getProperties in interface ActivityConfigpublic org.w3c.dom.Document getConfigDocument()
getConfigDocument in interface ActivityConfig
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||