public enum GenderType extends java.lang.Enum<GenderType>
TestPackage.getGenderType()| Enum Constant and Description |
|---|
FEMALE
The 'FEMALE' literal object.
|
MALE
The 'MALE' literal object.
|
OTHER
The 'OTHER' literal object.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
FEMALE_VALUE
The 'FEMALE' literal value.
|
static int |
MALE_VALUE
The 'MALE' literal value.
|
static int |
OTHER_VALUE
The 'OTHER' literal value.
|
static java.util.List<GenderType> |
VALUES
A public read-only list of all the 'Gender Type' enumerators.
|
| Modifier and Type | Method and Description |
|---|---|
static GenderType |
get(int value)
Returns the 'Gender Type' literal with the specified integer value.
|
static GenderType |
get(java.lang.String literal)
Returns the 'Gender Type' literal with the specified literal value.
|
static GenderType |
getByName(java.lang.String name)
Returns the 'Gender Type' literal with the specified name.
|
java.lang.String |
getLiteral() |
java.lang.String |
getName() |
int |
getValue() |
java.lang.String |
toString()
Returns the literal value of the enumerator, which is its string representation.
|
static GenderType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GenderType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GenderType FEMALE
FEMALE_VALUEpublic static final GenderType MALE
MALE_VALUEpublic static final GenderType OTHER
OTHER_VALUEpublic static final int FEMALE_VALUE
If the meaning of 'FEMALE' literal object isn't clear, there really should be more of a description here...
FEMALE,
Constant Field Valuespublic static final int MALE_VALUE
If the meaning of 'MALE' literal object isn't clear, there really should be more of a description here...
MALE,
Constant Field Valuespublic static final int OTHER_VALUE
If the meaning of 'OTHER' literal object isn't clear, there really should be more of a description here...
OTHER,
Constant Field Valuespublic static final java.util.List<GenderType> VALUES
public static GenderType[] values()
for (GenderType c : GenderType.values()) System.out.println(c);
public static GenderType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static GenderType get(java.lang.String literal)
literal - the literal.null.public static GenderType getByName(java.lang.String name)
name - the name.null.public static GenderType get(int value)
value - the integer value.null.public int getValue()
public java.lang.String getName()
public java.lang.String getLiteral()
public java.lang.String toString()
toString in class java.lang.Enum<GenderType>Data In Motion Consulting GmbH