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