org.eclipse.ocl.examples.pivot
Interface Enumeration

All Superinterfaces:
Class, DataType, DomainElement, DomainEnumeration, DomainType, Element, org.eclipse.emf.ecore.EObject, Nameable, NamedElement, Namespace, org.eclipse.emf.common.notify.Notifier, 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
Model

Method Summary
 EnumerationLiteral createOwnedLiteral()
          Creates a new EnumerationLiteral and appends it to the 'Owned Literal' containment reference list.
 org.eclipse.emf.common.util.EList<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
isAbstract, isInterface, setIsAbstract, setIsInterface
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.Type
createOwnedAttribute, createOwnedOperation, createOwnedOperation, getInstanceClassName, getOwnedAttribute, getOwnedOperation, getPackage, getSuperClass, resolveSelfType, setInstanceClassName, setPackage
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.TemplateableElement
createOwnedTemplateSignature, createTemplateBinding, 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, isEqualTo, isEqualToUnspecializedType, isOrdered, isUnique, lookupImplementation
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.NamedElement
createOwnedAnnotation, createOwnedRule, getName, getOwnedAnnotation, getOwnedRule, isStatic, setIsStatic, setName
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.Element
allOwnedElements, createOwnedComment, getETarget, getOwnedComment, validateNotOwnSelf
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.util.Visitable
accept, eClass
 
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.domain.elements.DomainEnumeration
getEnumerationLiteral, getEnumerationLiterals
 

Method Detail

getOwnedLiteral

org.eclipse.emf.common.util.EList<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
Model
opposite="enumeration" containment="true" annotation="http://www.eclipse.org/emf/2002/GenModel get='throw new UnsupportedOperationException(); // FIXME Unimplemented http://www.eclipse.org/ocl/3.1.0/Pivot!Enumeration!ownedLiteral'"

createOwnedLiteral

EnumerationLiteral createOwnedLiteral()
Creates a new EnumerationLiteral and appends it to the 'Owned Literal' containment reference list.

Returns:
The new EnumerationLiteral.
See Also:
getOwnedLiteral()
Generated