Modifier and Type | Class and Description |
---|---|
static class |
PrivilegeDTO.Builder
Builder for
PrivilegeDTO . |
Privilege.Condition, Privilege.Name
Modifier | Constructor and Description |
---|---|
protected |
PrivilegeDTO()
Default constructor for Jackson deserialization.
|
protected |
PrivilegeDTO(Privilege.Name name,
Privilege.Condition condition)
Creates a new instance of PrivilegeDTO.
|
Modifier and Type | Method and Description |
---|---|
static PrivilegeDTO.Builder |
builder() |
Privilege.Condition |
condition() |
Privilege.Name |
name() |
java.lang.String |
simpleString() |
protected PrivilegeDTO()
protected PrivilegeDTO(Privilege.Name name, Privilege.Condition condition)
name
- The name of the Privilege DTO.condition
- The condition of the Privilege DTO.public Privilege.Name name()
public java.lang.String simpleString()
simpleString
in interface Privilege
public Privilege.Condition condition()
public static PrivilegeDTO.Builder builder()