@Entity public class Registration extends Object
| Constructor and Description |
|---|
Registration(User user)
Constructs a new instance of
Registration. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object that) |
String |
getEmail()
Returns the email of the user to be registered.
|
String |
getLogin()
Returns the login of the user to be registered.
|
String |
getPassword()
Returns the MD5 of the password of the user to be registered.
|
Role |
getRole()
Returns the role of the user to be registered.
|
User |
getUser()
Returns the registered user.
|
String |
getUuid()
Returns the unique identifiers of this registration.
|
int |
hashCode() |
public Registration(User user)
Registration. This instance contains
a randomly generated unique identifier.user - the data of the user to be registered.public String getUuid()
public String getLogin()
User.getLogin()public String getPassword()
User.getPassword()public String getEmail()
User.getEmail()public Role getRole()
User.getRole()public User getUser()
Copyright © 2015. All rights reserved.