org.eclipse.ocl.expressions
Interface CollectionItem<C>

All Superinterfaces:
CollectionLiteralPart<C>, org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier, TypedElement<C>, Visitable
All Known Subinterfaces:
CollectionItem, CollectionItem
All Known Implementing Classes:
CollectionItemImpl, CollectionItemImpl, CollectionItemImpl

public interface CollectionItem<C>
extends CollectionLiteralPart<C>

A representation of the model object 'Collection Item'.

The following features are supported:

See Also:
ExpressionsPackage.getCollectionItem()
Generated
Model

Method Summary
 boolean checkItemType(org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
          type = item.type
 OCLExpression<C> getItem()
          Returns the value of the 'Item' containment reference.
 void setItem(OCLExpression<C> value)
          Sets the value of the 'Item' containment reference.
 
Methods inherited from interface org.eclipse.ocl.utilities.TypedElement
getName, getType, setName, setType
 
Methods inherited from interface org.eclipse.ocl.utilities.Visitable
accept
 
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
 

Method Detail

getItem

OCLExpression<C> getItem()
Returns the value of the 'Item' containment reference.

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

Returns:
the value of the 'Item' containment reference.
See Also:
setItem(OCLExpression), ExpressionsPackage.getCollectionItem_Item()
Generated
Model
containment="true" required="true"

setItem

void setItem(OCLExpression<C> value)
Sets the value of the 'Item' containment reference.

Parameters:
value - the new value of the 'Item' containment reference.
See Also:
getItem()
Generated

checkItemType

boolean checkItemType(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                      java.util.Map<java.lang.Object,java.lang.Object> context)
type = item.type

Parameters:
diagnostics - The chain of diagnostics to which problems are to be appended.
context - The cache of context-specific information.
Generated
Model