public class User extends AbsModel implements IFilterEntity<User>
Constructor and Description |
---|
User() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
decryptSha1(java.lang.String input)
Decrypt the given string into an SHA1 hash.
|
java.lang.String |
getFirstname() |
javafx.beans.property.StringProperty |
getFirstnameProperty() |
double |
getHourlyWage() |
javafx.beans.property.DoubleProperty |
getHourlyWageProperty() |
int |
getId() |
javafx.beans.property.IntegerProperty |
getIdProperty() |
javafx.beans.property.BooleanProperty |
getInactiveProperty() |
java.lang.String |
getLastname() |
javafx.beans.property.StringProperty |
getLastnameProperty() |
java.lang.String |
getLoginname() |
javafx.beans.property.StringProperty |
getLoginnameProperty() |
java.lang.String |
getPassword() |
javafx.beans.property.StringProperty |
getPasswordProperty() |
UserRoll |
getRolle() |
javafx.beans.property.ObjectProperty<UserRoll> |
getRolleProperty() |
java.lang.Boolean |
isInactive() |
boolean |
isValid(java.util.List<java.lang.String> errors)
abstract valid methode. for check if object are valid.
|
void |
setFirstname(java.lang.String firstname) |
void |
setHourlyWage(double hourlyWage) |
void |
setId(int id) |
void |
setInactive(java.lang.Boolean isDeleted) |
void |
setLastname(java.lang.String lastname) |
void |
setLoginname(java.lang.String loginName) |
void |
setPassword(java.lang.String password) |
void |
setRolle(UserRoll rolle) |
public int getId()
public void setId(int id)
public javafx.beans.property.IntegerProperty getIdProperty()
public java.lang.String getFirstname()
public void setFirstname(java.lang.String firstname)
public javafx.beans.property.StringProperty getFirstnameProperty()
public java.lang.String getLastname()
public void setLastname(java.lang.String lastname)
public javafx.beans.property.StringProperty getLastnameProperty()
public java.lang.String getLoginname()
public void setLoginname(java.lang.String loginName)
public javafx.beans.property.StringProperty getLoginnameProperty()
public java.lang.String getPassword()
public void setPassword(java.lang.String password)
public javafx.beans.property.StringProperty getPasswordProperty()
public double getHourlyWage()
public void setHourlyWage(double hourlyWage)
public javafx.beans.property.DoubleProperty getHourlyWageProperty()
public java.lang.Boolean isInactive()
public void setInactive(java.lang.Boolean isDeleted)
public javafx.beans.property.BooleanProperty getInactiveProperty()
public UserRoll getRolle()
public void setRolle(UserRoll rolle)
public javafx.beans.property.ObjectProperty<UserRoll> getRolleProperty()
public java.lang.String decryptSha1(java.lang.String input) throws java.security.NoSuchAlgorithmException
input
- the readable stringjava.security.NoSuchAlgorithmException
public boolean isValid(java.util.List<java.lang.String> errors)
AbsModel