org.gcube.common.informationsystem.publisher.impl.registrations.states
Class RegKey
java.lang.Object
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 |
logger
protected static final org.gcube.common.core.utils.logging.GCUBELog logger
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 sourcesink - the endpoint of the registration sinkname - the name
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.