org.eclipse.ocl.expressions.impl
Class LoopExpImpl<C,PM>
java.lang.Object
org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.EObjectImpl
org.eclipse.ocl.expressions.impl.OCLExpressionImpl<C>
org.eclipse.ocl.expressions.impl.CallExpImpl<C>
org.eclipse.ocl.expressions.impl.LoopExpImpl<C,PM>
- All Implemented Interfaces:
- Notifier, EObject, InternalEObject, CallExp<C>, LoopExp<C,PM>, OCLExpression<C>, ASTNode, CallingASTNode, TypedElement<C>, Visitable
- Direct Known Subclasses:
- IterateExpImpl, IteratorExpImpl
public abstract class LoopExpImpl<C,PM>
- extends CallExpImpl<C>
- implements LoopExp<C,PM>
An implementation of the model object 'Loop Exp'.
The following features are implemented:
Method Summary |
NotificationChain |
basicSetBody(OCLExpression<C> newBody,
NotificationChain msgs)
|
boolean |
checkLoopVariableInit(DiagnosticChain diagnostics,
Map<Object,Object> context)
|
boolean |
checkLoopVariableType(DiagnosticChain diagnostics,
Map<Object,Object> context)
|
boolean |
checkSourceCollection(DiagnosticChain diagnostics,
Map<Object,Object> context)
|
Object |
eGet(int featureID,
boolean resolve,
boolean coreType)
|
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
|
boolean |
eIsSet(int featureID)
|
void |
eSet(int featureID,
Object newValue)
|
protected EClass |
eStaticClass()
|
void |
eUnset(int featureID)
|
OCLExpression<C> |
getBody()
|
EList<Variable<C,PM>> |
getIterator()
|
void |
setBody(OCLExpression<C> newBody)
|
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI |
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
eAddVirtualValue, eAllContents, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
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, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
body
protected OCLExpression<C> body
- The cached value of the '
Body
' containment reference.
- See Also:
getBody()
iterator
protected EList<Variable<C,PM>> iterator
- The cached value of the '
Iterator
' containment reference list.
- See Also:
getIterator()
LoopExpImpl
protected LoopExpImpl()
-
eStaticClass
protected EClass eStaticClass()
-
- Overrides:
eStaticClass
in class CallExpImpl<C>
getBody
public OCLExpression<C> getBody()
-
- Specified by:
getBody
in interface LoopExp<C,PM>
- Returns:
- the value of the 'Body' containment reference.
- See Also:
LoopExp.setBody(OCLExpression)
,
ExpressionsPackage.getLoopExp_Body()
basicSetBody
public NotificationChain basicSetBody(OCLExpression<C> newBody,
NotificationChain msgs)
-
setBody
public void setBody(OCLExpression<C> newBody)
-
- Specified by:
setBody
in interface LoopExp<C,PM>
- Parameters:
newBody
- the new value of the 'Body' containment reference.- See Also:
LoopExp.getBody()
getIterator
public EList<Variable<C,PM>> getIterator()
-
- Specified by:
getIterator
in interface LoopExp<C,PM>
- Returns:
- the value of the 'Iterator' containment reference list.
- See Also:
ExpressionsPackage.getLoopExp_Iterator()
checkSourceCollection
public boolean checkSourceCollection(DiagnosticChain diagnostics,
Map<Object,Object> context)
-
- Specified by:
checkSourceCollection
in interface LoopExp<C,PM>
- Parameters:
diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.
checkLoopVariableInit
public boolean checkLoopVariableInit(DiagnosticChain diagnostics,
Map<Object,Object> context)
-
- Specified by:
checkLoopVariableInit
in interface LoopExp<C,PM>
- Parameters:
diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.
checkLoopVariableType
public boolean checkLoopVariableType(DiagnosticChain diagnostics,
Map<Object,Object> context)
-
- Specified by:
checkLoopVariableType
in interface LoopExp<C,PM>
- Parameters:
diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.
eInverseRemove
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
-
- Overrides:
eInverseRemove
in class CallExpImpl<C>
eGet
public Object eGet(int featureID,
boolean resolve,
boolean coreType)
-
- Specified by:
eGet
in interface InternalEObject
- Overrides:
eGet
in class CallExpImpl<C>
eSet
public void eSet(int featureID,
Object newValue)
-
- Specified by:
eSet
in interface InternalEObject
- Overrides:
eSet
in class CallExpImpl<C>
eUnset
public void eUnset(int featureID)
-
- Specified by:
eUnset
in interface InternalEObject
- Overrides:
eUnset
in class CallExpImpl<C>
eIsSet
public boolean eIsSet(int featureID)
-
- Specified by:
eIsSet
in interface InternalEObject
- Overrides:
eIsSet
in class CallExpImpl<C>