public final class Email extends Property
Modifier and Type | Class and Description |
---|---|
static class |
Email.Factory |
Property.Id
ILLEGAL_PARAMETER_MESSAGE
Constructor and Description |
---|
Email(Group group,
java.util.List<Parameter> params,
java.lang.String value)
Factory constructor.
|
Email(Group group,
java.lang.String value) |
Email(java.util.List<Parameter> params,
java.lang.String value)
Factory constructor.
|
Email(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 Email(java.lang.String value)
value
- an email address stringpublic Email(Group group, java.lang.String value)
group
- property groupvalue
- an email address stringpublic Email(java.util.List<Parameter> params, java.lang.String value)
params
- property parametersvalue
- string representation of a property value