public enum COBOLInitialValueKind extends Enum<COBOLInitialValueKind> implements org.eclipse.emf.common.util.Enumerator
CobolPackage.getCOBOLInitialValueKind()| Enum Constant and Description |
|---|
CIVK_ALL_LITERAL
The 'Civk all literal' literal object.
|
CIVK_HIGH_VALUE
The 'Civk high value' literal object.
|
CIVK_LOW_VALUE
The 'Civk low value' literal object.
|
CIVK_NULL
The 'Civk null' literal object.
|
CIVK_QUOTES
The 'Civk quotes' literal object.
|
CIVK_STRING_VALUE
The 'Civk string value' literal object.
|
CIVK_ZERO_VALUE
The 'Civk zero value' literal object.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
CIVK_ALL_LITERAL_VALUE
The 'Civk all literal' literal value.
|
static int |
CIVK_HIGH_VALUE_VALUE
The 'Civk high value' literal value.
|
static int |
CIVK_LOW_VALUE_VALUE
The 'Civk low value' literal value.
|
static int |
CIVK_NULL_VALUE
The 'Civk null' literal value.
|
static int |
CIVK_QUOTES_VALUE
The 'Civk quotes' literal value.
|
static int |
CIVK_STRING_VALUE_VALUE
The 'Civk string value' literal value.
|
static int |
CIVK_ZERO_VALUE_VALUE
The 'Civk zero value' literal value.
|
static List<COBOLInitialValueKind> |
VALUES
A public read-only list of all the 'COBOL Initial Value Kind' enumerators.
|
| Modifier and Type | Method and Description |
|---|---|
static COBOLInitialValueKind |
get(int value)
Returns the 'COBOL Initial Value Kind' literal with the specified integer value.
|
static COBOLInitialValueKind |
get(String literal)
Returns the 'COBOL Initial Value Kind' literal with the specified literal value.
|
static COBOLInitialValueKind |
getByName(String name)
Returns the 'COBOL Initial Value Kind' literal with the specified name.
|
String |
getLiteral() |
String |
getName() |
int |
getValue() |
String |
toString()
Returns the literal value of the enumerator, which is its string representation.
|
static COBOLInitialValueKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static COBOLInitialValueKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final COBOLInitialValueKind CIVK_STRING_VALUE
CIVK_STRING_VALUE_VALUEpublic static final COBOLInitialValueKind CIVK_LOW_VALUE
CIVK_LOW_VALUE_VALUEpublic static final COBOLInitialValueKind CIVK_HIGH_VALUE
CIVK_HIGH_VALUE_VALUEpublic static final COBOLInitialValueKind CIVK_ZERO_VALUE
CIVK_ZERO_VALUE_VALUEpublic static final COBOLInitialValueKind CIVK_QUOTES
CIVK_QUOTES_VALUEpublic static final COBOLInitialValueKind CIVK_NULL
CIVK_NULL_VALUEpublic static final COBOLInitialValueKind CIVK_ALL_LITERAL
CIVK_ALL_LITERAL_VALUEpublic static final int CIVK_STRING_VALUE_VALUE
CIVK_STRING_VALUE,
Constant Field Valuespublic static final int CIVK_LOW_VALUE_VALUE
CIVK_LOW_VALUE,
Constant Field Valuespublic static final int CIVK_HIGH_VALUE_VALUE
CIVK_HIGH_VALUE,
Constant Field Valuespublic static final int CIVK_ZERO_VALUE_VALUE
CIVK_ZERO_VALUE,
Constant Field Valuespublic static final int CIVK_QUOTES_VALUE
CIVK_QUOTES,
Constant Field Valuespublic static final int CIVK_NULL_VALUE
CIVK_NULL,
Constant Field Valuespublic static final int CIVK_ALL_LITERAL_VALUE
CIVK_ALL_LITERAL,
Constant Field Valuespublic static final List<COBOLInitialValueKind> VALUES
public static COBOLInitialValueKind[] values()
for (COBOLInitialValueKind c : COBOLInitialValueKind.values()) System.out.println(c);
public static COBOLInitialValueKind valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static COBOLInitialValueKind get(String literal)
literal - the literal.null.public static COBOLInitialValueKind getByName(String name)
name - the name.null.public static COBOLInitialValueKind get(int value)
value - the integer value.null.public int getValue()
getValue in interface org.eclipse.emf.common.util.Enumeratorpublic String getName()
getName in interface org.eclipse.emf.common.util.Enumeratorpublic String getLiteral()
getLiteral in interface org.eclipse.emf.common.util.Enumeratorpublic String toString()
toString in class Enum<COBOLInitialValueKind>Copyright © 2018–2020 Atlanmod. All rights reserved.