|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.ocl.examples.domain.library.AbstractFeature org.eclipse.ocl.examples.domain.library.AbstractIteration org.eclipse.ocl.examples.library.iterator.SelectIteration
public class SelectIteration
SelectIteration realizes the Collection::select() library iteration.
Field Summary | |
---|---|
static SelectIteration |
INSTANCE
|
Constructor Summary | |
---|---|
SelectIteration()
|
Method Summary | |
---|---|
CollectionValue.Accumulator |
createAccumulatorValue(DomainEvaluator evaluator,
DomainType accumulatorType,
DomainType bodyType)
Create the value that will accumulate the iteration results. |
protected Value |
updateAccumulator(DomainIterationManager iterationManager)
Update the accumulatorValue with the bodyValue resulting from the current iteration for which the iterators define the context in the environment. |
Methods inherited from class org.eclipse.ocl.examples.domain.library.AbstractIteration |
---|
evaluateIteration, resolveTerminalValue |
Methods inherited from class org.eclipse.ocl.examples.domain.library.AbstractFeature |
---|
getLibraryValidator, getValidator |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.ocl.examples.domain.library.LibraryFeature |
---|
getValidator |
Field Detail |
---|
public static final SelectIteration INSTANCE
Constructor Detail |
---|
public SelectIteration()
Method Detail |
---|
public CollectionValue.Accumulator createAccumulatorValue(DomainEvaluator evaluator, DomainType accumulatorType, DomainType bodyType)
LibraryIteration
evaluator
- that supervises evaluation
protected Value updateAccumulator(DomainIterationManager iterationManager)
AbstractIteration
updateAccumulator
in class AbstractIteration
iterationManager
- the iteration context
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |