@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)
Overrides
Object.equals(). |
compareTo, getValue, hashCode, toJSONString, toStringpublic boolean equals(Object object)
IdentifierObject.equals().equals in class Identifierobject - The object to compare to.true if the objects have the same value, otherwise
false.Copyright © 2015 Connect2id Ltd.. All Rights Reserved.