|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<LiteralType>
org.eclipse.etrice.core.room.LiteralType
public enum LiteralType
A representation of the literals of the enumeration 'Literal Type', and utility methods for working with them.
RoomPackage.getLiteralType()| Enum Constant Summary | |
|---|---|
BOOL
The 'BOOL' literal object. |
|
CHAR
The 'CHAR' literal object. |
|
INT
The 'INT' literal object. |
|
REAL
The 'REAL' literal object. |
|
| Field Summary | |
|---|---|
static int |
BOOL_VALUE
The 'BOOL' literal value. |
static int |
CHAR_VALUE
The 'CHAR' literal value. |
static int |
INT_VALUE
The 'INT' literal value. |
static int |
REAL_VALUE
The 'REAL' literal value. |
static java.util.List<LiteralType> |
VALUES
A public read-only list of all the 'Literal Type' enumerators. |
| Method Summary | |
|---|---|
static LiteralType |
get(int value)
Returns the 'Literal Type' literal with the specified integer value. |
static LiteralType |
get(java.lang.String literal)
Returns the 'Literal Type' literal with the specified literal value. |
static LiteralType |
getByName(java.lang.String name)
Returns the 'Literal 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 LiteralType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static LiteralType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final LiteralType BOOL
BOOL_VALUEpublic static final LiteralType INT
INT_VALUEpublic static final LiteralType REAL
REAL_VALUEpublic static final LiteralType CHAR
CHAR_VALUE| Field Detail |
|---|
public static final int BOOL_VALUE
If the meaning of 'BOOL' literal object isn't clear, there really should be more of a description here...
BOOL,
Constant Field Valuespublic static final int INT_VALUE
If the meaning of 'INT' literal object isn't clear, there really should be more of a description here...
INT,
Constant Field Valuespublic static final int REAL_VALUE
If the meaning of 'REAL' literal object isn't clear, there really should be more of a description here...
REAL,
Constant Field Valuespublic static final int CHAR_VALUE
If the meaning of 'CHAR' literal object isn't clear, there really should be more of a description here...
CHAR,
Constant Field Valuespublic static final java.util.List<LiteralType> VALUES
| Method Detail |
|---|
public static LiteralType[] values()
for (LiteralType c : LiteralType.values()) System.out.println(c);
public static LiteralType 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 name
java.lang.NullPointerException - if the argument is nullpublic static LiteralType get(java.lang.String literal)
public static LiteralType getByName(java.lang.String name)
public static LiteralType get(int value)
public int getValue()
public java.lang.String getName()
public java.lang.String getLiteral()
public java.lang.String toString()
toString in class java.lang.Enum<LiteralType>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||