|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.m2m.atl.engine.vm.nativelib.ASMNativeObject
org.eclipse.m2m.atl.engine.vm.nativelib.ASMOclAny
org.eclipse.m2m.atl.engine.vm.nativelib.ASMOclType
org.eclipse.m2m.atl.engine.vm.nativelib.ASMModelElement
org.eclipse.m2m.atl.drivers.emf4atl.ASMEMFModelElement
org.eclipse.m2m.atl.drivers.uml24atl.ASMUMLModelElement
public class ASMUMLModelElement
The UMLspecific implementation for ASMModelElement
.
Field Summary |
---|
Fields inherited from class org.eclipse.m2m.atl.drivers.emf4atl.ASMEMFModelElement |
---|
object |
Fields inherited from class org.eclipse.m2m.atl.engine.vm.nativelib.ASMOclType |
---|
myType |
Fields inherited from class org.eclipse.m2m.atl.engine.vm.nativelib.ASMNativeObject |
---|
nativeImpl |
Constructor Summary | |
---|---|
protected |
ASMUMLModelElement(java.util.Map modelElements,
ASMModel model,
org.eclipse.emf.ecore.EObject object)
Creates a new ASMUMLModelElement . |
Method Summary | |
---|---|
ASMOclAny |
invoke(StackFrame frame,
java.lang.String opName,
java.util.List arguments)
Searches for Operation opName in this context and invokes it if found. |
ASMOclAny |
invokeSuper(StackFrame frame,
java.lang.String opName,
java.util.List arguments)
Searches for Operation opName in the superclass context and invokes it if found. |
static ASMModelElement |
newInstance(StackFrame frame,
ASMUMLModelElement self)
Creates a new instance of the given type. |
static ASMModelElement |
newInstanceIn(StackFrame frame,
ASMUMLModelElement self,
ASMString modelName)
Creates a new instance of a given type. |
ASMOclAny |
realInvoke(StackFrame frame,
java.lang.String opName,
java.util.List arguments)
Immediate invocation of the operation. |
protected static void |
registerMOFOperation(java.lang.String modelelementName,
java.lang.String methodName,
java.lang.Class[] args)
Registers MOF operations. |
Methods inherited from class org.eclipse.m2m.atl.drivers.emf4atl.ASMEMFModelElement |
---|
allInstances, allInstancesFrom, asm2EMF, conformsTo, emf2ASM, finalize, findMethod, get, getEENumLiteral, getInstanceById, getObject, getProperty, getPropertyType, newInstance, newInstanceIn, refImmediateComposite, set, unset |
Methods inherited from class org.eclipse.m2m.atl.engine.vm.nativelib.ASMModelElement |
---|
createNewInstance, getAcquaintance, getMetaobject, getModel, getName, lookupElementExtended, otherEnd, setMetaobject, setName, toString |
Methods inherited from class org.eclipse.m2m.atl.engine.vm.nativelib.ASMOclType |
---|
addSupertype, conformsTo, getName, getSupertypes, getVMOperations, registerHelperAttribute, registerVMOperation, registerWeavingHelper |
Methods inherited from class org.eclipse.m2m.atl.engine.vm.nativelib.ASMOclAny |
---|
asBag, asSequence, asSet, check, debug, findOperation, findOperation, getHelper, getNamedTargetFromSource, getOclAnyType, getType, invoke, isHelper, oclIsKindOf, oclIsTypeOf, oclIsUndefined, oclType, operatorEQ, operatorNE, output, refGetValue, refImmediateComposite, refInvokeOperation, refSetValue, refUnsetValue, setType, toString |
Methods inherited from class org.eclipse.m2m.atl.engine.vm.nativelib.ASMNativeObject |
---|
getNativeImpl |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected ASMUMLModelElement(java.util.Map modelElements, ASMModel model, org.eclipse.emf.ecore.EObject object)
ASMUMLModelElement
.
modelElements
- the model elements mapmodel
- the modelobject
- the EObject
Method Detail |
---|
protected static void registerMOFOperation(java.lang.String modelelementName, java.lang.String methodName, java.lang.Class[] args) throws java.lang.Exception
modelelementName
- the model element namemethodName
- the method nameargs
- the method arguments types
java.lang.Exception
public static ASMModelElement newInstance(StackFrame frame, ASMUMLModelElement self)
frame
- the frame contextself
- the type
public static ASMModelElement newInstanceIn(StackFrame frame, ASMUMLModelElement self, ASMString modelName)
frame
- the frame contextself
- the given typemodelName
- the model where to create the element
public ASMOclAny invoke(StackFrame frame, java.lang.String opName, java.util.List arguments)
invoke
in class ASMEMFModelElement
frame
- the environmentopName
- the name of the operation to invoke or delayarguments
- arguments of the method
ASMEMFModelElement.invoke(org.eclipse.m2m.atl.engine.vm.StackFrame,
java.lang.String, java.util.List)
public ASMOclAny invokeSuper(StackFrame frame, java.lang.String opName, java.util.List arguments)
invokeSuper
in class ASMEMFModelElement
frame
- The current stack frameopName
- The Operation's namearguments
- The operation arguments, excluding self
ASMEMFModelElement.invokeSuper(org.eclipse.m2m.atl.engine.vm.StackFrame,
java.lang.String, java.util.List)
public ASMOclAny realInvoke(StackFrame frame, java.lang.String opName, java.util.List arguments)
frame
- the environmentopName
- the name of the operation to invokearguments
- the arguments of the operation
|
Copyright 2007 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |