org.infolayer.model.op
Class OpBoolean

java.lang.Object
  extended byorg.infolayer.model.PredefinedOperation
      extended byorg.infolayer.model.op.OpBoolean
All Implemented Interfaces:
OperationImpl, ToSql

public class OpBoolean
extends PredefinedOperation
implements ToSql

Defines boolean OCL operations.


Field Summary
 
Fields inherited from interface org.infolayer.model.OperationImpl
DETERMINISTIC, IL_EXTENSION, NO_PARAMETER, QUERY, SIDE_EFFECTS
 
Constructor Summary
OpBoolean(UmlModel model, int op)
           
 
Method Summary
 java.lang.Object eval(java.lang.Object self, OclExpression[] param, Bindings context)
           
 UmlClassifier[] getParameterTypes()
           
 UmlClassifier getType()
           
static void register(UmlClassifier b)
           
 java.lang.String toSql(int match, java.util.Map fieldMap, OclExpression[] par)
           
 java.lang.String toSqlDoc()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpBoolean

public OpBoolean(UmlModel model,
                 int op)
Method Detail

register

public static void register(UmlClassifier b)

getType

public UmlClassifier getType()
Specified by:
getType in interface OperationImpl

getParameterTypes

public UmlClassifier[] getParameterTypes()
Specified by:
getParameterTypes in interface OperationImpl

eval

public java.lang.Object eval(java.lang.Object self,
                             OclExpression[] param,
                             Bindings context)
Specified by:
eval in interface OperationImpl
Overrides:
eval in class PredefinedOperation

toSql

public java.lang.String toSql(int match,
                              java.util.Map fieldMap,
                              OclExpression[] par)
Specified by:
toSql in interface ToSql

toSqlDoc

public java.lang.String toSqlDoc()