org.globus.wsrf
Interface ResourceKey

All Known Implementing Classes:
SimpleResourceKey

public interface ResourceKey

A basic representation of a resource key. A resource key is composed of name and the actual resource key value.


Method Summary
 QName getName()
          The name of the key.
 Object getValue()
          The actual key value.
 SOAPElement toSOAPElement()
          Converts the resource key into a SOAPElement.
 

Method Detail

getValue

public Object getValue()
The actual key value.
Returns:
the key value. Cannot be null.

getName

public QName getName()
The name of the key.
Returns:
the name of the key. Cannot be null.

toSOAPElement

public SOAPElement toSOAPElement()
                          throws Exception
Converts the resource key into a SOAPElement. The element name and namespace must match the name of the key.
Returns:
the resource key as a SOAPElement
Throws:
Exception - in case the conversion fails.


Copyright © 1999-2003 University of Chicago and The University of Southern California. All rights reserved.