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

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

public class DataServiceInfo
extends java.lang.Object

Client-side class that provides information about the data services.

Author:
The OGSA-DAI Project Team

Field Summary
private static java.lang.String COPYRIGHT_NOTICE
          Copyright statement
static java.lang.String DATA_SERVICE
          Constant describing the data service resource's name used when creating the element with info about it.
static java.lang.String DESCRIPTION
          Constant giving a description about the data service resource used when creating the element with info about it.
private  java.lang.String mDescription
          description of one of the data service resources
private  java.lang.String mLastResponse
          the last response given to one of the data service resources
static java.lang.String RESPONSE
          Constant describing the data service resource's last response used when creating the element with info about it.
 
Constructor Summary
DataServiceInfo()
           
 
Method Summary
 java.lang.String getDescription()
           
static DataServiceInfo[] getInfoForServices(Property property)
          Creates a DataServicesInfo object from a Property which contains the data services information in XML So far, the info mainly for checking status of data services at the last activity.
 java.lang.String getLastResponse()
           
private  void setDescription(java.lang.String description)
           
private  void setLastResponse(java.lang.String lastResponse)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COPYRIGHT_NOTICE

private static final java.lang.String COPYRIGHT_NOTICE
Copyright statement

See Also:
Constant Field Values

mDescription

private java.lang.String mDescription
description of one of the data service resources


mLastResponse

private java.lang.String mLastResponse
the last response given to one of the data service resources


DATA_SERVICE

public static final java.lang.String DATA_SERVICE
Constant describing the data service resource's name used when creating the element with info about it.

See Also:
Constant Field Values

DESCRIPTION

public static final java.lang.String DESCRIPTION
Constant giving a description about the data service resource used when creating the element with info about it.

See Also:
Constant Field Values

RESPONSE

public static final java.lang.String RESPONSE
Constant describing the data service resource's last response used when creating the element with info about it.

See Also:
Constant Field Values
Constructor Detail

DataServiceInfo

public DataServiceInfo()
Method Detail

getInfoForServices

public static DataServiceInfo[] getInfoForServices(Property property)
Creates a DataServicesInfo object from a Property which contains the data services information in XML So far, the info mainly for checking status of data services at the last activity.

Parameters:
property -
Returns:
data services information

getDescription

public java.lang.String getDescription()
Returns:
Returns the mDescription.

getLastResponse

public java.lang.String getLastResponse()
Returns:
Returns the mLastResponse.

setDescription

private void setDescription(java.lang.String description)
Parameters:
description - The mDescription to set.

setLastResponse

private void setLastResponse(java.lang.String lastResponse)
Parameters:
lastResponse - The mLastResponse to set.