org.infolayer.model.op
Class OpInteger

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

public class OpInteger
extends PredefinedOperation
implements ToSql

Registers the integer OCL methods


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

Constructor Detail

OpInteger

public OpInteger(UmlModel model,
                 int op)
Method Detail

register

public static void register(UmlClassifier i)

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[] param)

isQuery

public boolean isQuery()

isDeterministic

public boolean isDeterministic()

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()