org.eclipse.ocl.examples.pivot
Interface Enumeration

All Superinterfaces:
Class, DataType, DomainElement, DomainEnumeration, DomainNamedElement, DomainNamespace, DomainType, Element, org.eclipse.emf.ecore.EObject, Nameable, NamedElement, Namespace, org.eclipse.emf.common.notify.Notifier, OCLValue, ParameterableElement, PivotObject, TemplateableElement, Type, Visitable
All Known Implementing Classes:
EnumerationImpl

public interface Enumeration
extends DataType, DomainEnumeration

A representation of the model object 'Enumeration'.

See Also:
PivotPackage.getEnumeration()
Generated
Implements:
org.eclipse.ocl.examples.domain.elements.DomainEnumeration An enumeration defines a set of literals that can be used as its values.

The following features are supported:


Method Summary
 java.util.List<EnumerationLiteral> getOwnedLiteral()
          Returns the value of the 'Owned Literal' containment reference list.
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.DataType
getBehavioralType, isSerializable, setBehavioralType, setIsSerializable
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.Class
getNestedType, getOwnedBehavior, isAbstract, isActive, isInterface, setIsAbstract, setIsActive, setIsInterface
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.Type
getExtendedBys, getInstanceClassName, getOwnedAttribute, getOwnedInvariant, getOwnedOperation, getPackage, getSuperClass, setInstanceClassName, setPackage, specializeIn, validateUniqueInvariantName
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.TemplateableElement
getOwnedTemplateSignature, getTemplateBinding, getUnspecializedElement, isTemplate, parameterableElements, setOwnedTemplateSignature, setUnspecializedElement
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.ParameterableElement
getOwningTemplateParameter, getTemplateParameter, isCompatibleWith, isTemplateParameter, setOwningTemplateParameter, setTemplateParameter
 
Methods inherited from interface org.eclipse.ocl.examples.domain.elements.DomainType
conformsTo, createInstance, createInstance, getCommonType, getInheritance, getLocalOperations, getLocalProperties, getLocalSuperTypes, getMetaTypeName, getName, getNormalizedType, 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
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.Namespace
getOwnedRule
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.NamedElement
getName, isStatic, setIsStatic, setName
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.Element
allOwnedElements, getETarget, getExtension, getOwnedAnnotation, getOwnedComment, getValue
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.util.Visitable
accept, eClass
 
Methods inherited from interface org.eclipse.ocl.examples.domain.elements.DomainEnumeration
getEnumerationId, getEnumerationLiteral, getEnumerationLiterals
 

Method Detail

getOwnedLiteral

@NonNull
java.util.List<EnumerationLiteral> getOwnedLiteral()
Returns the value of the 'Owned Literal' containment reference list. The list contents are of type EnumerationLiteral. It is bidirectional and its opposite is 'Enumeration'. The ordered set of literals for this Enumeration.

Returns:
the value of the 'Owned Literal' containment reference list.
See Also:
PivotPackage.getEnumeration_OwnedLiteral(), EnumerationLiteral.getEnumeration()
Generated