org.infolayer.model
Class OpImplJava
java.lang.Object
org.infolayer.model.OpImplJava
- All Implemented Interfaces:
- OperationImpl
- public class OpImplJava
- extends java.lang.Object
- implements OperationImpl
- Author:
- haustein
To change the template for this generated type comment go to
Window>Preferences>Java>Code Generation>Code and Comments
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OpImplJava
public OpImplJava(UmlModel model,
java.lang.Class cls,
java.lang.String name)
OpImplJava
public OpImplJava(UmlModel model,
java.lang.reflect.Method javaMethod)
getBoxClass
public static java.lang.Class getBoxClass(java.lang.Class c)
generalize
public static java.lang.Class generalize(java.lang.Class c)
generalize
public static java.lang.Object generalize(java.lang.Object o)
specialize
public static java.lang.Object specialize(java.lang.Object o,
java.lang.Class dst)
setDynamicTypes
public OpImplJava setDynamicTypes(int dynRetType,
int[] dynParType)
setDynamicTypes
public OpImplJava setDynamicTypes(int dynRetType,
int dynParType)
eval
public java.lang.Object eval(java.lang.Object self,
OclExpression[] param,
Bindings bindings)
- Specified by:
eval
in interface OperationImpl
setType
public OpImplJava setType(UmlClassifier type)
getType
public UmlClassifier getType()
- Specified by:
getType
in interface OperationImpl
getParameterTypes
public UmlClassifier[] getParameterTypes()
- Specified by:
getParameterTypes
in interface OperationImpl
getSignature
public java.lang.String getSignature(UmlClassifier owner)
addAllJavaMethods
public static void addAllJavaMethods(UmlClassifier uc)