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

Method Summary
 EnumerationLiteral createOwnedLiteral()
          Creates a new EnumerationLiteral and appends it to the 'Owned Literal' containment reference list.
 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
createOwnedBehavior, createOwnedBehavior, getOwnedBehavior, isAbstract, isInterface, setIsAbstract, setIsInterface
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.Type
createOwnedAttribute, createOwnedInvariant, createOwnedOperation, createOwnedOperation, getInstanceClassName, getOwnedAttribute, getOwnedInvariant, getOwnedOperation, getPackage, getSuperClass, setInstanceClassName, setPackage, specializeIn, validateUniqueInvariantName
 
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, 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
createOwnedRule, getOwnedRule
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.NamedElement
createOwnedAnnotation, getName, getOwnedAnnotation, isStatic, setIsStatic, setName
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.Element
allOwnedElements, createExtension, createOwnedComment, getETarget, getExtension, 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

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

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