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 />

and only special To and From connections are allowed to be used for connecting.<br />

These connections are attached directly to the component without ports.<br />

Base classifier: Component<br />

Tagged values:<br />

• ComplexFrom : String. The name of the supplier port (the port that is a starting<br />

point of the complex connection).<br />

• ComplexTo : String. The name of the client port (the port that is an end point of<br />

the complex connection).<br />

Constraints:<br />

[1] ComplexConnections: The only allowed connectors attached to this component are<br />

the ones used for modelling SaveFromComplex and SaveToComplex connections.<br />

[2] ComplexFromNumber: Since ComplexConnection component together with<br />

SaveFromComplex and SaveToComplex connectors, is used for modelling a single<br />

complex connection from SaveCCM domain, it is allowed to attach only one<br />

SaveComplexFrom connection to this component.<br />

[3] ComplexFromStereotype: This constraint checks if connectors attached to this<br />

component have an appropriate stereotype applied (SaveFromComplex).<br />

[4] ComplexPorts: As it is explained above, ComplexConnection component is not<br />

allowed to own any ports.<br />

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

6.3.3.8 SaveComponent<br />

Using <strong>UML</strong> Component as the base classifier for the SaveComponent<br />

stereotype is the most logical solution considering the structure and semantics of<br />

both elements. Both a component from the SaveCCM domain and <strong>UML</strong><br />

component hide their implementation behind one or more interfaces which handle<br />

all of the communication with the component. The interface in the SaveCCM<br />

domain is an abstract concept which is used to describe a set of ports and<br />

attributes of a component. On the other hand, interface of a <strong>UML</strong> component is a<br />

formal element connected to a port on a component which groups a set of<br />

operations that the component provides or requires. This semantically difference<br />

does not present a problem for using <strong>UML</strong> component to extend the SaveCCM<br />

component and component interfaces are therefore not used in the SaveProfile.<br />

Therefore a <strong>UML</strong> component with its ports corresponds well to a SaveCCM<br />

component with its ports.<br />

Base classifier: Component<br />

Tagged values:<br />

51

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

Saved successfully!

Ooh no, something went wrong!