|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.properties.impl.config.domain.key.rtaware.UserId
public final class UserId
Identifies an particular name of the system.
Field Summary | |
---|---|
static UserId |
ANY_USER Defines the ID for any user. |
Constructor Summary | |
---|---|
UserId(String name) Default constructor. |
Method Summary | |
---|---|
int |
compareTo(UserId o) |
boolean |
equals(Object object) Returns true if the given object is semantically equal to the given object, false otherwise. |
String |
getName() Returns the name of a name. |
int |
hashCode() Returns the hash code of the object. |
String |
toString() Returns the string representation of the object. |
static UserId |
valueOf(String userString) Returns an UserId for the given userString. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final UserId ANY_USER
Constructor Detail |
---|
public UserId(String name)
name
- the name of a name.
Method Detail |
---|
@CheckForNull public String getName()
null
.
public int compareTo(UserId o)
compareTo
in interface
Comparable<UserId>
public int hashCode()
hashCode
in class
Object
public boolean equals(Object object)
true
if the given object is semantically equal to the given object,
false
otherwise.
equals
in class
Object
object
- the instance to compare to.
true
if the given object is semantically equal to the given object,
false
otherwise.
public String toString()
toString
in class
Object
public static UserId valueOf(String userString)
UserId
for the given userString.
userString
- a string describing an userId.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |