Section 3 - Agents and some user facilities
Select the exit workbench command from the Workbench browser and then browse the module hierarchy. Select standard and use the command button to load an SDML file. Enter the filename intro3-1.sdm. A submodule called intro3-1 will appear, select this and use the add submodule command and enter intro3. The module hierarchy will now look something like this.
Notice how the intro3 hierarchy now inherits from intro3-1 as well as standard.
Re-enter the sdml-intro3 workbench and browse the Producer type.
You will notice two extra categories in the Definitions page: changeable properties and fixed properties each containing clause definitions. These are not in bold because they have been inherited from the intro3-1 module and so are not defined directly in this module.
Browse the Container page of the Producer type and use the add constraint command in the Constraining types: pane to add ModelAgent as a constraint.. Now browse the Definitions page of Producer again.
Now you can see extra categories of clauses inherited via this constraint.
Create an identical container constraint for the type Consumer.
Thus there are three ways in which a type in a module can inherit a clause:
Generated with CERN WebMaker