|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.ocl.examples.domain.library.AbstractFeature
org.eclipse.ocl.examples.domain.library.AbstractIteration
org.eclipse.ocl.examples.library.iterator.OneIteration
public class OneIteration
OneIteration realizes the Collection::one() library iteration.
| Field Summary | |
|---|---|
static OneIteration |
INSTANCE
|
| Constructor Summary | |
|---|---|
OneIteration()
|
|
| Method Summary | |
|---|---|
BooleanValue.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 OneIteration INSTANCE
| Constructor Detail |
|---|
public OneIteration()
| Method Detail |
|---|
public BooleanValue.Accumulator createAccumulatorValue(DomainEvaluator evaluator,
DomainType accumulatorType,
DomainType bodyType)
LibraryIteration
evaluator - that supervises evaluation
protected Value updateAccumulator(DomainIterationManager iterationManager)
AbstractIteration
updateAccumulator in class AbstractIterationiterationManager - the iteration context
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||