org.eclipse.ocl.examples.pivot
Interface CollectionLiteralExp

All Superinterfaces:
Element, org.eclipse.emf.ecore.EObject, LiteralExp, MonikeredElement, Nameable, NamedElement, org.eclipse.emf.common.notify.Notifier, OclExpression, PivotObject, TypedElement, Visitable
All Known Implementing Classes:
CollectionLiteralExpImpl

public interface CollectionLiteralExp
extends LiteralExp

A representation of the model object 'Collection Literal Exp'.

The following features are supported:

See Also:
PivotPackage.getCollectionLiteralExp()
Generated
Model

Method Summary
 CollectionLiteralPart createPart(org.eclipse.emf.ecore.EClass eClass)
          Creates a new CollectionLiteralPart and appends it to the 'Part' containment reference list.
 CollectionKind getKind()
          Returns the value of the 'Kind' attribute.
 org.eclipse.emf.common.util.EList<CollectionLiteralPart> getParts()
          Returns the value of the 'Part' containment reference list.
 void setKind(CollectionKind value)
          Sets the value of the 'Kind' attribute.
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.TypedElement
getType, setType
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.NamedElement
createOwnedAnnotation, createOwnedRule, getName, getOwnedAnnotations, getOwnedRules, isStatic, setIsStatic, setName
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.MonikeredElement
getMoniker, hasMoniker, setMoniker
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.Element
createOwnedComment, getETarget, getOwnedComments
 
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
 

Method Detail

getKind

CollectionKind getKind()
Returns the value of the 'Kind' attribute. The literals are from the enumeration CollectionKind.

If the meaning of the 'Kind' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Kind' attribute.
See Also:
CollectionKind, setKind(CollectionKind), PivotPackage.getCollectionLiteralExp_Kind()
Generated
Model
required="true" ordered="false"

setKind

void setKind(CollectionKind value)
Sets the value of the 'Kind' attribute.

Parameters:
value - the new value of the 'Kind' attribute.
See Also:
CollectionKind, getKind()
Generated

getParts

org.eclipse.emf.common.util.EList<CollectionLiteralPart> getParts()
Returns the value of the 'Part' containment reference list. The list contents are of type CollectionLiteralPart.

If the meaning of the 'Part' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Part' containment reference list.
See Also:
PivotPackage.getCollectionLiteralExp_Part()
Generated
Model
containment="true"

createPart

CollectionLiteralPart createPart(org.eclipse.emf.ecore.EClass eClass)
Creates a new CollectionLiteralPart and appends it to the 'Part' containment reference list.

Parameters:
eClass - The Ecore class of the CollectionLiteralPart to create.
Returns:
The new CollectionLiteralPart.
See Also:
getParts()
Generated