org.eclipse.ocl.examples.library.executor
Class ExecutorEnumerationLiteral
java.lang.Object
org.eclipse.ocl.examples.library.executor.ExecutorEnumerationLiteral
- All Implemented Interfaces:
- DomainElement, DomainEnumerationLiteral, DomainNamedElement
- Direct Known Subclasses:
- EcoreExecutorEnumerationLiteral
public class ExecutorEnumerationLiteral
- extends java.lang.Object
- implements DomainEnumerationLiteral
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
name
protected final java.lang.String name
enumeration
protected final DomainEnumeration enumeration
ordinal
protected final int ordinal
ExecutorEnumerationLiteral
public ExecutorEnumerationLiteral(java.lang.String name,
DomainEnumeration enumeration,
int ordinal)
asEcoreObject
public java.lang.Object asEcoreObject(DomainStandardLibrary standardLibrary)
- Specified by:
asEcoreObject
in interface DomainEnumerationLiteral
getEnumeration
public DomainEnumeration getEnumeration()
- Specified by:
getEnumeration
in interface DomainEnumerationLiteral
getName
public java.lang.String getName()
- Specified by:
getName
in interface DomainNamedElement
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object