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
-
public final class ASMUMLModel extends ASMEMFModel
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
Constructors Modifier Constructor Description protectedASMUMLModel(java.lang.String name, org.eclipse.emf.ecore.resource.Resource extent, ASMEMFModel metamodel, boolean isTarget, ModelLoader ml)Creates a newASMUMLModel.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddDelayedInvocation(Invocation invocation)Delays an invocation.voidapplyDelayedInvocations()Applies all delayed operation invocations.protected ASMModelElementcreateASMModelElement(org.eclipse.emf.ecore.EObject object)Creates a newASMUMLModelElementfor object.ASMModelElementgetASMModelElement(org.eclipse.emf.ecore.EObject object)Returns the ASMModelElement corresponding to the givenEObject.intgetLastStereotypeMethod(java.lang.String opName)Gets the last stereotype method in the delayed invocations list.static ASMModelgetMOF()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 Detail
-
ASMUMLModel
protected ASMUMLModel(java.lang.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 Detail
-
getMOF
public static ASMModel getMOF()
Returns the meta-metamodel.- Returns:
- the meta-metamodel.
-
createASMModelElement
protected ASMModelElement createASMModelElement(org.eclipse.emf.ecore.EObject object)
Creates a newASMUMLModelElementfor object.- Parameters:
object- The object to wrap.- Returns:
- a new
ASMUMLModelElement
-
getASMModelElement
public ASMModelElement getASMModelElement(org.eclipse.emf.ecore.EObject object)
Returns the ASMModelElement corresponding to the givenEObject.- Overrides:
getASMModelElementin classASMEMFModel- Parameters:
object- the givenEObject- Returns:
- the
ASMModelElement - See Also:
ASMEMFModel.getASMModelElement(org.eclipse.emf.ecore.EObject)
-
getLastStereotypeMethod
public int getLastStereotypeMethod(java.lang.String opName)
Gets the last stereotype method in the delayed invocations list.- Parameters:
opName- the operation name- Returns:
- the last stereotype method index
-
addDelayedInvocation
public void addDelayedInvocation(Invocation invocation)
Delays an invocation.- Parameters:
invocation- the operation invocation to delay
-
applyDelayedInvocations
public void applyDelayedInvocations()
Applies all delayed operation invocations.
-
-