ARCWAY Cockpit

Overview of UML Class Diagrams

UML Class Diagrams show types and the relationships between them, e.g. specialization or composition. The UML Class Diagrams supported in ARCWAY Cockpit only contain a small, simplified subset of the various syntactical elements of UML Class Diagrams as defined by the UML standard.

Overview

Plan Elements

Package

The Package serves as a container for types.

Type

The Type represents an object type or data type, e.g. a certain class or a primitive type like Integer.

Attribute

Attributes represent properties of a type. Alternativly this attribute can als be a type. In this case the inner type is part of the outer type. The semantics are equal to a composition then.

Specialization

The Specialization indicates that one type is a specialization of another type. In this example Supplier and Customer are specializations of the type Person.

Aggregation

The Aggregation indicates an association between one instance of a type and many instances of another type, in which the instances of the two types are independent of each other. In this example each Customer is associated with many Orders.

Composition

The Composition indicates an association between one instance of a type and many instances of another type, in which the instances of the latter depend on the existence of the instance of the first. In this example each Order is associated with many Line Items, but Line Items cannot exist without an Order.

Association

The Association indicates a general association between instances of two types. The cardinality of the association is 1:1, unless otherwise stated at the ends of the association.

Plan Element Relations

Containment

A plan element that contains another element graphically is also considered to be its container in the repository. A containment will also emerge from modeling a specialisation, a composition or an aggregation between two types.

Access

An association between two types will create a bidirectional access relation between these types.