Modeling shared constant
1. Creating shared constant
To add shared constant follow these steps:
At first we must have a Class with applied stereotype like slotted_exemplar etc.
Go to the palette, expand Property folder and select shared_constant.
Drop shared constant in properties compartment.
2. Editing shared constant options
Any UML element (with Magik stereotype applied) contains tags, which allow to edit specific generation options.
Shared-constant contains Common tags and tags listed below.
Marker used for defining private shared constant.
Modeling with stereotypes