23.08.2013 Views

Specification of Reactive Hardware/Software Systems - Electronic ...

Specification of Reactive Hardware/Software Systems - Electronic ...

Specification of Reactive Hardware/Software Systems - Electronic ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

94 Abstraction <strong>of</strong> a Problem Domain<br />

The following list describes sharing related to the concepts <strong>of</strong> data object, process object,<br />

composite, aggregate and cluster:<br />

data objects can share a data object;<br />

composites <strong>of</strong> data objects can share a data object;<br />

process objects can share a process object;<br />

process objects cannot share a data object;<br />

composites <strong>of</strong> process objects can share a process object;<br />

aggregates cannot share an object that is contained in one <strong>of</strong> the aggregates;<br />

clusters can share a process object or a cluster.<br />

Notice that separate clusters can share a process object but they cannot contain the same<br />

process object. Two (clustered) composites share a part if there are two or more entities,<br />

at least one <strong>of</strong> each (clustered) composite, that share that part.<br />

4.8.6 Inseparability<br />

An entity is inseparable from another entity, if the latter entity depends on the former<br />

entity for its entire ’lifetime’. The definition can be clarified with the aggregate in Figure<br />

a<br />

a<br />

d<br />

Object C<br />

(Part)<br />

Aggregate<br />

object<br />

(Whole)<br />

f<br />

Cluster<br />

b<br />

e c<br />

Object B<br />

(Part)<br />

Figure 4.23: An Inseparable Aggregate<br />

4.23. The object C is inseparable from the aggregate object if the whole depends on this<br />

part for its entire lifetime. Message flow ’d’ requests for a service that the aggregate<br />

(object) needs. Therefore the aggregate depends on C. The part cannot be separated.<br />

The concept <strong>of</strong> inseparability is useful, because analysis may bring in composites that<br />

have such a property. So these composites must be designed such that they are inseparable.<br />

b<br />

c

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

Saved successfully!

Ooh no, something went wrong!