public final class GenderType
extends org.eclipse.emf.common.util.AbstractEnumerator
MemberPackage.getGenderType()
Modifier and Type | Field and Description |
---|---|
static int |
FEMALE
The 'Female' literal value.
|
static GenderType |
FEMALE_LITERAL
The 'Female' literal object.
|
static int |
MALE
The 'Male' literal value.
|
static GenderType |
MALE_LITERAL
The 'Male' literal object.
|
static int |
UNSPECIFIED
The 'Unspecified' literal value.
|
static GenderType |
UNSPECIFIED_LITERAL
The 'Unspecified' literal object.
|
static java.util.List |
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.
|
public static final int MALE
If the meaning of 'Male' literal object isn't clear, there really should be more of a description here...
MALE_LITERAL
,
Constant Field Valuespublic static final int FEMALE
If the meaning of 'Female' literal object isn't clear, there really should be more of a description here...
FEMALE_LITERAL
,
Constant Field Valuespublic static final int UNSPECIFIED
If the meaning of 'Unspecified' literal object isn't clear, there really should be more of a description here...
UNSPECIFIED_LITERAL
,
Constant Field Valuespublic static final GenderType MALE_LITERAL
MALE
public static final GenderType FEMALE_LITERAL
FEMALE
public static final GenderType UNSPECIFIED_LITERAL
UNSPECIFIED
public static final java.util.List VALUES
public 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
.