public abstract class SecurityCode extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
SecurityCode.Factory
Constructs new instances of
SecurityCode . |
Constructor and Description |
---|
SecurityCode() |
Modifier and Type | Method and Description |
---|---|
String |
attributesToString()
Builds a string showing the current attribute values
|
boolean |
equals(Object object)
Returns
true if the argument is an SecurityCode instance and all identifiers for
this entity equal the identifiers of the argument entity. |
abstract void |
generateNewCode()
Generates a new Guid.
|
SecurityCodeAction |
getAction() |
String |
getCode() |
Timestamp |
getCreatingDate() |
Long |
getId() |
User |
getUser() |
int |
hashCode()
Returns a hash code based on this entity's identifiers.
|
void |
setAction(SecurityCodeAction action) |
void |
setCode(String code) |
void |
setCreatingDate(Timestamp creatingDate) |
void |
setId(Long id) |
void |
setUser(User user) |
public String attributesToString()
public boolean equals(Object object)
true
if the argument is an SecurityCode instance and all identifiers for
this entity equal the identifiers of the argument entity. Returns false
otherwise.public abstract void generateNewCode()
Generates a new Guid.
public SecurityCodeAction getAction()
public String getCode()
public Timestamp getCreatingDate()
public Long getId()
public User getUser()
public int hashCode()
public void setAction(SecurityCodeAction action)
public void setCode(String code)
public void setCreatingDate(Timestamp creatingDate)
public void setId(Long id)
public void setUser(User user)
Copyright © 2019 Communote team. All rights reserved.