|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectuserManager.user.User
public class User
The User class will provide methods to access user's data. The user is built based on it's security level as well as settings and preferences.
Constructor Summary | |
---|---|
User()
CONSTRUCTOR - will construct the user object. |
Method Summary | |
---|---|
String |
getFirstName()
This method will return the first Name of this User object |
int |
getId()
This method will return unique system id of the user. |
String |
getLastName()
This method will return the Last Name of this User object |
String |
getUserName()
This method will return the username of this User object |
void |
setFirstName(String firstName)
This method will set the first name of this User object |
void |
setLastName(String lastName)
This method will set the last name of this User object |
void |
setUsername(String username)
This method will set the username of the user. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public User()
Method Detail |
---|
public void setUsername(String username)
username
- user's usernamepublic void setFirstName(String firstName)
public void setLastName(String lastName)
public int getId()
getId
in interface UserInterface
public String getUserName()
getUserName
in interface UserInterface
public String getFirstName()
getFirstName
in interface UserInterface
public String getLastName()
getLastName
in interface UserInterface
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |