public final class Role extends Property
Modifier and Type | Class and Description |
---|---|
static class |
Role.Factory |
Property.Id
ILLEGAL_PARAMETER_MESSAGE
Constructor and Description |
---|
Role(java.util.List<Parameter> params,
java.lang.String value)
Factory constructor.
|
Role(java.lang.String value) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue() |
void |
validate() |
assertOneOrLess, assertParametersEmpty, assertPidParameter, assertPrefParameter, assertTextParameter, assertTypeParameter, equals, getExtendedParameter, getExtendedParameters, getGroup, getId, getParameter, getParameters, getParameters, hashCode, toString
public Role(java.lang.String value)
value
- a role string valuepublic Role(java.util.List<Parameter> params, java.lang.String value)
params
- property parametersvalue
- string representation of a property value