org.eclipse.ocl.examples.pivot.manager
Class EnumeratorEnumerationLiteral
java.lang.Object
org.eclipse.ocl.examples.library.executor.ExecutorEnumerationLiteral
org.eclipse.ocl.examples.pivot.manager.EnumeratorEnumerationLiteral
- All Implemented Interfaces:
- org.eclipse.emf.common.util.Enumerator, DomainElement, DomainEnumerationLiteral, DomainNamedElement, Nameable
public class EnumeratorEnumerationLiteral
- extends ExecutorEnumerationLiteral
- implements org.eclipse.emf.common.util.Enumerator
An EnumeratorEnumerationLiteral is used as the unboxed representation when no Ecore Enumerator is avaialble. This occurs for
UML-originated EnumersationLiterals.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.emf.common.util.Enumerator |
getName |
EnumeratorEnumerationLiteral
public EnumeratorEnumerationLiteral(@NonNull
java.lang.String enumerationLiteralName,
@NonNull
EnumerationTypeServer enumerationTypeServer,
int ordinal)
getEnumerator
@NonNull
public org.eclipse.emf.common.util.Enumerator getEnumerator()
- Specified by:
getEnumerator
in interface DomainEnumerationLiteral
getLiteral
public java.lang.String getLiteral()
- Specified by:
getLiteral
in interface org.eclipse.emf.common.util.Enumerator
getValue
public int getValue()
- Specified by:
getValue
in interface org.eclipse.emf.common.util.Enumerator