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

[6] PortsInterfaces: It is not allowed to attach interfaces to ports. Provisions and<br />

requirements of a component are not defined by interfaces attached to it or to its<br />

ports. Provisions and requirements are determined by the ports owned by the<br />

component as it is defined in SaveCCM.<br />

[7] PortsSetPort: This constraint checks the condition that the port can be a set port<br />

only if its owner component is a switch component (component with SaveSwitch<br />

stereotype applied). Otherwise, the "SetPort" tagged value must be set to ‘false’.<br />

[8] SetPortExist: In case a "SetPort" is ‘true’, this constraint checks if the port is used in<br />

a switch condition, otherwise it can not be a set port.<br />

6.3.3.6 SaveCombinedOutPort<br />

This stereotype is used for modelling SaveCCM combined out ports. The<br />

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

combined output port element is the same as with the SaveCombinedInPort (see<br />

section 6.3.3.5).<br />

Base classifier: Port<br />

Tagged values:<br />

• Type : String. A type of data.<br />

• Value : String. Initial value of data (optionally).<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: To ensure that connections used for connecting the<br />

port to other ports have the appropriate stereotype applied, this constraint checks if<br />

the connections have one of three allowed stereotypes; SaveConnection,<br />

SaveDelegation or SaveToComplex.<br />

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

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

6.3.3.7 SaveComplexConnection<br />

A complex connection in the SaveCCM domain is an upgrade of the simple<br />

connection. A complex connection can have a model defining its behaviour, the<br />

same as with a component. Due this characteristic, it is reasonable to use the<br />

Component as a base classifier for the complex connection and to allow any<br />

number of models to be attached to it. This component will however have no ports<br />

50

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

Saved successfully!

Ooh no, something went wrong!