org.infolayer.model
Class PredefinedOperation

java.lang.Object
  extended byorg.infolayer.model.PredefinedOperation
All Implemented Interfaces:
OperationImpl
Direct Known Subclasses:
OpAny, OpBoolean, OpCollection, OpInfolayerStatic, OpInteger, OpObject, OpType

public abstract class PredefinedOperation
extends java.lang.Object
implements OperationImpl


Field Summary
 
Fields inherited from interface org.infolayer.model.OperationImpl
DETERMINISTIC, IL_EXTENSION, NO_PARAMETER, QUERY, SIDE_EFFECTS
 
Constructor Summary
PredefinedOperation(UmlModel model, int op)
           
 
Method Summary
 java.lang.Object eval(java.lang.Object self, OclExpression[] params, Bindings bindings)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.infolayer.model.OperationImpl
getParameterTypes, getType
 

Constructor Detail

PredefinedOperation

public PredefinedOperation(UmlModel model,
                           int op)
Method Detail

eval

public java.lang.Object eval(java.lang.Object self,
                             OclExpression[] params,
                             Bindings bindings)
Specified by:
eval in interface OperationImpl