org.eclipse.ocl.examples.domain.elements
Interface DomainEnumeration

All Superinterfaces:
DomainElement, DomainNamedElement, DomainNamespace, DomainType, Nameable, OCLValue
All Known Subinterfaces:
Enumeration
All Known Implementing Classes:
EcoreExecutorEnumeration, EcoreReflectiveEnumeration, EnumerationImpl, EnumerationTypeServer

public interface DomainEnumeration
extends DomainType


Method Summary
 EnumerationId getEnumerationId()
           
 DomainEnumerationLiteral getEnumerationLiteral(java.lang.String name)
           
 java.lang.Iterable<? extends DomainEnumerationLiteral> getEnumerationLiterals()
           
 
Methods inherited from interface org.eclipse.ocl.examples.domain.elements.DomainType
conformsTo, createInstance, createInstance, getCommonType, getInheritance, getLocalOperations, getLocalProperties, getLocalSuperTypes, getMetaTypeName, getName, getNormalizedType, getOwnedAttribute, getOwnedInvariant, getOwnedOperation, getPackage, getTypeId, getTypeParameters, isEqualTo, isEqualToUnspecializedType, isInvalid, isOrdered, isUnique, lookupImplementation, specializeIn
 
Methods inherited from interface org.eclipse.ocl.examples.domain.elements.DomainNamespace
getOwnedRule
 
Methods inherited from interface org.eclipse.ocl.examples.domain.values.OCLValue
oclEquals, oclHashCode
 

Method Detail

getEnumerationId

@NonNull
EnumerationId getEnumerationId()

getEnumerationLiteral

@Nullable
DomainEnumerationLiteral getEnumerationLiteral(@NonNull
                                                        java.lang.String name)

getEnumerationLiterals

@NonNull
java.lang.Iterable<? extends DomainEnumerationLiteral> getEnumerationLiterals()