org.eclipse.etrice.core.room
Enum PrimitiveType

java.lang.Object
  extended by java.lang.Enum<PrimitiveType>
      extended by org.eclipse.etrice.core.room.PrimitiveType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<PrimitiveType>

public enum PrimitiveType
extends java.lang.Enum<PrimitiveType>

A representation of the literals of the enumeration 'Primitive Type', and utility methods for working with them.

See Also:
RoomPackage.getPrimitiveType()
EMF generated code
EMF model element

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

VOID

public static final PrimitiveType VOID
The 'Void' literal object.

See Also:
VOID_VALUE
EMF generated code
EMF ordered

INT8

public static final PrimitiveType INT8
The 'Int8' literal object.

See Also:
INT8_VALUE
EMF generated code
EMF ordered

INT16

public static final PrimitiveType INT16
The 'Int16' literal object.

See Also:
INT16_VALUE
EMF generated code
EMF ordered

INT32

public static final PrimitiveType INT32
The 'Int32' literal object.

See Also:
INT32_VALUE
EMF generated code
EMF ordered

UINT8

public static final PrimitiveType UINT8
The 'Uint8' literal object.

See Also:
UINT8_VALUE
EMF generated code
EMF ordered

UINT16

public static final PrimitiveType UINT16
The 'Uint16' literal object.

See Also:
UINT16_VALUE
EMF generated code
EMF ordered

UINT32

public static final PrimitiveType UINT32
The 'Uint32' literal object.

See Also:
UINT32_VALUE
EMF generated code
EMF ordered

FLOAT32

public static final PrimitiveType FLOAT32
The 'Float32' literal object.

See Also:
FLOAT32_VALUE
EMF generated code
EMF ordered

FLOAT64

public static final PrimitiveType FLOAT64
The 'Float64' literal object.

See Also:
FLOAT64_VALUE
EMF generated code
EMF ordered

BOOLEAN

public static final PrimitiveType BOOLEAN
The 'Boolean' literal object.

See Also:
BOOLEAN_VALUE
EMF generated code
EMF ordered

STRING

public static final PrimitiveType STRING
The 'String' literal object.

See Also:
STRING_VALUE
EMF generated code
EMF ordered

CHAR

public static final PrimitiveType CHAR
The 'Char' literal object.

See Also:
CHAR_VALUE
EMF generated code
EMF ordered
Field Detail

VOID_VALUE

public static final int VOID_VALUE
The 'Void' literal value.

If the meaning of 'Void' literal object isn't clear, there really should be more of a description here...

See Also:
VOID, Constant Field Values
EMF generated code
EMF model element
name="void"
EMF ordered

INT8_VALUE

public static final int INT8_VALUE
The 'Int8' literal value.

If the meaning of 'Int8' literal object isn't clear, there really should be more of a description here...

See Also:
INT8, Constant Field Values
EMF generated code
EMF model element
name="int8"
EMF ordered

INT16_VALUE

public static final int INT16_VALUE
The 'Int16' literal value.

If the meaning of 'Int16' literal object isn't clear, there really should be more of a description here...

See Also:
INT16, Constant Field Values
EMF generated code
EMF model element
name="int16"
EMF ordered

INT32_VALUE

public static final int INT32_VALUE
The 'Int32' literal value.

If the meaning of 'Int32' literal object isn't clear, there really should be more of a description here...

See Also:
INT32, Constant Field Values
EMF generated code
EMF model element
name="int32"
EMF ordered

UINT8_VALUE

public static final int UINT8_VALUE
The 'Uint8' literal value.

If the meaning of 'Uint8' literal object isn't clear, there really should be more of a description here...

See Also:
UINT8, Constant Field Values
EMF generated code
EMF model element
name="uint8"
EMF ordered

UINT16_VALUE

public static final int UINT16_VALUE
The 'Uint16' literal value.

If the meaning of 'Uint16' literal object isn't clear, there really should be more of a description here...

See Also:
UINT16, Constant Field Values
EMF generated code
EMF model element
name="uint16"
EMF ordered

UINT32_VALUE

public static final int UINT32_VALUE
The 'Uint32' literal value.

If the meaning of 'Uint32' literal object isn't clear, there really should be more of a description here...

See Also:
UINT32, Constant Field Values
EMF generated code
EMF model element
name="uint32"
EMF ordered

FLOAT32_VALUE

public static final int FLOAT32_VALUE
The 'Float32' literal value.

If the meaning of 'Float32' literal object isn't clear, there really should be more of a description here...

See Also:
FLOAT32, Constant Field Values
EMF generated code
EMF model element
name="float32"
EMF ordered

FLOAT64_VALUE

public static final int FLOAT64_VALUE
The 'Float64' literal value.

If the meaning of 'Float64' literal object isn't clear, there really should be more of a description here...

See Also:
FLOAT64, Constant Field Values
EMF generated code
EMF model element
name="float64"
EMF ordered

BOOLEAN_VALUE

public static final int BOOLEAN_VALUE
The 'Boolean' literal value.

If the meaning of 'Boolean' literal object isn't clear, there really should be more of a description here...

See Also:
BOOLEAN, Constant Field Values
EMF generated code
EMF model element
name="boolean"
EMF ordered

STRING_VALUE

public static final int STRING_VALUE
The 'String' literal value.

If the meaning of 'String' literal object isn't clear, there really should be more of a description here...

See Also:
STRING, Constant Field Values
EMF generated code
EMF model element
name="string"
EMF ordered

CHAR_VALUE

public static final int CHAR_VALUE
The 'Char' literal value.

If the meaning of 'Char' literal object isn't clear, there really should be more of a description here...

See Also:
CHAR, Constant Field Values
EMF generated code
EMF model element
name="char"
EMF ordered

VALUES

public static final java.util.List<PrimitiveType> VALUES
A public read-only list of all the 'Primitive Type' enumerators.

EMF generated code
Method Detail

values

public static PrimitiveType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (PrimitiveType c : PrimitiveType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static PrimitiveType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

get

public static PrimitiveType get(java.lang.String literal)
Returns the 'Primitive Type' literal with the specified literal value.

EMF generated code

getByName

public static PrimitiveType getByName(java.lang.String name)
Returns the 'Primitive Type' literal with the specified name.

EMF generated code

get

public static PrimitiveType get(int value)
Returns the 'Primitive Type' literal with the specified integer value.

EMF generated code

getValue

public int getValue()

EMF generated code

getName

public java.lang.String getName()

EMF generated code

getLiteral

public java.lang.String getLiteral()

EMF generated code

toString

public java.lang.String toString()
Returns the literal value of the enumerator, which is its string representation.

Overrides:
toString in class java.lang.Enum<PrimitiveType>
EMF generated code