public enum BaseTypeKind extends Enum<BaseTypeKind> implements org.eclipse.emf.common.util.Enumerator
DoorsPackage.getBaseTypeKind()
Enum Constant and Description |
---|
DATE_LITERAL
The 'Date' literal object.
|
ENUMERATION_LITERAL
The 'Enumeration' literal object.
|
INTEGER_LITERAL
The 'Integer' literal object.
|
REAL_LITERAL
The 'Real' literal object.
|
STRING_LITERAL
The 'String' literal object.
|
TEXT_LITERAL
The 'Text' literal object.
|
USERNAME_LITERAL
The 'Username' literal object.
|
Modifier and Type | Field and Description |
---|---|
static int |
DATE
The 'Date' literal value.
|
static int |
ENUMERATION
The 'Enumeration' literal value.
|
static int |
INTEGER
The 'Integer' literal value.
|
static int |
REAL
The 'Real' literal value.
|
static int |
STRING
The 'String' literal value.
|
static int |
TEXT
The 'Text' literal value.
|
static int |
USERNAME
The 'Username' literal value.
|
static List<BaseTypeKind> |
VALUES
A public read-only list of all the 'Base Type Kind' enumerators.
|
Modifier and Type | Method and Description |
---|---|
static BaseTypeKind |
get(int value)
Returns the 'Base Type Kind' literal with the specified integer value.
|
static BaseTypeKind |
get(String literal)
Returns the 'Base Type Kind' literal with the specified literal value.
|
static BaseTypeKind |
getByName(String name)
Returns the 'Base Type 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 BaseTypeKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BaseTypeKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BaseTypeKind INTEGER_LITERAL
INTEGER
public static final BaseTypeKind REAL_LITERAL
REAL
public static final BaseTypeKind STRING_LITERAL
STRING
public static final BaseTypeKind TEXT_LITERAL
TEXT
public static final BaseTypeKind DATE_LITERAL
DATE
public static final BaseTypeKind ENUMERATION_LITERAL
ENUMERATION
public static final BaseTypeKind USERNAME_LITERAL
USERNAME
public static final int INTEGER
INTEGER_LITERAL
,
Constant Field Valuespublic static final int REAL
REAL_LITERAL
,
Constant Field Valuespublic static final int STRING
STRING_LITERAL
,
Constant Field Valuespublic static final int TEXT
TEXT_LITERAL
,
Constant Field Valuespublic static final int DATE
DATE_LITERAL
,
Constant Field Valuespublic static final int ENUMERATION
ENUMERATION_LITERAL
,
Constant Field Valuespublic static final int USERNAME
USERNAME_LITERAL
,
Constant Field Valuespublic static final List<BaseTypeKind> VALUES
public static BaseTypeKind[] values()
for (BaseTypeKind c : BaseTypeKind.values()) System.out.println(c);
public static BaseTypeKind 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 BaseTypeKind get(String literal)
literal
- the literal.null
.public static BaseTypeKind getByName(String name)
name
- the name.null
.public static BaseTypeKind get(int value)
value
- the integer value.null
.public int getValue()
getValue
in interface org.eclipse.emf.common.util.Enumerator
public String getName()
getName
in interface org.eclipse.emf.common.util.Enumerator
public String getLiteral()
getLiteral
in interface org.eclipse.emf.common.util.Enumerator
public String toString()
toString
in class Enum<BaseTypeKind>