The following table describes the elements that you can add to Component diagrams. The elements are grouped by Modeling Palette section.
Element | Icon | Description |
---|---|---|
Basic Section | ||
Component | ![]() |
A physical and replaceable part of a system that conforms to and provides the realization of a set of interfaces. |
Class | ![]() |
Any regular class in your system. |
Interface | ![]() |
A stereotype of class offering only public operations, but no attributes or method bodies. |
Package | ![]() |
A grouping of class definitions. |
Artifact | ![]() |
A physical piece of information that is used or produced by a software development process. Examples of artifacts are source files, jar files, scripts, and binary executable files. |
Generalization | ![]() |
The relationship between a subtype element and a supertype element. The elements in this relationship must possess the same attributes. For example, the subtype Manager and the supertype Employee share a generalization relationship. |
Implementation | ![]() |
An implementation relationship between two elements. |
Nested Link | ![]() |
A relationship between nested classes. |
Delegate | ![]() |
A connection from the delegating source port to the handling target part, and vice versa for required interfaces and ports. |
Assembly Connector | ![]() |
A connector between two elements that defines that one element provides the services that another element requires. An Assembly Connector is a connector that is defined from a required interface or port to a provided interface or port. |
Dependencies Section | ||
Dependency | ![]() |
The relationship between two elements whose definitions depend on one another in such a way that changes to one can result in changes to the other. For example, when one class mentions another as an operation parameter, or as part of its data, the two classes exhibit dependency. |
Realize | ![]() |
A semantic relationship between classifiers - one classifier specifies a contract that another classifier guarantees to carry out. These relationships are used in two places: between interfaces and the classes that realize them, and between use cases and the collaboration that realize them. |
Usage | ![]() |
A dependency in which one element (the client) requires the presence of another element (the supplier) for its correct functioning or implementation. |
Permission | ![]() |
A dependency that signifies granting of access rights from the supplier model element to a client model element, in which the client requires access to some or all of the constituent elements of the supplier. |
Abstraction | ![]() |
A boundary relative to the perspective of the viewer. The essential characteristics of an entity that distinguish it from all other kinds of entities. |
Templates Section | ||
Template Class | ![]() |
An abstract class that is commonly used to define a collection type of object. Template Class contains the same information as a Class, but requires an attached Template Parameter Label. It provides the names and possible type of the parameters used by the Template. |
Derivation Classifier | ![]() |
A classifier that can be computed from a Class, but that is shown for clarity or that is included for design purposes. |
Derivation Edge | ![]() |
An association in which the owning classifier is a derivation of the template classifier of the derivation. |
Association Section | ||
Association | ![]() |
An association relationship between two elements. |
Composition | ![]() |
The relationship between two elements in which all child elements are cascade-deleted when you delete the parent element. |
Navigable Composition | ![]() |
A Composition where the originating member is responsible for specifying its destination member in the destination class. |
Aggregation | ![]() |
The relationship between two elements where one of these classes plays a more important role within the relationship than the other class does. |
Navigable Aggregation | ![]() |
An Aggregation where the originating member is responsible for specifying its destination member in the destination class. |
Navigable Association | ![]() |
An Association where the originating member is responsible for specifying its destination member in the destination class. |
Association Class | ![]() |
Denotes class information (attributes, operation, etc) about a specific association shared by two elements. |
Design Pattern Section | ||
Design Pattern | ![]() |
A commonly-recurring structure of communicating elements that solves a general design problem within a particular context. |
Role | ![]() |
A classifier role that when applied creates a datatype. It is the datatype participant of that represents a specific datatype role within a collaboration pattern. |
Interface Role | ![]() |
A specific role within a collaboration pattern. |
Actor Role | ![]() |
When applying a pattern with an actor role as a participant, an actor is created. Or you can select an existing actor to which the pattern should be applied. |
Class Role | ![]() |
A class participant that has a specific role within a collaboration pattern. |
Use Case Role | ![]() |
A kind of behaviored classifier that participates within a collaboration pattern. |
Role Binding | ![]() |
The mapping to a role in a classier. |
Comments Section | ||
Comment | ![]() |
A Notepad notation. Use Comments to record information for a element or link in a diagram. This information is not included in generated code but is for information only. Each Comment can contain unlimited text, and be numbered. You can also define a stereotype, and enter a noted element. |
Link Comment | ![]() |
The connection between the comment element and the associated element. |