public class LoginCredential extends BaseOpenmrsObject implements OpenmrsObject
Constructor and Description |
---|
LoginCredential() |
Modifier and Type | Method and Description |
---|---|
boolean |
checkPassword(java.lang.String pw) |
User |
getChangedBy() |
java.util.Date |
getDateChanged() |
java.lang.String |
getHashedPassword() |
java.lang.Integer |
getId() |
java.lang.String |
getSalt() |
java.lang.String |
getSecretAnswer() |
java.lang.String |
getSecretQuestion() |
java.lang.Integer |
getUserId() |
void |
setChangedBy(User changedBy) |
void |
setDateChanged(java.util.Date dateChanged) |
void |
setHashedPassword(java.lang.String password) |
void |
setId(java.lang.Integer id) |
void |
setSalt(java.lang.String salt) |
void |
setSecretAnswer(java.lang.String secretAnswer) |
void |
setSecretQuestion(java.lang.String secretQuestion) |
void |
setUserId(java.lang.Integer userId) |
equals, getUuid, hashCode, setUuid, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getUuid, setUuid
public User getChangedBy()
public void setChangedBy(User changedBy)
changedBy
- the changedBy to setpublic java.util.Date getDateChanged()
public void setDateChanged(java.util.Date dateChanged)
dateChanged
- the dateChanged to setpublic java.lang.String getHashedPassword()
public void setHashedPassword(java.lang.String password)
password
- the password to setpublic java.lang.String getSalt()
public void setSalt(java.lang.String salt)
salt
- the salt to setpublic java.lang.Integer getUserId()
public void setUserId(java.lang.Integer userId)
userId
- the userId to setpublic java.lang.String getSecretAnswer()
public void setSecretAnswer(java.lang.String secretAnswer)
secretAnswer
- the secretAnswer to setpublic java.lang.String getSecretQuestion()
public void setSecretQuestion(java.lang.String secretQuestion)
secretQuestion
- the secretQuestion to setpublic boolean checkPassword(java.lang.String pw)
pw
- public java.lang.Integer getId()
getId
in interface OpenmrsObject
OpenmrsObject.getId()
public void setId(java.lang.Integer id)
setId
in interface OpenmrsObject
id
- - The unique Identifier for the objectOpenmrsObject.setId(java.lang.Integer)
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.