11.02.2014 Views

UML PROFILE FOR SAVECCM - Research

UML PROFILE FOR SAVECCM - Research

UML PROFILE FOR SAVECCM - Research

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Save<strong>UML</strong> profile<br />

[2] ModelRealization: In SaveCCM only a component, clock, delay, composite<br />

component and a complex connection can have a model attached. For each<br />

manifestation relationship that connects the SaveModel artifact to another element,<br />

it is checked that the artifact is connected to an element which has an appropriate<br />

stereotype applied. By appropriate stereotype it is considered to be one of the<br />

stereotypes defined by Save<strong>UML</strong> profile that are used to model SaveCCM<br />

elements listed above.<br />

[3] NumberOfStereotypes: see the SaveAssembly constraint [6].<br />

6.3.3.17 SaveSwitch<br />

This stereotype is intended for modelling SaveCCM switch element. The<br />

rationale behind using <strong>UML</strong> Component as the base classifier for the SaveCCM<br />

switch element is the same as with the SaveComponent. The switch is externally<br />

equivalent to a component in SaveCCM, it can have ports as the component has<br />

and can be connected to any other component. The difference between the<br />

component and the switch is in its internal behaviour.<br />

In SaveCCM, switch can have a number of connection patterns and connection<br />

conditions. In Save<strong>UML</strong> profile those two elements are modelled using a single<br />

stereotype – SaveSwitchCondition. Each SaveSwitch component can have any<br />

number of SaveSwitchCondition elements that are added to SaveSwitch<br />

component as its attributes.<br />

Base classifier: Component<br />

Tagged values: This stereotype does not have tagged values defined.<br />

Constraints:<br />

[1] ComponentConnections: see the SaveAssembly constraint [2].<br />

[2] ComponentIntefraces: see the SaveClock constraint [4].<br />

[3] ComponentPackagedElements: see the SaveClock constraint [5].<br />

[4] NumberOfStereotypes: see the SaveAssembly constraint [6].<br />

[5] SwitchAttributes: <strong>UML</strong> enables a Component to contain several types of attributes:<br />

ports, attributes and operations. SaveSwitch component may own ports and switch<br />

condition descriptions (properties with the SaveBindPort stereotype applied). Other<br />

attributes are not allowed.<br />

[6] SwitchPortNames: This constraint checks if all ports owned by a SaveSwitch<br />

component have a unique name. This is important in order to use switch condition<br />

descriptions where the name of the port has to be entered (see section 6.3.3.18).<br />

[7] SwitchPorts: see the SaveComponent constraint [6].<br />

58

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!