public class GenderEnumeration extends Object implements CloneableType
Modifier and Type | Field and Description |
---|---|
static GenderEnumeration |
FEMALE
Women
|
static GenderEnumeration |
MALE
Men
|
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Returns a reference to the same object.
|
static GenderEnumeration |
findByValue(String value)
Returns the proper instance based on the string value
|
String |
getValue()
Returns the value of the instance
|
String |
toString() |
public static final GenderEnumeration MALE
public static final GenderEnumeration FEMALE
public static GenderEnumeration findByValue(String value)
public String getValue()
public Object clone()
clone
in interface CloneableType
clone
in class Object
Copyright © 2016. All rights reserved.