org.infolayer.model.op
Class OpBoolean
java.lang.Object
org.infolayer.model.PredefinedOperation
org.infolayer.model.op.OpBoolean
- All Implemented Interfaces:
- OperationImpl, ToSql
- public class OpBoolean
- extends PredefinedOperation
- implements ToSql
Defines boolean OCL operations.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OpBoolean
public OpBoolean(UmlModel model,
int op)
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()