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 ASMEMFModel
extent, modelElements, referencedExtents, resolveURIFields inherited from class ASMNativeObject
nativeImpl -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedASMUMLModel(String name, org.eclipse.emf.ecore.resource.Resource extent, ASMEMFModel metamodel, boolean isTarget, ModelLoader ml) Creates a newASMUMLModel. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDelayedInvocation(Invocation invocation) Delays an invocation.voidApplies all delayed operation invocations.protected ASMModelElementcreateASMModelElement(org.eclipse.emf.ecore.EObject object) Creates a newASMUMLModelElementfor object.getASMModelElement(org.eclipse.emf.ecore.EObject object) Returns the ASMModelElement corresponding to the givenEObject.intgetLastStereotypeMethod(String opName) Gets the last stereotype method in the delayed invocations list.static ASMModelgetMOF()Returns the meta-metamodel.Methods inherited from class ASMEMFModel
finalize, findModelElement, getAllElementsByType, getAllElementsByType, getElementsByType, getExtent, getReferencedExtents, hashCode, newModelElementMethods inherited from class ASMModel
getElementsByType, getMetamodel, getModelLoader, getName, isCheckSameModel, isTarget, newModelElement, newModelElement, setCheckSameModel, setIsTarget, toStringMethods inherited from class 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, unsetMethods inherited from class 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
-
createASMModelElement
Creates a newASMUMLModelElementfor object.- Parameters:
object- The object to wrap.- Returns:
- a new
ASMUMLModelElement
-
getASMModelElement
Returns the ASMModelElement corresponding to the givenEObject.- Overrides:
getASMModelElementin 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.
-