|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--uk.org.ogsadai.client.toolkit.properties.ActivityMetaData
Description of an activity supported by a data service resource.
Field Summary | |
private static java.lang.String |
COPYRIGHT_NOTICE
Copyright statement |
private java.lang.String |
mDescription
Activity description |
private java.lang.String |
mName
Activity name |
Constructor Summary | |
private |
ActivityMetaData(org.w3c.dom.Element element)
Creates an ActivityMetaData object from an
org.w3c.dom.Element XML fragment. |
Method Summary | |
static ActivityMetaData[] |
createFromProperty(Property property)
Creates an array of ActivityMetaData objects from a
property holding a value representing activity meta data. |
java.lang.String |
getDescription()
Gets the description of the activity |
java.lang.String |
getName()
Gets the name of the activity |
java.lang.String |
toString()
Gets a string representation of the object. |
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 mDescription
Constructor Detail |
private ActivityMetaData(org.w3c.dom.Element element)
ActivityMetaData
object from an
org.w3c.dom.Element
XML fragment.
The property's getValue
method is assumed to
return an org.w3c.dom.Element
representing the
request status as provided by a data service resource.
element
- XML fragment holding activity meta data.Method Detail |
public java.lang.String getName()
public java.lang.String getDescription()
public java.lang.String toString()
toString
in class java.lang.Object
[ActivityMetaData:NAME]
public static ActivityMetaData[] createFromProperty(Property property) throws DataFormatException
ActivityMetaData
objects from a
property holding a value representing activity meta data.
The property's getValue
method is assumed to
return an org.w3c.dom.Element
representing the
activity meta data as provided by a data service resource.
property
- Property holding activity meta data from data service
resource.
ActivityMetaData
corresponding to the activity meta data in the property.
DataFormatException
- If the value of the property cannot be parsed into
activity meta data.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |