@Immutable public class Gender extends Identifier
FEMALE and MALE (gender). Other values may be
used when neither of the defined values are applicable.| Modifier and Type | Field and Description |
|---|---|
static Gender |
FEMALE
Female gender claim value.
|
static Gender |
MALE
Male gender claim value.
|
DEFAULT_BYTE_LENGTH| Constructor and Description |
|---|
Gender(String value)
Creates a new gender with the specified value.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object) |
compareTo, getValue, hashCode, toJSONString, toStringpublic boolean equals(Object object)
equals in class IdentifierCopyright © 2016 Connect2id Ltd.. All rights reserved.