@Entity public class UserPasswordImpl extends Object
Constructor and Description |
---|
UserPasswordImpl()
Default constructor.
|
UserPasswordImpl(UserInfoImpl user,
String plainText,
OrganizationImpl org) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getEncryptedPassword() |
OrganizationImpl |
getOrg() |
Long |
getPk() |
UserInfoImpl |
getUser() |
int |
hashCode() |
void |
setEncryptedPassword(String encryptedPassword) |
void |
setOrg(OrganizationImpl org) |
void |
setUser(UserInfoImpl user) |
String |
toString() |
UserPassword |
toUserPassword() |
public UserPasswordImpl()
public UserPasswordImpl(UserInfoImpl user, String plainText, OrganizationImpl org)
user
- the user.plainText
- their plaintext password.org
- their organization.public String getEncryptedPassword()
public OrganizationImpl getOrg()
public Long getPk()
public UserInfoImpl getUser()
public void setEncryptedPassword(String encryptedPassword)
encryptedPassword
- the encryptedPassword to setpublic void setOrg(OrganizationImpl org)
org
- the org to setpublic void setUser(UserInfoImpl user)
user
- the user to setpublic UserPassword toUserPassword()
Copyright © 2015 Collaborative Software Development Laboratory. All rights reserved.