Composition


Definition: composition
A composition is composed of relations to other compositions and/or units. 

Example

A bicycle

A bicycle is a composition, it has a 'containment' relation with the following compositions:

This would however be too restrictive to be useful in a software system. The only thing we could do with this bicycle is to change one of its containment relations.

Therefore we will add the 'position' relation to the bicycle composition:

Now we can move our bicycle from one location to another by changing its position relation.


diputree documentation © 2000 dipu