Lesson 12 | Modeling composition |
Objective | Understand and apply Modeling Composition |
Aggregation
Hollow Diamond |
Composition Solid Diamond |
Multiplicity must be assigned on both ends of the association | Multiplicity of one is implied at the composite/diamond end of the association |
The parts may exist even after the aggregate is dissembled or destroyed | Multiplicity must be assigned to the 'part' end of the association |
Parts may be moved from one aggregate to another | The parts no longer exist if the composite is dissembled or destroyed |
Parts may not be moved from one compost to another |
Course Materials as an aggregate Definition: Custom courses may be developed from existing courses by combining existing lessons and exercises and creating a new table of contents |
Course Materials as a composite Definition: Fixed courses are developed and delivered as is. To create a new course all of the material is created from scratch |
The table of contents is unique for each course | The table of contents is unique for each course |
The table of contents refers to ever lesson in the course. The lesson is listed in the table of contents for every course it is used in. | The table of contents refers to every lesson in the course. Each lesson is listed in only the table of contents for the course for which it was developed |
The lessons are initially developed for one course but may be used to make other customer courses | The lesson is only used in the course for which it was developed |
The exercises are initially developed for one course but may be used with ouster lessons for other courses | The exercises are only used in the lessons for which they are developed |