Serializable
, Comparable<Identifier>
, net.minidev.json.JSONAware
@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 | Description |
---|---|---|
static Gender |
FEMALE |
Female gender claim value.
|
static Gender |
MALE |
Male gender claim value.
|
DEFAULT_BYTE_LENGTH
Constructor | Description |
---|---|
Gender(String value) |
Creates a new gender with the specified value.
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(Object object) |
compareTo, getValue, hashCode, toJSONString, toString
public boolean equals(Object object)
equals
in class Identifier
Copyright © 2018 Connect2id Ltd.. All rights reserved.