|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object snifos.common.UserId
This class represents id of a user in SNIFOS system.
Constructor Summary | |
UserId(int commModuleId,
int userIdInModule)
Creates new instance of UserId class. |
Method Summary | |
boolean |
equals(UserId that)
Checks equality of two user ids. |
int |
getCommModuleId()
Getter for commModuleId field. |
java.lang.String |
getUserId()
Returns string representation of this UserId instance. |
int |
getUserIdInModule()
Getter for userIdInModule field. |
int |
hashCode()
Returns user id hashcode. |
java.lang.String |
toString()
Returns string representation of this UserId instance. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public UserId(int commModuleId, int userIdInModule)
commModuleId
- Communication module to which user is connected.userIdInModule
- User id unique for the communication module
to which user is connected.Method Detail |
public boolean equals(UserId that)
that
- UserId to compare.
Object.equals(java.lang.Object)
public int hashCode()
public java.lang.String toString()
public int getCommModuleId()
UserId(int, int)
public java.lang.String getUserId()
public int getUserIdInModule()
UserId(int, int)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |