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