Class ASMModelElement
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.ASMOclType
org.eclipse.m2m.atl.engine.vm.nativelib.ASMModelElement
- Direct Known Subclasses:
ASMEMFModelElement
,ASMHashModelElement
An ASMModelElement represents a model element. There is no separate class for special model elements such
as metamodel elements. Therefore, some operations of ASMModelElement are only valid for metamodel
ASMModelElements.
-
Field Summary
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
ModifierConstructorDescriptionprotected
ASMModelElement
(ASMModel model, ASMModelElement metaobject) -
Method Summary
Modifier and TypeMethodDescriptionabstract ASMBoolean
conformsTo
(ASMOclType other) protected static ASMModelElement
createNewInstance
(StackFrame frame, ASMModelElement self) abstract ASMOclAny
get
(StackFrame frame, String name) getAcquaintance
(String name) getModel()
getName()
abstract ASMModelElement
getProperty
(String name) abstract ASMModelElement
getPropertyType
(String name) static ASMModelElement
lookupElementExtended
(StackFrame frame, ASMModelElement self, ASMString name) static ASMModelElement
otherEnd
(StackFrame frame, ASMModelElement self) void
set
(StackFrame frame, String name, ASMOclAny value) void
setMetaobject
(ASMModelElement metaobject) protected void
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, invoke, invokeSuper, isHelper, oclIsKindOf, oclIsTypeOf, oclIsUndefined, oclType, operatorEQ, operatorNE, output, refGetValue, refImmediateComposite, refImmediateComposite, refInvokeOperation, refSetValue, refUnsetValue, setType, toString, unset
Methods inherited from class org.eclipse.m2m.atl.engine.vm.nativelib.ASMNativeObject
getNativeImpl
-
Constructor Details
-
ASMModelElement
-
-
Method Details
-
get
Description copied from class:ASMOclType
- Overrides:
get
in classASMOclType
- See Also:
-
set
-
toString
-
setMetaobject
-
getMetaobject
-
getModel
-
getName
- Specified by:
getName
in classASMOclType
-
setName
-
conformsTo
- Specified by:
conformsTo
in classASMOclType
-
getAcquaintance
-
getProperty
-
getPropertyType
-
lookupElementExtended
public static ASMModelElement lookupElementExtended(StackFrame frame, ASMModelElement self, ASMString name) -
otherEnd
-
createNewInstance
- Parameters:
frame
-self
- The meta-class to instantiate- Returns:
- A new instance of self, if a suitable target model is found, null otherwise
-