public interface LoopExp<C,PM> extends CallExp<C>
The following features are supported:
ExpressionsPackage.getLoopExp()| Modifier and Type | Method and Description |
|---|---|
boolean |
checkLoopVariableInit(DiagnosticChain diagnostics,
Map<Object,Object> context)
self.iterator->forAll(initExpression->isEmpty())
|
boolean |
checkLoopVariableType(DiagnosticChain diagnostics,
Map<Object,Object> context)
self.iterator->forAll(type = source.type.oclAsType(CollectionType).elementType)
|
boolean |
checkSourceCollection(DiagnosticChain diagnostics,
Map<Object,Object> context)
source.type.oclIsKindOf(CollectionType)
|
OCLExpression<C> |
getBody()
Returns the value of the 'Body' containment reference.
|
<any> |
getIterator()
Returns the value of the 'Iterator' containment reference list.
|
void |
setBody(OCLExpression<C> value)
Sets the value of the '
Body' containment reference. |
getName, getType, setName, setTypegetPropertyEndPosition, getPropertyStartPosition, setPropertyEndPosition, setPropertyStartPositiongetEndPosition, getStartPosition, setEndPosition, setStartPositionOCLExpression<C> getBody()
If the meaning of the 'Body' containment reference isn't clear, there really should be more of a description here...
setBody(OCLExpression),
ExpressionsPackage.getLoopExp_Body()void setBody(OCLExpression<C> value)
Body' containment reference.
value - the new value of the 'Body' containment reference.getBody()<any> getIterator()
Variable<C, PM>.
If the meaning of the 'Iterator' containment reference list isn't clear, there really should be more of a description here...
ExpressionsPackage.getLoopExp_Iterator()boolean checkSourceCollection(DiagnosticChain diagnostics,
Map<Object,Object> context)
diagnostics - The chain of diagnostics to which problems are to be appended.context - The cache of context-specific information.
boolean checkLoopVariableInit(DiagnosticChain diagnostics,
Map<Object,Object> context)
diagnostics - The chain of diagnostics to which problems are to be appended.context - The cache of context-specific information.
boolean checkLoopVariableType(DiagnosticChain diagnostics,
Map<Object,Object> context)
diagnostics - The chain of diagnostics to which problems are to be appended.context - The cache of context-specific information.
Copyright © 2015 Open eHealth Foundation. All rights reserved.