|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.appfuse.model.BaseObject
org.appfuse.model.User
User class This class is used to generate the Struts Validator Form as well as the Hibernate mapping files.
| Field Summary | |
protected String |
address
|
protected String |
city
|
protected String |
confirmPassword
|
protected String |
country
|
protected String |
email
|
protected String |
firstName
|
protected Long |
id
|
protected String |
lastName
|
protected String |
password
|
protected String |
passwordHint
|
protected String |
phoneNumber
|
protected String |
postalCode
|
protected String |
province
|
protected List |
roles
|
protected String |
username
|
protected String |
website
|
| Constructor Summary | |
User()
|
|
| Method Summary | |
void |
addRole(String rolename)
Adds a role for the user |
String |
getAddress()
Returns the address. |
String |
getCity()
Returns the city. |
String |
getConfirmPassword()
Returns the confirmedPassword. |
String |
getCountry()
Returns the country. |
String |
getEmail()
Returns the email. |
String |
getFirstName()
Returns the firstName. |
Long |
getId()
Returns the id. |
String |
getLastName()
Returns the lastName. |
String |
getPassword()
Returns the password. |
String |
getPasswordHint()
Returns the passwordHint. |
String |
getPhoneNumber()
Returns the phoneNumber. |
String |
getPostalCode()
Returns the postalCode. |
String |
getProvince()
Returns the province. |
List |
getRoles()
Returns the user's roles. |
String |
getUsername()
Returns the username. |
String |
getWebsite()
Returns the website. |
void |
setAddress(String address)
Sets the address. |
void |
setCity(String city)
Sets the city. |
void |
setConfirmPassword(String confirmPassword)
Sets the confirmedPassword. |
void |
setCountry(String country)
Sets the country. |
void |
setEmail(String email)
Sets the email. |
void |
setFirstName(String firstName)
Sets the firstName. |
void |
setId(Long id)
Sets the id. |
void |
setLastName(String lastName)
Sets the lastName. |
void |
setPassword(String password)
Sets the password. |
void |
setPasswordHint(String passwordHint)
|
void |
setPhoneNumber(String phoneNumber)
Sets the phoneNumber. |
void |
setPostalCode(String postalCode)
Sets the postalCode. |
void |
setProvince(String province)
Sets the province. |
void |
setRoles(List roles)
Sets the roles. |
void |
setUsername(String username)
Sets the username. |
void |
setWebsite(String website)
Sets the website. |
| Methods inherited from class org.appfuse.model.BaseObject |
equals, hashCode, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected Long id
protected String username
protected String password
protected String confirmPassword
protected String firstName
protected String lastName
protected String address
protected String city
protected String province
protected String country
protected String postalCode
protected String phoneNumber
protected String email
protected String website
protected String passwordHint
protected List roles
| Constructor Detail |
public User()
| Method Detail |
public Long getId()
public String getUsername()
public String getPassword()
public String getConfirmPassword()
public String getFirstName()
public String getLastName()
public String getAddress()
public String getCity()
public String getCountry()
public String getEmail()
public String getPhoneNumber()
public String getPostalCode()
public String getProvince()
public String getWebsite()
public String getPasswordHint()
public List getRoles()
public void addRole(String rolename)
public void setId(Long id)
id - The id to setpublic void setPassword(String password)
password - The password to setpublic void setConfirmPassword(String confirmPassword)
confirmPassword - The confirmed password to setpublic void setAddress(String address)
address - The address to setpublic void setCity(String city)
city - The city to setpublic void setCountry(String country)
country - The country to setpublic void setEmail(String email)
email - The email to setpublic void setFirstName(String firstName)
firstName - The firstName to setpublic void setLastName(String lastName)
lastName - The lastName to setpublic void setPhoneNumber(String phoneNumber)
phoneNumber - The phoneNumber to setpublic void setPostalCode(String postalCode)
postalCode - The postalCode to setpublic void setProvince(String province)
province - The province to setpublic void setUsername(String username)
username - The username to setpublic void setWebsite(String website)
website - The website to setpublic void setPasswordHint(String passwordHint)
passwordHint - The password hint to setpublic void setRoles(List roles)
roles - The roles to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||