next up previous contents index
Next: m:1 Up: Quantities of Sub-Type-Relations Previous: Quantities of Sub-Type-Relations   Contents   Index

1:n

Figure 3.5 illustrates why there can be multiple (0..* in general) complete types that conform to one provided type. As long as the interfaces provided by the provided type (IRequestProcessor in the example) or sub-types of these interfaces are provided by the complete type, the complete type is a sub-type of the provided type (the conforms-relations is fulfilled, c. f. figure 3.3). For example the complete type shown at the right hand side is able to provide the additional interface IMyService. There are no restrictions for the required interfaces of the component type. In the example the interface IRequestProcessor is required by the left component type only and there are two interface (IMonitor and IWebTools) that overlap between the complete types - anyway both are sub-types of the same provided type.



Snowball 2007-03-16