Class EnumLiteral
java.lang.Object
org.eclipse.m2m.atl.engine.emfvm.lib.EnumLiteral
- All Implemented Interfaces:
HasFields
Enumeration literal implementation.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an unnamed EnumLiteral.EnumLiteral
(String name) Creates an EnumLiteral with the given name. -
Method Summary
Modifier and TypeMethodDescriptionboolean
get
(AbstractStackFrame frame, Object literalName) Gets a value.int
hashCode()
void
set
(AbstractStackFrame frame, Object literalName, Object value) Sets a value to the object.void
toString()
void
unset
(AbstractStackFrame frame, Object name) Unsets a value to the object.
-
Constructor Details
-
EnumLiteral
public EnumLiteral()Creates an unnamed EnumLiteral. -
EnumLiteral
Creates an EnumLiteral with the given name.- Parameters:
name
- the name
-
-
Method Details
-
setName
-
toString
-
get
Gets a value. -
set
Sets a value to the object. -
unset
Unsets a value to the object. -
hashCode
public int hashCode() -
equals
-