org.eclipse.ocl.ecore.impl
Class LoopExpImpl
java.lang.Object
ETypedElementImpl
org.eclipse.ocl.ecore.impl.OCLExpressionImpl
org.eclipse.ocl.ecore.impl.CallExpImpl
org.eclipse.ocl.ecore.impl.LoopExpImpl
- All Implemented Interfaces:
- CallExp<EClassifier>, LoopExp<EClassifier,EParameter>, OCLExpression<EClassifier>, ASTNode, CallingASTNode, TypedElement<EClassifier>, Visitable
- Direct Known Subclasses:
- IterateExpImpl, IteratorExpImpl
public abstract class LoopExpImpl
- extends CallExpImpl
- implements LoopExp
An implementation of the model object 'Loop Exp'.
The following features are implemented:
|
Field Summary |
protected OCLExpression<EClassifier> |
body
The cached value of the 'Body' containment reference |
protected |
iterator
The cached value of the 'Iterator' containment reference list |
|
Method Summary |
NotificationChain |
basicSetBody(OCLExpression<EClassifier> newBody,
NotificationChain msgs)
|
boolean |
checkLoopVariableInit(DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
|
boolean |
checkLoopVariableType(DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
|
boolean |
checkSourceCollection(DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
|
int |
eBaseStructuralFeatureID(int derivedFeatureID,
java.lang.Class<?> baseClass)
|
int |
eDerivedStructuralFeatureID(int baseFeatureID,
java.lang.Class<?> baseClass)
|
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType)
|
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
|
boolean |
eIsSet(int featureID)
|
void |
eSet(int featureID,
java.lang.Object newValue)
|
protected EClass |
eStaticClass()
|
void |
eUnset(int featureID)
|
OCLExpression<EClassifier> |
getBody()
|
|
getIterator()
|
void |
setBody(OCLExpression<EClassifier> newBody)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.ocl.utilities.Visitable |
accept |
| Methods inherited from interface org.eclipse.ocl.utilities.Visitable |
accept |
| Methods inherited from interface org.eclipse.ocl.utilities.Visitable |
accept |
body
protected OCLExpression<EClassifier> body
- The cached value of the '
Body' containment reference.
- See Also:
getBody()
iterator
protected 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
getBody
public OCLExpression<EClassifier> getBody()
-
- Specified by:
getBody in interface LoopExp<EClassifier,EParameter>
- Returns:
- the value of the 'Body' containment reference.
- See Also:
LoopExp.setBody(OCLExpression),
ExpressionsPackage.getLoopExp_Body()
basicSetBody
public NotificationChain basicSetBody(OCLExpression<EClassifier> newBody,
NotificationChain msgs)
-
setBody
public void setBody(OCLExpression<EClassifier> newBody)
-
getIterator
public getIterator()
-
- Specified by:
getIterator in interface LoopExp<EClassifier,EParameter>
- Returns:
- the value of the 'Iterator' containment reference list.
- See Also:
ExpressionsPackage.getLoopExp_Iterator()
checkSourceCollection
public boolean checkSourceCollection(DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
-
checkLoopVariableInit
public boolean checkLoopVariableInit(DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
-
checkLoopVariableType
public boolean checkLoopVariableType(DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
-
eInverseRemove
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
-
- Overrides:
eInverseRemove in class CallExpImpl
eGet
public java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
-
- Overrides:
eGet in class CallExpImpl
eSet
public void eSet(int featureID,
java.lang.Object newValue)
-
- Overrides:
eSet in class CallExpImpl
eUnset
public void eUnset(int featureID)
-
- Overrides:
eUnset in class CallExpImpl
eIsSet
public boolean eIsSet(int featureID)
-
- Overrides:
eIsSet in class CallExpImpl
eBaseStructuralFeatureID
public int eBaseStructuralFeatureID(int derivedFeatureID,
java.lang.Class<?> baseClass)
-
- Overrides:
eBaseStructuralFeatureID in class CallExpImpl
eDerivedStructuralFeatureID
public int eDerivedStructuralFeatureID(int baseFeatureID,
java.lang.Class<?> baseClass)
-
- Overrides:
eDerivedStructuralFeatureID in class CallExpImpl