Class
Class
Select the "Class" option to build a class.
A window allows the parametrisation.
The fields to enter are the ones defining a uml class in the UML semantics notation.
The parameters are the following:
-
The name of the class.
UMLAUT gives a value by default. You can change it.
-
The generalizable properties of the class.
- abstract: This class is an abstract class. It cannot be directly instantiated.
Some methods are not defined,ie are abstract.
- root: This class is a root class. It has no ancestor.
- leaf: This class is a leaf class. It has no descendant.
- active: A class whose instances are active objects.
An active object is the root of an execution. It has its own thread.
-
The stereotype.
-
The visibility.
- public: The class is available from the classes of the class package and of the classes importing the class package, and also of the classes from packages where exists access (by inheritance and friend association) to the class package.
- protected: The class is available only from classes and packages descendants of the class (by inheritance and friend association).
- private: class not available from outside
-
Its attributes. The signification of the different fields are the following.
-
List of its operations
A click on the add button opens a dialog box to define a UML operation feature.
-
Information on relationships with other classes
-
List of implemented interfaces
A click on the "ok" button generates the corresponding class element in the
Class Diagram Working window.