Component Diagram Modeling Guidelines
The following guidelines apply to Component Diagrams
- Object Model Diagram
- Cameo Component Diagrams are transformed to Rhapsody Object Model Diagrams.
In UML/Cameo, a Component Diagram can display all Elements from a Structure Diagram.
A UML Component inherits from Class, and can have some Package features. It is a modular part of a System, that can be realizedBy Classifiers.
It can contains behaviors, have Associations, Ports, Operations, behaviors...
In Rhapsody, a Component is related to Code Generation. It defines the targeted artefact to generate (library, executable), and how to generate it.
It is not able to contain any Class features, Ports or Operations, nor nested Classifiers.