org.infolayer.model.op
Class OpObject

java.lang.Object
  extended byorg.infolayer.model.PredefinedOperation
      extended byorg.infolayer.model.op.OpObject
All Implemented Interfaces:
OperationImpl

public class OpObject
extends PredefinedOperation

Defines OCL operations for Object


Field Summary
static int CAN_READ
           
static int CAN_WRITE
           
static int CLONE
           
static int DELETE
           
static int GET_ID
           
static int LOCK
           
static int ON_CHANGE
           
static int ON_CREATE
           
static int ON_DELETE
           
static int UNLOCK
           
 
Fields inherited from interface org.infolayer.model.OperationImpl
DETERMINISTIC, IL_EXTENSION, NO_PARAMETER, QUERY, SIDE_EFFECTS
 
Constructor Summary
OpObject(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 oa)
           
 
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
 

Field Detail

GET_ID

public static final int GET_ID
See Also:
Constant Field Values

ON_CHANGE

public static final int ON_CHANGE
See Also:
Constant Field Values

ON_CREATE

public static final int ON_CREATE
See Also:
Constant Field Values

ON_DELETE

public static final int ON_DELETE
See Also:
Constant Field Values

CLONE

public static final int CLONE
See Also:
Constant Field Values

DELETE

public static final int DELETE
See Also:
Constant Field Values

CAN_READ

public static final int CAN_READ
See Also:
Constant Field Values

CAN_WRITE

public static final int CAN_WRITE
See Also:
Constant Field Values

LOCK

public static final int LOCK
See Also:
Constant Field Values

UNLOCK

public static final int UNLOCK
See Also:
Constant Field Values
Constructor Detail

OpObject

public OpObject(UmlModel model,
                int op)
Method Detail

register

public static void register(UmlClassifier oa)

getType

public UmlClassifier getType()

getParameterTypes

public UmlClassifier[] getParameterTypes()

eval

public java.lang.Object eval(java.lang.Object[] param)

isQuery

public boolean isQuery()

isDeterministic

public boolean isDeterministic()