public enum COBOLUsageValue extends Enum<COBOLUsageValue> implements org.eclipse.emf.common.util.Enumerator
CobolPackage.getCOBOLUsageValue()| Enum Constant and Description |
|---|
CUV_BINARY
The 'Cuv binary' literal object.
|
CUV_DBCS
The 'Cuv dbcs' literal object.
|
CUV_DISPLAY
The 'Cuv display' literal object.
|
CUV_DOUBLE
The 'Cuv double' literal object.
|
CUV_FLOAT
The 'Cuv float' literal object.
|
CUV_INDEX
The 'Cuv index' literal object.
|
CUV_OBJECT_REFERENCE
The 'Cuv object Reference' literal object.
|
CUV_PACKED_DECIMAL
The 'Cuv packed Decimal' literal object.
|
CUV_POINTER
The 'Cuv pointer' literal object.
|
CUV_PROCEDURE_POINTER
The 'Cuv procedure Pointer' literal object.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
CUV_BINARY_VALUE
The 'Cuv binary' literal value.
|
static int |
CUV_DBCS_VALUE
The 'Cuv dbcs' literal value.
|
static int |
CUV_DISPLAY_VALUE
The 'Cuv display' literal value.
|
static int |
CUV_DOUBLE_VALUE
The 'Cuv double' literal value.
|
static int |
CUV_FLOAT_VALUE
The 'Cuv float' literal value.
|
static int |
CUV_INDEX_VALUE
The 'Cuv index' literal value.
|
static int |
CUV_OBJECT_REFERENCE_VALUE
The 'Cuv object Reference' literal value.
|
static int |
CUV_PACKED_DECIMAL_VALUE
The 'Cuv packed Decimal' literal value.
|
static int |
CUV_POINTER_VALUE
The 'Cuv pointer' literal value.
|
static int |
CUV_PROCEDURE_POINTER_VALUE
The 'Cuv procedure Pointer' literal value.
|
static List<COBOLUsageValue> |
VALUES
A public read-only list of all the 'COBOL Usage Value' enumerators.
|
| Modifier and Type | Method and Description |
|---|---|
static COBOLUsageValue |
get(int value)
Returns the 'COBOL Usage Value' literal with the specified integer value.
|
static COBOLUsageValue |
get(String literal)
Returns the 'COBOL Usage Value' literal with the specified literal value.
|
static COBOLUsageValue |
getByName(String name)
Returns the 'COBOL Usage Value' 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 COBOLUsageValue |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static COBOLUsageValue[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final COBOLUsageValue CUV_BINARY
CUV_BINARY_VALUEpublic static final COBOLUsageValue CUV_DBCS
CUV_DBCS_VALUEpublic static final COBOLUsageValue CUV_DOUBLE
CUV_DOUBLE_VALUEpublic static final COBOLUsageValue CUV_DISPLAY
CUV_DISPLAY_VALUEpublic static final COBOLUsageValue CUV_FLOAT
CUV_FLOAT_VALUEpublic static final COBOLUsageValue CUV_INDEX
CUV_INDEX_VALUEpublic static final COBOLUsageValue CUV_OBJECT_REFERENCE
CUV_OBJECT_REFERENCE_VALUEpublic static final COBOLUsageValue CUV_PACKED_DECIMAL
CUV_PACKED_DECIMAL_VALUEpublic static final COBOLUsageValue CUV_POINTER
CUV_POINTER_VALUEpublic static final COBOLUsageValue CUV_PROCEDURE_POINTER
CUV_PROCEDURE_POINTER_VALUEpublic static final int CUV_BINARY_VALUE
CUV_BINARY,
Constant Field Valuespublic static final int CUV_DBCS_VALUE
CUV_DBCS,
Constant Field Valuespublic static final int CUV_DOUBLE_VALUE
CUV_DOUBLE,
Constant Field Valuespublic static final int CUV_DISPLAY_VALUE
CUV_DISPLAY,
Constant Field Valuespublic static final int CUV_FLOAT_VALUE
CUV_FLOAT,
Constant Field Valuespublic static final int CUV_INDEX_VALUE
CUV_INDEX,
Constant Field Valuespublic static final int CUV_OBJECT_REFERENCE_VALUE
CUV_OBJECT_REFERENCE,
Constant Field Valuespublic static final int CUV_PACKED_DECIMAL_VALUE
CUV_PACKED_DECIMAL,
Constant Field Valuespublic static final int CUV_POINTER_VALUE
CUV_POINTER,
Constant Field Valuespublic static final int CUV_PROCEDURE_POINTER_VALUE
CUV_PROCEDURE_POINTER,
Constant Field Valuespublic static final List<COBOLUsageValue> VALUES
public static COBOLUsageValue[] values()
for (COBOLUsageValue c : COBOLUsageValue.values()) System.out.println(c);
public static COBOLUsageValue 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 COBOLUsageValue get(String literal)
literal - the literal.null.public static COBOLUsageValue getByName(String name)
name - the name.null.public static COBOLUsageValue 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<COBOLUsageValue>Copyright © 2018–2020 Atlanmod. All rights reserved.