|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.shephertz.app42.paas.sdk.jme.App42Response
com.shephertz.app42.paas.sdk.jme.user.User
public class User
This User object is the value object which contains the properties of User along with the setter & getter for those properties.
Nested Class Summary | |
---|---|
class |
User.Profile
An inner class that contains the remaining properties of the User. |
static class |
User.UserGender
This class contains the User Gender either MALE or FEMALE. |
Field Summary | |
---|---|
java.lang.Boolean |
accountLocked
|
java.lang.String |
email
|
java.lang.String |
password
|
java.util.Vector |
roleList
|
java.lang.String |
userName
|
Constructor Summary | |
---|---|
User()
|
Method Summary | |
---|---|
java.lang.String |
getEmail()
Returns the email of the User. |
java.lang.String |
getPassword()
Returns the password of the User. |
User.Profile |
getProfile()
Returns the User.Profile object for the User. |
java.util.Vector |
getRoleList()
Returns the roles assigned to the User |
java.lang.String |
getUserName()
Returns the name of the User. |
java.lang.Boolean |
isAccountLocked()
Returns the User's account status. |
void |
setAccountLocked(java.lang.Boolean accountLocked)
Sets the value of account to either true or false. |
void |
setEmail(java.lang.String email)
Sets the Email of the User. |
void |
setPassword(java.lang.String password)
Sets the password for the User. |
void |
setProfile(User.Profile profile)
Sets the User. |
void |
setRoleList(java.util.Vector roleList)
Assigns the list of roles to the User |
void |
setUserName(java.lang.String userName)
Sets the name of the User. |
java.lang.String |
toString()
Returns the User Response in JSON format. |
Methods inherited from class com.shephertz.app42.paas.sdk.jme.App42Response |
---|
getStrResponse, getTotalRecords, isResponseSuccess, setResponseSuccess, setStrResponse, setTotalRecords |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public java.lang.Boolean accountLocked
public java.lang.String email
public java.lang.String password
public java.util.Vector roleList
public java.lang.String userName
Constructor Detail |
---|
public User()
Method Detail |
---|
public java.lang.String getEmail()
public java.lang.String getPassword()
public User.Profile getProfile()
public java.util.Vector getRoleList()
public java.lang.String getUserName()
public java.lang.Boolean isAccountLocked()
public void setAccountLocked(java.lang.Boolean accountLocked)
accountLocked
- - true or falsepublic void setEmail(java.lang.String email)
email
- - Email of the Userpublic void setPassword(java.lang.String password)
password
- - Password for the Userpublic void setProfile(User.Profile profile)
profile
- - Profile of the Userpublic void setRoleList(java.util.Vector roleList)
roleList
- - List of roles to be assigned to Userpublic void setUserName(java.lang.String userName)
userName
- - Name of the Userpublic java.lang.String toString()
toString
in class App42Response
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |