public class LoginCredential extends BaseOpenmrsObject implements OpenmrsObject
Constructor and Description |
---|
LoginCredential() |
Modifier and Type | Method and Description |
---|---|
boolean |
checkPassword(String pw) |
String |
getActivationKey() |
User |
getChangedBy() |
Date |
getDateChanged() |
String |
getHashedPassword() |
Integer |
getId() |
String |
getSalt() |
String |
getSecretAnswer() |
String |
getSecretQuestion() |
Integer |
getUserId() |
void |
setActivationKey(String activationKey) |
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) |
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 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)
public String getActivationKey()
public void setActivationKey(String activationKey)
activationKey
- the activation key to set.Copyright © 2024 OpenMRS Inc.. All rights reserved.