UML Class Diagram Generalization Example
UML Diagrams
The Generalization association ("is a") is the relationship between the base class that is named as “superclass” or “parent” and the specific class that is named as “subclass” or “child”.
The UML diagram's Generalization association is also known as Inheritance. The subclass is a particular case of the superclass and inherits all attributes and operations of superclass, but can have your own additional attributes and operations.
In UML is used also the multiple inheritance when the subclass inherits properties and behaviors of more than one superclass.
On the UML Diagram the Generalization association represents as the line with empty triangle that connects superclass and subclass.
Near the Generalization association line can be write in { } any additional properties of this association that display as the constraints.
You can use the following UML keywords as constraints:
- complete – signify that in this generalization association are specified all subclasses and the superclass cannot have another subclasses.
- disjoint – signify that subclasses cannot contain the objects that are the instances of two or more classes at the same time.
- incomplete – signify that on the diagram are not specified all the subclasses
- overlapping – signify that some instances of subclasses can belong to two or more classes at the same time.
Example 1. UML Class Diagram Generalization Example
This sample was created in ConceptDraw DIAGRAM diagramming and vector drawing software using the UML Class Diagram library of the Rapid UML Solution from the Software Development area of ConceptDraw Solution Park.
This sample describes the use of the classes, the generalization associations between them, the multiplicity of associations and constraints.
UML Resource:
TEN RELATED HOW TO's:
The Entity-Relationship Diagram (ERD) solution from ConceptDraw Solution Park extends ConceptDraw DIAGRAM vector graphics and diagramming software with the ability to describe a database using the Entity-Relationship (Chen) model. Use it for design your ERDs and verify that ConceptDraw DIAGRAM offers the best ERD diagrams software tools for design element Chen notation.Picture: Entity Relationship Diagram - ERD - Software for Design Chen ER Diagrams
Related Solution:
The ER diagram is constructed from the specific ERD graphic elements. There are used 2 types of ERD notations: Chen and Crow's Foot.
A complete set of work flow shapes, notation & symbols for ERD, entity relationship stencils, included in Entity-Relationship Diagram (ERD) solution for ConceptDraw DIAGRAM software, makes drawing diagrams based on ERD notation as smooth as possible.Picture: Notation & Symbols for ERD
Related Solution:
Draw your own business process flowcharts using ConceptDraw DIAGRAM diagramming and business graphics software.
The Flowcharts Solution for ConceptDraw DIAGRAM is a comprehensive set of examples and samples in several different color themes for professionals that need to graphically represent a process.Picture: Flow Chart Diagram Examples
Related Solution:
The Pie Chart visualizes the data as the proportional parts of a whole and looks like a disk divided into sectors. The pie chart is type of graph, pie chart looks as circle devided into sectors. Pie Charts are widely used in the business, statistics, analytics, mass media. It’s very effective way of displaying relative sizes of parts, the proportion of the whole thing.Picture: Pie Chart Word Template. Pie Chart Examples
Related Solution:
The vector stencils library Chen ERD from the solution Entity-Relationship Diagrams (ERD) contains specific symbols of the Chen ERD notation including entity symbols and relationship symbols for ConceptDraw DIAGRAM diagramming and vector drawing software. The Entity-Relationship Diagrams (ERD) solution is contained in the Software Development area of ConceptDraw Solution Park.Picture: Chen ERD Diagram
Related Solution:
The Critical Path Method (CPM) is an algorithm for scheduling a set of project activities. It is an important tool for effective project management. ConceptDraw PROJECT implements this method to provide the user with a wide set of project management tools.Picture: Critical Path Method in ConceptDraw PROJECT
Related Solution:
ConceptDraw DIAGRAM is a powerful diagramming and vector drawing software. Extended with Chemical and Process Engineering Solution from the Industrial Engineering Area of ConceptDraw Solution Park, it became the best Chemical Engineering software.Picture: Chemical Engineering
Related Solution: