public class UserAuthority extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
UserAuthority.Factory
Constructs new instances of
UserAuthority . |
Constructor and Description |
---|
UserAuthority() |
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 UserAuthority instance and all identifiers
for this entity equal the identifiers of the argument entity. |
Long |
getId() |
UserRole |
getRole() |
int |
hashCode()
Returns a hash code based on this entity's identifiers.
|
void |
setId(Long id) |
void |
setRole(UserRole role) |
public String attributesToString()
public boolean equals(Object object)
true
if the argument is an UserAuthority instance and all identifiers
for this entity equal the identifiers of the argument entity. Returns false
otherwise.public Long getId()
public UserRole getRole()
public int hashCode()
public void setId(Long id)
public void setRole(UserRole role)
Copyright © 2019 Communote team. All rights reserved.