09.08.2013 Views

Specification of an Architecture Meta-Model - SPES 2020

Specification of an Architecture Meta-Model - SPES 2020

Specification of an Architecture Meta-Model - SPES 2020

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.

Aggregations<br />

<strong>Specification</strong> <strong>of</strong> <strong>an</strong> <strong>Architecture</strong> <strong>Meta</strong>-<strong>Model</strong><br />

• end : FlowBinding flow [1..*] Specifies the ends <strong>of</strong> the FlowBinding.<br />

Constraints Flow bindings are subject to the following constraints:<br />

1. The interconnection ends owned by a flow binding must be flow ends:<br />

context FlowBinding inv flowEnds:<br />

self .end→forAll(oclIsKindOf(FlowBinding flow))<br />

2. A flow binding has at least 2 ends:<br />

context FlowBinding inv atLeastTwoEnds:<br />

self .end→size() > 1<br />

2.1.16.5 FlowBinding flow<br />

FlowBinding flow is <strong>an</strong> InterconnectionEnd <strong>of</strong> a FlowBinding which references the<br />

exact inst<strong>an</strong>ce <strong>of</strong> a flow. Such <strong>an</strong> inst<strong>an</strong>ce is denoted by the the service, its containing<br />

port <strong>an</strong>d the respective RichComponent or RichComponentProperty as depicted in<br />

Figure 2.23.<br />

RichComponentProperty +part<br />

FlowBinding<br />

«inst<strong>an</strong>ceRef»<br />

+flow 1..*<br />

Flow<br />

+ direction: FlowDirection<br />

+ kind: FlowKind<br />

0..1<br />

+flowBinding<br />

1<br />

+flow<br />

1<br />

«inst<strong>an</strong>ceRef.context»<br />

«inst<strong>an</strong>ceRef.root»<br />

Generalizations: PartReference<br />

Aggregations<br />

+end<br />

1..*<br />

«inst<strong>an</strong>ceRef.target»<br />

PartReference<br />

Flow Binding_flow<br />

«inst<strong>an</strong>ceRef.context»<br />

+port 1<br />

Port<br />

+ isConjugated: Boole<strong>an</strong><br />

Figure 2.23: FlowBinding flow.<br />

+partIndex<br />

0..1<br />

+portIndex<br />

0..1<br />

Expression<br />

• portIndex : Expression [0..1] In case the size <strong>of</strong> the port associated is not 1,<br />

specifies the index in the multiple element.<br />

38/135

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

Saved successfully!

Ooh no, something went wrong!