Class ASMUMLModel
java.lang.Object
org.eclipse.m2m.atl.engine.vm.nativelib.ASMNativeObject
org.eclipse.m2m.atl.engine.vm.nativelib.ASMOclAny
org.eclipse.m2m.atl.engine.vm.nativelib.ASMModel
org.eclipse.m2m.atl.drivers.emf4atl.ASMEMFModel
org.eclipse.m2m.atl.drivers.uml24atl.ASMUMLModel
The UML implementation of ASMModel.
-
Field Summary
Fields inherited from class org.eclipse.m2m.atl.drivers.emf4atl.ASMEMFModel
extent, modelElements, referencedExtents, resolveURI
Fields inherited from class org.eclipse.m2m.atl.engine.vm.nativelib.ASMNativeObject
nativeImpl
-
Constructor Summary
ModifierConstructorDescriptionprotected
ASMUMLModel
(String name, org.eclipse.emf.ecore.resource.Resource extent, ASMEMFModel metamodel, boolean isTarget, ModelLoader ml) Creates a newASMUMLModel
. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addDelayedInvocation
(Invocation invocation) Delays an invocation.void
Applies all delayed operation invocations.protected ASMModelElement
createASMModelElement
(org.eclipse.emf.ecore.EObject object) Creates a newASMUMLModelElement
for object.getASMModelElement
(org.eclipse.emf.ecore.EObject object) Returns the ASMModelElement corresponding to the givenEObject
.int
getLastStereotypeMethod
(String opName) Gets the last stereotype method in the delayed invocations list.static ASMModel
getMOF()
Returns the meta-metamodel.Methods inherited from class org.eclipse.m2m.atl.drivers.emf4atl.ASMEMFModel
finalize, findModelElement, getAllElementsByType, getAllElementsByType, getElementsByType, getExtent, getReferencedExtents, hashCode, newModelElement
Methods inherited from class org.eclipse.m2m.atl.engine.vm.nativelib.ASMModel
getElementsByType, getMetamodel, getModelLoader, getName, isCheckSameModel, isTarget, newModelElement, newModelElement, setCheckSameModel, setIsTarget, toString
Methods inherited from class org.eclipse.m2m.atl.engine.vm.nativelib.ASMOclAny
asBag, asSequence, asSet, check, debug, findOperation, findOperation, get, getHelper, getNamedTargetFromSource, getOclAnyType, getType, invoke, invoke, invokeSuper, isHelper, oclIsKindOf, oclIsTypeOf, oclIsUndefined, oclType, operatorEQ, operatorNE, output, refGetValue, refImmediateComposite, refImmediateComposite, refInvokeOperation, refSetValue, refUnsetValue, set, setType, toString, unset
Methods inherited from class org.eclipse.m2m.atl.engine.vm.nativelib.ASMNativeObject
getNativeImpl
-
Constructor Details
-
ASMUMLModel
protected ASMUMLModel(String name, org.eclipse.emf.ecore.resource.Resource extent, ASMEMFModel metamodel, boolean isTarget, ModelLoader ml) Creates a newASMUMLModel
.- Parameters:
name
- the model nameextent
- the model's inner resourcemetamodel
- the metamodelisTarget
- true if the model is an output modelml
- the model loader creating this model
-
-
Method Details
-
getMOF
Returns the meta-metamodel.- Returns:
- the meta-metamodel.
-
createASMModelElement
Creates a newASMUMLModelElement
for object.- Parameters:
object
- The object to wrap.- Returns:
- a new
ASMUMLModelElement
-
getASMModelElement
Returns the ASMModelElement corresponding to the givenEObject
.- Overrides:
getASMModelElement
in classASMEMFModel
- Parameters:
object
- the givenEObject
- Returns:
- the
ASMModelElement
- See Also:
-
getLastStereotypeMethod
Gets the last stereotype method in the delayed invocations list.- Parameters:
opName
- the operation name- Returns:
- the last stereotype method index
-
addDelayedInvocation
Delays an invocation.- Parameters:
invocation
- the operation invocation to delay
-
applyDelayedInvocations
public void applyDelayedInvocations()Applies all delayed operation invocations.
-