|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A unique user of the system.
User object have reference semantics. Each User object represents a unique user of the system.
Method Summary | |
void |
addDartsSet(DartsSet dartsSet)
Adds a DartsSet to the collection owned by the user. |
boolean |
checkPassword(java.lang.String pw)
Check the password for the user. |
DartsSet |
getDartsSet(int index)
Returns the DartsSet at the given index. |
java.util.Vector |
getDartsSets()
Returns the collection of darts sets owned by the user. |
java.lang.String |
getPassword()
Get the password of the user, probably in an incrypted form. |
java.lang.String |
getUserId()
Return the user id (which is unique) of this user. |
java.lang.String |
getUserName()
Returns the username of this user. |
boolean |
isFemale()
Returns true when this user is female, false otherwise (for males). |
boolean |
isLeftHanded()
Is this a left handed user? |
void |
setPassword(java.lang.String pw)
Set the password of the user. |
void |
setUserName(java.lang.String name)
Set the username of this user. |
Methods inherited from interface org.dartra.framework.Persistent |
getId, setId |
Method Detail |
public java.lang.String getUserId()
Return the user id (which is unique) of this user.
public void setUserName(java.lang.String name)
Set the username of this user.
public java.lang.String getUserName()
Returns the username of this user.
public void setPassword(java.lang.String pw)
Set the password of the user.
public java.lang.String getPassword()
Get the password of the user, probably in an incrypted form.
public boolean checkPassword(java.lang.String pw)
Check the password for the user.
public void addDartsSet(DartsSet dartsSet)
Adds a DartsSet to the collection owned by the user.
public DartsSet getDartsSet(int index)
Returns the DartsSet at the given index.
public java.util.Vector getDartsSets()
Returns the collection of darts sets owned by the user. The resulting collection contains DartsSet objects.
public boolean isFemale()
Returns true when this user is female, false otherwise (for males).
public boolean isLeftHanded()
Is this a left handed user?
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |