uk.org.ogsadai.client.toolkit.properties
Class DataResourceInfo

java.lang.Object
  |
  +--uk.org.ogsadai.client.toolkit.properties.DataResourceInfo

public class DataResourceInfo
extends java.lang.Object

Author:
The OGSA-DAI Team. Data Resource information including name, vendor and version.

Method Summary
static DataResourceInfo createFromProperty(Property property)
          Creates a DataResourceInfo object from a Property which contains the data resource information in XML
 java.lang.String getName()
          Obtain the name of the data resource.
 java.lang.String getVendor()
          Obtain the vendor of the data resource
 java.lang.String getVersion()
          Version of the data resource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getName

public java.lang.String getName()
Obtain the name of the data resource.

Returns:
name

getVendor

public java.lang.String getVendor()
Obtain the vendor of the data resource

Returns:
vendor

getVersion

public java.lang.String getVersion()
Version of the data resource

Returns:
version

createFromProperty

public static DataResourceInfo createFromProperty(Property property)
Creates a DataResourceInfo object from a Property which contains the data resource information in XML

Parameters:
property -
Returns:
data resource information