|
|||||||||||
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.DataResourceInfo
Information on a data resource exposed by a data service resource.
Field Summary | |
private static java.lang.String |
COPYRIGHT_NOTICE
Copyright statement |
private java.lang.String |
mName
Data resource product name |
private java.lang.String |
mVendor
Data resource product vendor |
private java.lang.String |
mVersion
Data resource product version |
Constructor Summary | |
private |
DataResourceInfo(java.lang.String name,
java.lang.String vendor,
java.lang.String version)
Create new object with given values. |
Method Summary | |
static DataResourceInfo |
createFromProperty(Property property)
Creates a DataResourceInfo object from a
property holding a value representing this information. |
java.lang.String |
getName()
Gets the data resource name |
java.lang.String |
getVendor()
Gets the data resource vendor |
java.lang.String |
getVersion()
Gets the data resource version |
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 mVendor
private java.lang.String mVersion
Constructor Detail |
private DataResourceInfo(java.lang.String name, java.lang.String vendor, java.lang.String version)
name
- Product namevendor
- Product vendorversion
- Product versionMethod Detail |
public java.lang.String getName()
public java.lang.String getVendor()
public java.lang.String getVersion()
public static DataResourceInfo createFromProperty(Property property) throws DataFormatException
DataResourceInfo
object from a
property holding a value representing this information.
The property's getValue
method is assumed to
return an org.w3c.dom.Element
representing the
data resource information as provided by a data service resource.
property
- Property holding data resource information from data service
resource.
DataResourceInfo
corresponding to the information in the property.
DataFormatException
- If the value of the property cannot be parsed into
data resource information.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |