org.gcube.common.core.state
Class GCUBEWSResourceKey

java.lang.Object
  extended by org.gcube.common.core.state.GCUBEWSResourceKey
All Implemented Interfaces:
Serializable, org.globus.wsrf.ResourceKey

public class GCUBEWSResourceKey
extends Object
implements org.globus.wsrf.ResourceKey

An implementation of ResourceKey for gCube services.

Author:
Fabio Simeoni (University of Strathclyde)
See Also:
Serialized Form

Constructor Summary
GCUBEWSResourceKey(QName name, String value)
          Creates an instance with a given qualified name and value;
GCUBEWSResourceKey(org.globus.wsrf.ResourceKey key)
          Creates an instance with a given inner key.
 
Method Summary
 boolean equals(Object obj)
          
protected  org.globus.wsrf.ResourceKey getInnerKey()
          Returns the implementation of ResourceKey wrapped by the key.
 QName getName()
          
 String getValue()
          
 int hashCode()
          
 SOAPElement toSOAPElement()
          
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GCUBEWSResourceKey

public GCUBEWSResourceKey(QName name,
                          String value)
Creates an instance with a given qualified name and value;

Parameters:
name - the name.
value - the value.

GCUBEWSResourceKey

public GCUBEWSResourceKey(org.globus.wsrf.ResourceKey key)
Creates an instance with a given inner key.

Parameters:
key - the key.
Method Detail

getInnerKey

protected org.globus.wsrf.ResourceKey getInnerKey()
Returns the implementation of ResourceKey wrapped by the key.

Returns:
the inner key.

equals

public boolean equals(Object obj)

Overrides:
equals in class Object

getName

public QName getName()

Specified by:
getName in interface org.globus.wsrf.ResourceKey

getValue

public String getValue()

Specified by:
getValue in interface org.globus.wsrf.ResourceKey

hashCode

public int hashCode()

Overrides:
hashCode in class Object

toSOAPElement

public SOAPElement toSOAPElement()
                          throws org.globus.wsrf.encoding.SerializationException

Specified by:
toSOAPElement in interface org.globus.wsrf.ResourceKey
Throws:
org.globus.wsrf.encoding.SerializationException

toString

public String toString()

Overrides:
toString in class Object


Copyright © 2013. All Rights Reserved.