public class User
extends java.lang.Object
Constructor and Description |
---|
User()
default constructor
|
User(java.lang.String username)
constructor
|
User(User other)
copy constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object other)
test whether or not two user objects are equal, as judged by their user ids or usernames
|
java.lang.String |
getDescription() |
java.lang.String |
getEmailAddress() |
java.lang.String |
getExternalId() |
java.lang.String |
getFirstName() |
Institute |
getInstitute() |
java.lang.String |
getLastName() |
java.lang.Integer |
getNumber_of_campaigns() |
java.lang.Integer |
getNumber_of_spectra_loaded() |
java.lang.String |
getPassHash() |
java.lang.String |
getPassword() |
java.lang.String |
getRole() |
java.lang.String |
getSalt() |
java.lang.String |
getTitle() |
int |
getUserId() |
java.lang.String |
getUsername() |
java.lang.String |
getWwwAddress() |
boolean |
isInRole(java.lang.String role) |
void |
setDescription(java.lang.String description) |
void |
setEmailAddress(java.lang.String email) |
void |
setExternalId(java.lang.String externalId) |
void |
setFirstName(java.lang.String firstName) |
void |
setInstitute(Institute inst) |
void |
setLastName(java.lang.String lastName) |
void |
setNumber_of_campaigns(java.lang.Integer number_of_campaigns) |
void |
setNumber_of_spectra_loaded(java.lang.Integer number_of_spectra_loaded) |
void |
setPassHash(java.lang.String passhash) |
void |
setPassword(java.lang.String password) |
void |
setRole(java.lang.String role) |
void |
setSalt(java.lang.String salt) |
void |
setTitle(java.lang.String title) |
void |
setUserId(int userId) |
void |
setUsername(java.lang.String username) |
void |
setWwwAddress(java.lang.String www) |
java.lang.String |
toString()
get a string containing the user's first name and last name
|
public User()
public User(java.lang.String username)
public User(User other)
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
public java.lang.String getEmailAddress()
public void setEmailAddress(java.lang.String email)
public java.lang.String getExternalId()
public void setExternalId(java.lang.String externalId)
public java.lang.String getFirstName()
public void setFirstName(java.lang.String firstName)
public Institute getInstitute()
public void setInstitute(Institute inst)
public java.lang.String getLastName()
public void setLastName(java.lang.String lastName)
public java.lang.String getPassword()
public void setPassword(java.lang.String password)
public java.lang.String getRole()
public void setRole(java.lang.String role)
public boolean isInRole(java.lang.String role)
public java.lang.String getTitle()
public void setTitle(java.lang.String title)
public int getUserId()
public void setUserId(int userId)
public java.lang.String getUsername()
public void setUsername(java.lang.String username)
public java.lang.String getWwwAddress()
public void setWwwAddress(java.lang.String www)
public java.lang.String getSalt()
public void setSalt(java.lang.String salt)
public java.lang.String getPassHash()
public void setPassHash(java.lang.String passhash)
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.Integer getNumber_of_spectra_loaded()
public void setNumber_of_spectra_loaded(java.lang.Integer number_of_spectra_loaded)
public java.lang.Integer getNumber_of_campaigns()
public void setNumber_of_campaigns(java.lang.Integer number_of_campaigns)