| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.metamatrix.platform.security.api.MetaMatrixSessionID
public final class MetaMatrixSessionID
This immutable class represents an identifier for a unique MetaMatrix session within a given MetaMatrix System. This object will be returned to the Client when login to the MetaMatrix Server
| Field Summary | |
|---|---|
| static long | serialVersionUID | 
| Constructor Summary | |
|---|---|
| MetaMatrixSessionID() | |
| MetaMatrixSessionID(long id)Used to create a deterministic id, mostly called by tests | |
| MetaMatrixSessionID(java.lang.String id)Converts the given string into a session id. | |
| Method Summary | |
|---|---|
|  int | compareTo(MetaMatrixSessionID obj)Compares this object to another. | 
|  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 | 
| Field Detail | 
|---|
public static final long serialVersionUID
| Constructor Detail | 
|---|
public MetaMatrixSessionID(long id)
public MetaMatrixSessionID()
public MetaMatrixSessionID(java.lang.String id)
id - 
java.lang.IllegalArgumentException - if id is not valid| Method Detail | 
|---|
public int compareTo(MetaMatrixSessionID obj)
 Note: this method is  consistent with equals(), meaning that
 (compare(x, y)==0) == (x.equals(y)).
 
compareTo in interface java.lang.Comparable<MetaMatrixSessionID>obj - the object that this instance is to be compared to.
java.lang.NullPointerException - if the specified object reference is null
java.lang.ClassCastException - if the specified object's type prevents it from being compared to this instance.public boolean equals(java.lang.Object obj)
compareTo().
equals in class java.lang.Objectobj - the object that this instance is to be compared to.
public final int hashCode()
hashCode in class java.lang.Objectpublic final java.lang.String toString()
toString in class java.lang.Object| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||