org.gcube.common.informationsystem.publisher.impl.registrations.states
Class RegKey

java.lang.Object
  extended by org.gcube.common.informationsystem.publisher.impl.registrations.states.RegKey

public class RegKey
extends Object

A RegKey class models the key to provide in order to retrive the related Registration object from the Registrations map


Field Summary
protected static org.gcube.common.core.utils.logging.GCUBELog logger
           
 
Constructor Summary
RegKey(org.apache.axis.message.addressing.EndpointReferenceType source, org.apache.axis.message.addressing.EndpointReferenceType sink, String... name)
           
 
Method Summary
 boolean equals(Object o)
          Used by the HashMap to compare two keys
 int hashCode()
          Used by the HashMap
 String toString()
          Returns a String representation of the Key
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

logger

protected static final org.gcube.common.core.utils.logging.GCUBELog logger
Constructor Detail

RegKey

public RegKey(org.apache.axis.message.addressing.EndpointReferenceType source,
              org.apache.axis.message.addressing.EndpointReferenceType sink,
              String... name)
Parameters:
source - the endpoint of the registration source
sink - the endpoint of the registration sink
name - the name
Method Detail

equals

public boolean equals(Object o)
Used by the HashMap to compare two keys

Overrides:
equals in class Object
Parameters:
o - the key to compater
Returns:
true if the two objects are the same Key

hashCode

public int hashCode()
Used by the HashMap

Overrides:
hashCode in class Object
Returns:
the hashcode

toString

public String toString()
Returns a String representation of the Key

Overrides:
toString in class Object
Returns:
the String representation of the key


Copyright © 2013. All Rights Reserved.