UML Modeling Techniques > Class modeling > Overview of class modeling
Overview of class modeling
Class Modeling focuses on static system structure in terms of classes (Class, Data Type, Interface and Signal items), Associations and on characteristics of Classes (Operations and Attributes).
Modeler provides Class Diagrams and Composite Structure Diagrams to support the definition of the Class Model:
The Class Diagram is the primary diagram for defining Classes and their Attributes, Operations and relationships. The Class Diagram notation is based on the Unified Modeling Language (UML).
The Composite Structure Diagram defines the structure of Classes, in particular, showing how Class parts and ports connect with each other. The Composite Structure Diagram notation is based on the UML 2.0 notation, with the addition of SysML IO Flows.
The following table summarizes in which parts of Modeler you can create the Class Model items.
Item
Class Diagram
Composite Structure Diagram
Packages pane
Property Pages
Activity
Yes
-
Yes
Yes (Package)
Actor
Yes
Yes
Yes
Yes (Package)
Actual Template Parameter
-
-
-
Yes (Class, Data Type, Interface or Signal)
Aggregation (Association)
Yes
Yes
-
-
Association
Yes
Yes
-
-
Association Class
Yes
-
-
-
Attribute
Yes
-
Yes
Yes (Package, Class, Data Type, Interface or Signal)
Basic Type
Yes
-
Yes
Yes (Package)
Class
Yes
Yes
Yes
Yes (Package, Class, Interface or Signal)
Data Type
Yes
-
Yes
Yes (Package, Class or Interface)
Dependency
Yes
-
-
Yes
Enumeration Literal
Yes
-
-
Yes (Type Definition)
Exception
-
-
Yes
Yes (Class, Data Type, Interface or Signal)
Formal Template Parameter
-
-
-
Yes (Class, Data Type, Interface or Signal)
Generalization
Yes
-
-
-
Interface
Yes
-
Yes
Yes (Package, Class or Interface)
IO Flow
Yes
Yes
-
-
Operation
Yes
-
Yes
Yes (Package, Class, Interface or Signal)
Package
Yes
-
Yes
Yes (Package)
Parameter
Yes (through signatures)
-
Yes
Yes
Qualifier
Yes (through Association)
Yes (through Association)
-
-
Role
Yes (through Association)
Yes (through Association)
-
-
Signal
Yes
-
Yes
Yes (Package, Class, Interface or Signal)
Ternary Association
Yes
-
-
-
Ternary Role
Yes
-
-
-
Type Definition
Yes
-
Yes
Yes (Package, Class, Interface or Signal)