11.02.2014 Views

UML PROFILE FOR SAVECCM - Research

UML PROFILE FOR SAVECCM - Research

UML PROFILE FOR SAVECCM - Research

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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

Base classifier: Port<br />

Tagged values:<br />

• External : String. A label mapping the port to external entity, in case a port is an<br />

external port.<br />

Constraints:<br />

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

[2] OwnerComponentStereotype: see the SaveCombinedInPort constraint [2].<br />

[3] PortConnections: see the SaveCombinedInPort constraint [3].<br />

[4] PortConnectionStereotype: see SaveCombinedOutPort constraint [4].<br />

[5] PortsExternal: see the SaveCombinedInPort constraint [5].<br />

[6] PortsInterfaces: see the SaveCombinedInPort constraint [6].<br />

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

The profile specification provided in previous section is a general profile<br />

description and needs to be implemented in a design tool in order to be used for a<br />

concrete model design of SaveCCM models in <strong>UML</strong>.<br />

6.4.1 <strong>UML</strong> CASE tool<br />

Among various CASE tools available, IBM Rational Software Modeller (RSM)<br />

was chosen as the best tool for this purpose.<br />

Within a Save<strong>UML</strong> project a fourteen existing <strong>UML</strong> tools were analysed, with<br />

several requests that were taken into consideration:<br />

• Support of <strong>UML</strong> 2.0 component model (this was a major limitation with<br />

most free tools).<br />

• <strong>UML</strong> profile support. This includes using <strong>UML</strong> profiles when modelling<br />

user models, but also the possibility of creating <strong>UML</strong> profiles.<br />

• Importing and exporting user models in XMI (XML Metadata Interchange<br />

[XMI web]) based files.<br />

After the analysis it was concluded that IBM RSM fulfils all requests and that it<br />

is suitable for this work. Therefore, within this thesis, Save<strong>UML</strong> profile was<br />

implemented using IBM RSM tool and released as an epx file (epx is a profile file<br />

extension used in RSM).<br />

6.4.2 Applying stereotypes to user model elements<br />

In order to apply Save<strong>UML</strong> stereotypes to a model element, first the Save<strong>UML</strong><br />

profile must be applied to the model (for information on applying <strong>UML</strong> profiles to a<br />

model see RSM help or [SPusr 08]).<br />

61

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

Saved successfully!

Ooh no, something went wrong!