UML2 Integration
The UML2 extension to MOFScript provides basic functionality for
interacting with UML2 model instances. The UML2 extension is only
available if the UML2 project has been installed in the Eclipse
environment.
There are currently three operations supported from UML2:
- getAppliedStereotypes() : List (Stereotype)
- getAppliedStereotype (String name) : Stereotype
- hasStereotype (String name) : Boolean
- hasValue (StereoType st, String valueName): Object | hasValue (String stName, String valueName): Object
- getValue (StereoType st, String valueName):Object | getValue (String stName, String valueName): Object