public final class Gender extends Property
Modifier and Type | Class and Description |
---|---|
static class |
Gender.Factory |
Property.Id
Modifier and Type | Field and Description |
---|---|
static Gender |
FEMALE
Standard gender.
|
static Gender |
MALE
Standard gender.
|
ILLEGAL_PARAMETER_MESSAGE
Constructor and Description |
---|
Gender(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 static final Gender MALE
public static final Gender FEMALE
public Gender(java.lang.String value)
value
- string representation of a property value