SAM

org.topcased.sam
Enum DataType

java.lang.Object
  extended by java.lang.Enum<DataType>
      extended by org.topcased.sam.DataType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<DataType>, Enumerator

public enum DataType
extends java.lang.Enum<DataType>
implements Enumerator

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

See Also:
SAMPackage.getDataType()
** Generated **
Model:

Enum Constant Summary
BOOLEAN_LITERAL
          The 'Boolean' literal object
DOUBLE_LITERAL
          The 'Double' literal object
FLOAT_LITERAL
          The 'Float' literal object
INTEGER_LITERAL
          The 'Integer' literal object
REAL_LITERAL
          The 'Real' literal object
 
Field Summary
static int BOOLEAN
          The 'Boolean' literal value
static java.lang.String copyright
           
static int DOUBLE
          The 'Double' literal value
static int FLOAT
          The 'Float' literal value
static int INTEGER
          The 'Integer' literal value
static int REAL
          The 'Real' literal value
static java.util.List<DataType> VALUES
          A public read-only list of all the 'Data Type' enumerators
 
Method Summary
static DataType get(int value)
          Returns the 'Data Type' literal with the specified integer value
static DataType get(java.lang.String literal)
          Returns the 'Data Type' literal with the specified literal value
static DataType getByName(java.lang.String name)
          Returns the 'Data 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 DataType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static DataType[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

INTEGER_LITERAL

public static final DataType INTEGER_LITERAL
The 'Integer' literal object.

See Also:
INTEGER
** Generated **
Ordered:

REAL_LITERAL

public static final DataType REAL_LITERAL
The 'Real' literal object.

See Also:
REAL
** Generated **
Ordered:

FLOAT_LITERAL

public static final DataType FLOAT_LITERAL
The 'Float' literal object.

See Also:
FLOAT
** Generated **
Ordered:

DOUBLE_LITERAL

public static final DataType DOUBLE_LITERAL
The 'Double' literal object.

See Also:
DOUBLE
** Generated **
Ordered:

BOOLEAN_LITERAL

public static final DataType BOOLEAN_LITERAL
The 'Boolean' literal object.

See Also:
BOOLEAN
** Generated **
Ordered:
Field Detail

copyright

public static final java.lang.String copyright

See Also:
Constant Field Values
** Generated **

INTEGER

public static final int INTEGER
The 'Integer' literal value.

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

See Also:
INTEGER_LITERAL, Constant Field Values
** Generated **
Ordered:
Model:
name="Integer"

REAL

public static final int REAL
The 'Real' literal value.

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

See Also:
REAL_LITERAL, Constant Field Values
** Generated **
Ordered:
Model:
name="Real"

FLOAT

public static final int FLOAT
The 'Float' literal value.

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

See Also:
FLOAT_LITERAL, Constant Field Values
** Generated **
Ordered:
Model:
name="Float"

DOUBLE

public static final int DOUBLE
The 'Double' literal value.

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

See Also:
DOUBLE_LITERAL, Constant Field Values
** Generated **
Ordered:
Model:
name="Double"

BOOLEAN

public static final int BOOLEAN
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_LITERAL, Constant Field Values
** Generated **
Ordered:
Model:
name="Boolean"

VALUES

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

** Generated **
Method Detail

values

public static final DataType[] 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(DataType c : DataType.values())
        System.out.println(c);

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

valueOf

public static DataType 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 DataType get(java.lang.String literal)
Returns the 'Data Type' literal with the specified literal value.

** Generated **

getByName

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

** Generated **

get

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

** Generated **

getValue

public int getValue()

Specified by:
getValue in interface Enumerator
** Generated **

getName

public java.lang.String getName()

Specified by:
getName in interface Enumerator
** Generated **

getLiteral

public java.lang.String getLiteral()

Specified by:
getLiteral in interface 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<DataType>
** Generated **

SAM

Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.