com.metamatrix.platform.security.api
Class MetaMatrixSessionID
java.lang.Object
com.metamatrix.platform.security.api.MetaMatrixSessionID
- All Implemented Interfaces:
- java.io.Serializable
public final class MetaMatrixSessionID
- extends java.lang.Object
- implements java.io.Serializable
This immutable class represents an identifier for a unique session.
- See Also:
- Serialized Form
Method Summary |
boolean |
equals(java.lang.Object obj)
Returns true if the specified object is semantically equal to this instance. |
int |
hashCode()
Returns the hash code value for this object. |
java.lang.String |
toString()
Returns a string representing the current state of the object. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
MetaMatrixSessionID
public MetaMatrixSessionID(long id)
equals
public boolean equals(java.lang.Object obj)
- Returns true if the specified object is semantically equal to this instance. Note: this method is consistent with
compareTo()
.
- Overrides:
equals
in class java.lang.Object
- Parameters:
obj
- the object that this instance is to be compared to.
- Returns:
- whether the object is equal to this object.
hashCode
public final int hashCode()
- Returns the hash code value for this object.
- Overrides:
hashCode
in class java.lang.Object
- Returns:
- a hash code value for this object.
toString
public final java.lang.String toString()
- Returns a string representing the current state of the object.
- Overrides:
toString
in class java.lang.Object
- Returns:
- the string representation of this instance.
Copyright © 2009. All Rights Reserved.