UML PROFILE FOR SAVECCM - Research
UML PROFILE FOR SAVECCM - Research
UML PROFILE FOR SAVECCM - Research
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 />
6.3.3.14 SaveDelegation<br />
The delegation in SaveCCM is used for connecting a port of a component to a<br />
port of its subcomponent. Delegation is used while defining the internal structure of<br />
a composite component or an assembly. In the delegation relationship, data or<br />
signals from a components/subcomponents port are delegated to<br />
subcomponents/components port. Therefore, either a components port depends<br />
on its internal port for some data or signal, or a components internal port depends<br />
on a components port for data or signal. Considering the semantics, the <strong>UML</strong><br />
dependency relationship seemed suitable as a base classifier for the delegation<br />
stereotype. The delegation connection connects ports of the same direction.<br />
Base classifier: Dependency<br />
Tagged values:<br />
• Source : String. The source of the delegation – the starting port.<br />
• Destination : String. The destination of the delegation – the ending port<br />
Constraints:<br />
[1] DelegationComplex: see the SaveConnection constraint [1].<br />
[2] DelegationComposite: Either source or destination port must be owned by a<br />
composite or assembly component (the component with SaveAssembly or<br />
SaveComposite stereotype applied).<br />
[3] DelegationConformance: This constraint checks the type conformance of the<br />
connected ports. The type conformance condition is the same as in SaveIDE tool.<br />
The condition checks the direction of the connected ports, their types and as<br />
circumstances require, the equality of their "Type" tagged values.<br />
[4] DelegationCyclic: It is not allowed to have cyclic connection.<br />
[5] DelegationNotUsage: Since Usage relationship is inherited from Dependency<br />
relationship, then usage is a kind of dependency and it is possible to apply<br />
SaveDelegation stereotype to usage relationship. Usage relationship is used for<br />
modelling the SaveCCM connection (see section 6.3.3.10), therefore it is necessary<br />
to check that SaveDelegation stereotype is applied to delegation relationship and<br />
not to usage relationship.<br />
[6] DelegationPorts: Source and destination port must have an appropriate stereotype<br />
applied.<br />
[7] NumberOfStereotypes: see the SaveAssembly constraint [6].<br />
6.3.3.15 SaveFromComplex<br />
A special kind of a connection is used to connect the complex connection to a<br />
port of a component. The usage relationship is used as the base classifier based<br />
on the same rationale with the basic component connection (see section 6.3.3.10).<br />
56