| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.ocl.examples.library.AbstractFeature
org.eclipse.ocl.examples.library.AbstractOperation
org.eclipse.ocl.examples.library.enumeration.EnumerationAllInstancesOperation
public class EnumerationAllInstancesOperation
EnumerationAllInstancesOperation realises the Enumeration::allInstances() library operation.
| Field Summary | |
|---|---|
static EnumerationAllInstancesOperation | 
INSTANCE
 | 
| Constructor Summary | |
|---|---|
EnumerationAllInstancesOperation()
 | 
|
| Method Summary | |
|---|---|
 Value | 
evaluate(EvaluationVisitor evaluationVisitor,
         Value sourceVal,
         OperationCallExp operationCall)
Return the result of evaluating operationCall upon sourceVal within the environment provided by EvaluationVisitor.  | 
| Methods inherited from class org.eclipse.ocl.examples.library.AbstractOperation | 
|---|
evaluate, evaluateArgument, getNumArguments | 
| Methods inherited from class org.eclipse.ocl.examples.library.AbstractFeature | 
|---|
validate | 
| 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.pivot.evaluation.CallableImplementation | 
|---|
validate | 
| Field Detail | 
|---|
public static final EnumerationAllInstancesOperation INSTANCE
| Constructor Detail | 
|---|
public EnumerationAllInstancesOperation()
| Method Detail | 
|---|
public Value evaluate(EvaluationVisitor evaluationVisitor,
                      Value sourceVal,
                      OperationCallExp operationCall)
               throws InvalidValueException
LibraryOperation
evaluationVisitor - the evaluation contextsourceVal - the source operand for the operationoperationCall - the operation and additional arguments
InvalidValueException
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||