org.glite.discovery
Class ServiceData

java.lang.Object
  extended byorg.glite.discovery.ServiceData

public class ServiceData
extends java.lang.Object

A key/value pair describing a Service.


Constructor Summary
ServiceData(java.lang.String key, java.lang.String value)
          Creates a ServiceData object with the given key and value.
 
Method Summary
 java.lang.String getKey()
          Gets the parameter name.
 java.lang.String getValue()
          Gets the parameter value.
 java.lang.String toString()
          Returns a string representation of this ServiceData object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServiceData

public ServiceData(java.lang.String key,
                   java.lang.String value)
Creates a ServiceData object with the given key and value.

Parameters:
key - Key name.
value - Key value.
Method Detail

toString

public java.lang.String toString()
Returns a string representation of this ServiceData object.

Returns:
A String.

getKey

public java.lang.String getKey()
Gets the parameter name.

Returns:
The parameter name.

getValue

public java.lang.String getValue()
Gets the parameter value.

Returns:
The parameter value.