uk.ac.ucl.cs.emofocl.ocl.library
Interface LibraryOperation

All Known Implementing Classes:
AndOp, DivideOp, EqualsOp, GreaterThanOp, GreaterThanOrEqualsOp, ImpliesOp, LessThanOp, LessThanOrEqualsOp, MinusOp, NegationOp, NotEqualsOp, NotOp, OrOp, TimesOp, XOrOp

public interface LibraryOperation

Author:
James

Method Summary
 void checkArguments(Specification specification, Type sourceType, List arguments)
           
 Object evaluate(Object source, List arguments)
           
 LibraryOperationKind getKind()
           
 Type getType(Specification specification, Type sourceType, List arguments)
           
 

Method Detail

getKind

LibraryOperationKind getKind()

getType

Type getType(Specification specification,
             Type sourceType,
             List arguments)

checkArguments

void checkArguments(Specification specification,
                    Type sourceType,
                    List arguments)
                    throws LibraryException
Throws:
LibraryException

evaluate

Object evaluate(Object source,
                List arguments)
                throws LibraryException
Throws:
LibraryException