@Immutable public class Gender extends Identifier
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, toString
public boolean equals(Object object)
Identifier
Object.equals()
.equals
in class Identifier
object
- The object to compare to.true
if the objects have the same value, otherwise
false
.Copyright © 2014 Connect2id Ltd.. All Rights Reserved.