Claudio De Sio Cesari --- Class Diagram Syntax Reference --- http://www.claudiodesio.com
Class Diagram Syntax Reference |
|||||
Element name |
Syntax |
Synopsis |
|||
---|---|---|---|---|---|
Class & Object |
|
Class:
abstraction for a group of objects that share
the same functionalities and the same characteristics. |
|||
Attribute |
Attribute (or instance variable or member variable member or class characteristic): characteristic of a class/object. |
||||
Operation |
Operation (or method o member function): functionality of a class/object. |
||||
Member Properties |
Public,
protected, private: visibility modifiers. |
||||
# memberName "protected member" |
|||||
- memberName "private member" |
|||||
memberName o $memberName "static member" |
|||||
operation o operation {abstract} "abstract operation" |
|||||
/attributeName "derived attribute" |
|||||
Abstract Class & Interface |
|
Abstract
class : class thaht cannot be instantied that usually declare abstract
methods. |
|||
Extension & Implementation |
|
Extension:
inheritance relationship beetween classes. |
|||
Association & Link |
|
Association
: relationship beetween classes where one uses the services (the
operations) provided from the other. |
|||
Aggregation |
Aggregation: association characterized from containment. |
||||
Composition |
Composition: aggregation with coincident life line. |
||||
Navigability |
Navigability: direction of an association. |
||||
Multiplicity |
Molteplicity: correspondence beetween the caridinality of the objects of the classes involved in the association. |
||||
Role Names |
Role names: description of a class behavior in an association. |
||||
Qualified Association |
Qualified
association : association in which a class object is identified
from another class through |
||||
Association Class |
Association class : Association coded as a class. |
Claudio De Sio Cesari --- Class Diagram Syntax Reference --- http://www.claudiodesio.com