java.lang.Objectorg.eclipse.emf.common.util.AbstractEnumerator
org.sintef.mofscript.MOFScriptModel.LiteralType
public final class LiteralType
A representation of the literals of the enumeration 'Literal Type', and utility methods for working with them.
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 value |
static LiteralType |
get(java.lang.String name)
Returns the 'Literal Type' literal with the specified name |
Methods inherited from class org.eclipse.emf.common.util.AbstractEnumerator |
---|
getName, getValue, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int STRING
If the meaning of 'STRING' literal object isn't clear, there really should be more of a description here...
STRING_LITERAL
,
Constant Field Valuespublic static final int INTEGER
If the meaning of 'INTEGER' literal object isn't clear, there really should be more of a description here...
INTEGER_LITERAL
,
Constant Field Valuespublic static final int BOOLEAN
If the meaning of 'BOOLEAN' literal object isn't clear, there really should be more of a description here...
BOOLEAN_LITERAL
,
Constant Field Valuespublic static final int REAL
If the meaning of 'REAL' literal object isn't clear, there really should be more of a description here...
REAL_LITERAL
,
Constant Field Valuespublic static final int NULL
If the meaning of 'NULL' literal object isn't clear, there really should be more of a description here...
NULL_LITERAL
,
Constant Field Valuespublic static final LiteralType STRING_LITERAL
STRING
public static final LiteralType INTEGER_LITERAL
INTEGER
public static final LiteralType BOOLEAN_LITERAL
BOOLEAN
public static final LiteralType REAL_LITERAL
REAL
public static final LiteralType NULL_LITERAL
NULL
public static final java.util.List VALUES
Method Detail |
---|
public static LiteralType get(java.lang.String name)
public static LiteralType get(int value)