public final class Entity
extends Object
Entity
represents the user-like object. Specifically, an user, group and department.
This class is used to specify users, groups and organizations for setting the initial values of
an User Selection field, the subject of access controls, and so on.Constructor and Description |
---|
Entity(EntityType type,
String code) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getCode()
The code of the entity the permission is granted to.
|
EntityType |
getType()
The type of the entity: USER, GROUP or ORGANIZATION etc.
|
int |
hashCode() |
String |
toString() |
@ConstructorProperties(value={"type","code"}) public Entity(EntityType type, String code)
public EntityType getType()
public String getCode()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object