|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.ocl.expressions.operations.LoopExpOperations
org.eclipse.ocl.expressions.operations.IterateExpOperations
public class IterateExpOperations
A static utility class that provides operations related to 'Iterate Exp' model objects.
The following operations are supported:
| Constructor Summary | |
|---|---|
protected |
IterateExpOperations()
|
| Method Summary | ||
|---|---|---|
static
|
checkBodyType(IterateExp<C,PM> iterateExp,
DiagnosticChain diagnostics,
Map<Object,Object> context)
body.type.conformsTo(result.type) |
|
static
|
checkIterateType(IterateExp<C,PM> iterateExp,
DiagnosticChain diagnostics,
Map<Object,Object> context)
type = result.type |
|
static
|
checkResultInit(IterateExp<C,PM> iterateExp,
DiagnosticChain diagnostics,
Map<Object,Object> context)
self.result.initExpression->size() = 1 |
|
| Methods inherited from class org.eclipse.ocl.expressions.operations.LoopExpOperations |
|---|
checkLoopVariableInit, checkLoopVariableType, checkSourceCollection |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected IterateExpOperations()
| Method Detail |
|---|
public static <C,PM> boolean checkIterateType(IterateExp<C,PM> iterateExp,
DiagnosticChain diagnostics,
Map<Object,Object> context)
iterateExp - The receiving 'Iterate Exp' model object.diagnostics - The chain of diagnostics to which problems are to be appended.context - The cache of context-specific information.
public static <C,PM> boolean checkBodyType(IterateExp<C,PM> iterateExp,
DiagnosticChain diagnostics,
Map<Object,Object> context)
iterateExp - The receiving 'Iterate Exp' model object.diagnostics - The chain of diagnostics to which problems are to be appended.context - The cache of context-specific information.
public static <C,PM> boolean checkResultInit(IterateExp<C,PM> iterateExp,
DiagnosticChain diagnostics,
Map<Object,Object> context)
iterateExp - The receiving 'Iterate Exp' model object.diagnostics - The chain of diagnostics to which problems are to be appended.context - The cache of context-specific information.
|
Copyright 2002, 2007 IBM Corporation and others. All Rights Reserved. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||