TPTP 4.6.0 Platform Project
Public API Specification

org.eclipse.hyades.models.trace
Enum TRCPrimitiveType

java.lang.Object
  extended by java.lang.Enum<TRCPrimitiveType>
      extended by org.eclipse.hyades.models.trace.TRCPrimitiveType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<TRCPrimitiveType>, org.eclipse.emf.common.util.Enumerator

public enum TRCPrimitiveType
extends java.lang.Enum<TRCPrimitiveType>
implements org.eclipse.emf.common.util.Enumerator

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

See Also:
TracePackage.getTRCPrimitiveType()
Generated
[EMF] Model

Enum Constant Summary
JAVA_BOOLEAN_LITERAL
          The 'JAVA BOOLEAN' literal object
JAVA_BYTE_LITERAL
          The 'JAVA BYTE' literal object
JAVA_CHAR_LITERAL
          The 'JAVA CHAR' literal object
JAVA_DOUBLE_LITERAL
          The 'JAVA DOUBLE' literal object
JAVA_FLOAT_LITERAL
          The 'JAVA FLOAT' literal object
JAVA_INT_LITERAL
          The 'JAVA INT' literal object
JAVA_LONG_LITERAL
          The 'JAVA LONG' literal object
JAVA_REFERENCE_LITERAL
          The 'JAVA REFERENCE' literal object
JAVA_SHORT_LITERAL
          The 'JAVA SHORT' literal object
 
Field Summary
static int JAVA_BOOLEAN
          The 'JAVA BOOLEAN' literal value
static int JAVA_BYTE
          The 'JAVA BYTE' literal value
static int JAVA_CHAR
          The 'JAVA CHAR' literal value
static int JAVA_DOUBLE
          The 'JAVA DOUBLE' literal value
static int JAVA_FLOAT
          The 'JAVA FLOAT' literal value
static int JAVA_INT
          The 'JAVA INT' literal value
static int JAVA_LONG
          The 'JAVA LONG' literal value
static int JAVA_REFERENCE
          The 'JAVA REFERENCE' literal value
static int JAVA_SHORT
          The 'JAVA SHORT' literal value
static java.util.List<TRCPrimitiveType> VALUES
          A public read-only list of all the 'TRC Primitive Type' enumerators
 
Method Summary
static TRCPrimitiveType get(int value)
          Returns the 'TRC Primitive Type' literal with the specified integer value
static TRCPrimitiveType get(java.lang.String literal)
          Returns the 'TRC Primitive Type' literal with the specified literal value
static TRCPrimitiveType getByName(java.lang.String name)
          Returns the 'TRC 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 TRCPrimitiveType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TRCPrimitiveType[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

JAVA_REFERENCE_LITERAL

public static final TRCPrimitiveType JAVA_REFERENCE_LITERAL
The 'JAVA REFERENCE' literal object.

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

See Also:
JAVA_REFERENCE
Generated
[EMF] Ordered

JAVA_BOOLEAN_LITERAL

public static final TRCPrimitiveType JAVA_BOOLEAN_LITERAL
The 'JAVA BOOLEAN' literal object.

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

See Also:
JAVA_BOOLEAN
Generated
[EMF] Ordered

JAVA_BYTE_LITERAL

public static final TRCPrimitiveType JAVA_BYTE_LITERAL
The 'JAVA BYTE' literal object.

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

See Also:
JAVA_BYTE
Generated
[EMF] Ordered

JAVA_CHAR_LITERAL

public static final TRCPrimitiveType JAVA_CHAR_LITERAL
The 'JAVA CHAR' literal object.

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

See Also:
JAVA_CHAR
Generated
[EMF] Ordered

JAVA_SHORT_LITERAL

public static final TRCPrimitiveType JAVA_SHORT_LITERAL
The 'JAVA SHORT' literal object.

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

See Also:
JAVA_SHORT
Generated
[EMF] Ordered

JAVA_INT_LITERAL

public static final TRCPrimitiveType JAVA_INT_LITERAL
The 'JAVA INT' literal object.

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

See Also:
JAVA_INT
Generated
[EMF] Ordered

JAVA_LONG_LITERAL

public static final TRCPrimitiveType JAVA_LONG_LITERAL
The 'JAVA LONG' literal object.

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

See Also:
JAVA_LONG
Generated
[EMF] Ordered

JAVA_FLOAT_LITERAL

public static final TRCPrimitiveType JAVA_FLOAT_LITERAL
The 'JAVA FLOAT' literal object.

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

See Also:
JAVA_FLOAT
Generated
[EMF] Ordered

JAVA_DOUBLE_LITERAL

public static final TRCPrimitiveType JAVA_DOUBLE_LITERAL
The 'JAVA DOUBLE' literal object.

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

See Also:
JAVA_DOUBLE
Generated
[EMF] Ordered
Field Detail

JAVA_REFERENCE

public static final int JAVA_REFERENCE
The 'JAVA REFERENCE' literal value.

See Also:
JAVA_REFERENCE_LITERAL, Constant Field Values
Generated
[EMF] Model
[EMF] Ordered

JAVA_BOOLEAN

public static final int JAVA_BOOLEAN
The 'JAVA BOOLEAN' literal value.

See Also:
JAVA_BOOLEAN_LITERAL, Constant Field Values
Generated
[EMF] Model
[EMF] Ordered

JAVA_BYTE

public static final int JAVA_BYTE
The 'JAVA BYTE' literal value.

See Also:
JAVA_BYTE_LITERAL, Constant Field Values
Generated
[EMF] Model
[EMF] Ordered

JAVA_CHAR

public static final int JAVA_CHAR
The 'JAVA CHAR' literal value.

See Also:
JAVA_CHAR_LITERAL, Constant Field Values
Generated
[EMF] Model
[EMF] Ordered

JAVA_SHORT

public static final int JAVA_SHORT
The 'JAVA SHORT' literal value.

See Also:
JAVA_SHORT_LITERAL, Constant Field Values
Generated
[EMF] Model
[EMF] Ordered

JAVA_INT

public static final int JAVA_INT
The 'JAVA INT' literal value.

See Also:
JAVA_INT_LITERAL, Constant Field Values
Generated
[EMF] Model
[EMF] Ordered

JAVA_LONG

public static final int JAVA_LONG
The 'JAVA LONG' literal value.

See Also:
JAVA_LONG_LITERAL, Constant Field Values
Generated
[EMF] Model
[EMF] Ordered

JAVA_FLOAT

public static final int JAVA_FLOAT
The 'JAVA FLOAT' literal value.

See Also:
JAVA_FLOAT_LITERAL, Constant Field Values
Generated
[EMF] Model
[EMF] Ordered

JAVA_DOUBLE

public static final int JAVA_DOUBLE
The 'JAVA DOUBLE' literal value.

See Also:
JAVA_DOUBLE_LITERAL, Constant Field Values
Generated
[EMF] Model
[EMF] Ordered

VALUES

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

Generated
Method Detail

values

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

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

valueOf

public static TRCPrimitiveType 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

get

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

Generated

getByName

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

Generated

get

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

Generated

getValue

public int getValue()

Specified by:
getValue in interface org.eclipse.emf.common.util.Enumerator
Generated

getName

public java.lang.String getName()

Specified by:
getName in interface org.eclipse.emf.common.util.Enumerator
Generated

getLiteral

public java.lang.String getLiteral()

Specified by:
getLiteral in interface org.eclipse.emf.common.util.Enumerator
Generated

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<TRCPrimitiveType>
Generated

TPTP 4.6.0 Platform Project
Public API Specification