|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<PrimitiveType>
org.eclipse.etrice.core.room.PrimitiveType
public enum PrimitiveType
A representation of the literals of the enumeration 'Primitive Type', and utility methods for working with them.
RoomPackage.getPrimitiveType()
Enum Constant Summary | |
---|---|
BOOLEAN
The 'Boolean' literal object. |
|
CHAR
The 'Char' literal object. |
|
FLOAT32
The 'Float32' literal object. |
|
FLOAT64
The 'Float64' literal object. |
|
INT16
The 'Int16' literal object. |
|
INT32
The 'Int32' literal object. |
|
INT8
The 'Int8' literal object. |
|
STRING
The 'String' literal object. |
|
UINT16
The 'Uint16' literal object. |
|
UINT32
The 'Uint32' literal object. |
|
UINT8
The 'Uint8' literal object. |
|
VOID
The 'Void' literal object. |
Field Summary | |
---|---|
static int |
BOOLEAN_VALUE
The 'Boolean' literal value. |
static int |
CHAR_VALUE
The 'Char' literal value. |
static int |
FLOAT32_VALUE
The 'Float32' literal value. |
static int |
FLOAT64_VALUE
The 'Float64' literal value. |
static int |
INT16_VALUE
The 'Int16' literal value. |
static int |
INT32_VALUE
The 'Int32' literal value. |
static int |
INT8_VALUE
The 'Int8' literal value. |
static int |
STRING_VALUE
The 'String' literal value. |
static int |
UINT16_VALUE
The 'Uint16' literal value. |
static int |
UINT32_VALUE
The 'Uint32' literal value. |
static int |
UINT8_VALUE
The 'Uint8' literal value. |
static java.util.List<PrimitiveType> |
VALUES
A public read-only list of all the 'Primitive Type' enumerators. |
static int |
VOID_VALUE
The 'Void' literal value. |
Method Summary | |
---|---|
static PrimitiveType |
get(int value)
Returns the 'Primitive Type' literal with the specified integer value. |
static PrimitiveType |
get(java.lang.String literal)
Returns the 'Primitive Type' literal with the specified literal value. |
static PrimitiveType |
getByName(java.lang.String name)
Returns the 'Primitive 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 PrimitiveType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static PrimitiveType[] |
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 PrimitiveType VOID
VOID_VALUE
public static final PrimitiveType INT8
INT8_VALUE
public static final PrimitiveType INT16
INT16_VALUE
public static final PrimitiveType INT32
INT32_VALUE
public static final PrimitiveType UINT8
UINT8_VALUE
public static final PrimitiveType UINT16
UINT16_VALUE
public static final PrimitiveType UINT32
UINT32_VALUE
public static final PrimitiveType FLOAT32
FLOAT32_VALUE
public static final PrimitiveType FLOAT64
FLOAT64_VALUE
public static final PrimitiveType BOOLEAN
BOOLEAN_VALUE
public static final PrimitiveType STRING
STRING_VALUE
public static final PrimitiveType CHAR
CHAR_VALUE
Field Detail |
---|
public static final int VOID_VALUE
If the meaning of 'Void' literal object isn't clear, there really should be more of a description here...
VOID
,
Constant Field Valuespublic static final int INT8_VALUE
If the meaning of 'Int8' literal object isn't clear, there really should be more of a description here...
INT8
,
Constant Field Valuespublic static final int INT16_VALUE
If the meaning of 'Int16' literal object isn't clear, there really should be more of a description here...
INT16
,
Constant Field Valuespublic static final int INT32_VALUE
If the meaning of 'Int32' literal object isn't clear, there really should be more of a description here...
INT32
,
Constant Field Valuespublic static final int UINT8_VALUE
If the meaning of 'Uint8' literal object isn't clear, there really should be more of a description here...
UINT8
,
Constant Field Valuespublic static final int UINT16_VALUE
If the meaning of 'Uint16' literal object isn't clear, there really should be more of a description here...
UINT16
,
Constant Field Valuespublic static final int UINT32_VALUE
If the meaning of 'Uint32' literal object isn't clear, there really should be more of a description here...
UINT32
,
Constant Field Valuespublic static final int FLOAT32_VALUE
If the meaning of 'Float32' literal object isn't clear, there really should be more of a description here...
FLOAT32
,
Constant Field Valuespublic static final int FLOAT64_VALUE
If the meaning of 'Float64' literal object isn't clear, there really should be more of a description here...
FLOAT64
,
Constant Field Valuespublic static final int BOOLEAN_VALUE
If the meaning of 'Boolean' literal object isn't clear, there really should be more of a description here...
BOOLEAN
,
Constant Field Valuespublic static final int STRING_VALUE
If the meaning of 'String' literal object isn't clear, there really should be more of a description here...
STRING
,
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<PrimitiveType> VALUES
Method Detail |
---|
public static PrimitiveType[] values()
for (PrimitiveType c : PrimitiveType.values()) System.out.println(c);
public static PrimitiveType 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 PrimitiveType get(java.lang.String literal)
public static PrimitiveType getByName(java.lang.String name)
public static PrimitiveType 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<PrimitiveType>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |