org.sintef.mofscript.MOFScriptModel
Class LiteralType

java.lang.Object
  extended by org.eclipse.emf.common.util.AbstractEnumerator
      extended by org.sintef.mofscript.MOFScriptModel.LiteralType
All Implemented Interfaces:
org.eclipse.emf.common.util.Enumerator

public final class LiteralType
extends org.eclipse.emf.common.util.AbstractEnumerator

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

See Also:
MOFScriptModelPackage.getLiteralType()

Field Summary
static int BOOLEAN
          The 'BOOLEAN' literal value
static LiteralType BOOLEAN_LITERAL
          The 'BOOLEAN' literal object
static int INTEGER
          The 'INTEGER' literal value
static LiteralType INTEGER_LITERAL
          The 'INTEGER' literal object
static int NULL
          The 'NULL' literal value
static LiteralType NULL_LITERAL
          The 'NULL' literal object
static int REAL
          The 'REAL' literal value
static LiteralType REAL_LITERAL
          The 'REAL' literal object
static int STRING
          The 'STRING' literal value
static LiteralType STRING_LITERAL
          The 'STRING' literal object
static java.util.List 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
 
Methods inherited from class org.eclipse.emf.common.util.AbstractEnumerator
getLiteral, getName, getValue, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

STRING

public static final int STRING
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_LITERAL, Constant Field Values

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

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

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

NULL

public static final int NULL
The 'NULL' literal value.

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

See Also:
NULL_LITERAL, Constant Field Values

STRING_LITERAL

public static final LiteralType STRING_LITERAL
The 'STRING' literal object.

See Also:
STRING

INTEGER_LITERAL

public static final LiteralType INTEGER_LITERAL
The 'INTEGER' literal object.

See Also:
INTEGER

BOOLEAN_LITERAL

public static final LiteralType BOOLEAN_LITERAL
The 'BOOLEAN' literal object.

See Also:
BOOLEAN

REAL_LITERAL

public static final LiteralType REAL_LITERAL
The 'REAL' literal object.

See Also:
REAL

NULL_LITERAL

public static final LiteralType NULL_LITERAL
The 'NULL' literal object.

See Also:
NULL

VALUES

public static final java.util.List VALUES
A public read-only list of all the 'Literal Type' enumerators.

Method Detail

get

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


getByName

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


get

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