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:
EIGHT RELATED HOW TO's:
Electrical Engineering Solution used together with ConceptDraw DIAGRAM drawing facilities makes short a work of drawing various electrical and electronic circuit schemes. A library of vector objects composed from symbols of Analog and Digital Logic elements of electric circuit includes 40 symbolic images of logic gates, bistable switches of bi-stable electric current, circuit controllers, amplifiers, regulators, generators, etc. All of them can be applied in electronic circuit schemes for showing both analog and digital elements of the circuit.
Electrical Engineering Solution used together with ConceptDraw DIAGRAM drawing facilities makes short a work of drawing various electrical and electronic circuit schemes. A library of vector objects composed from symbols of Analog and Digital Logic elements of electric circuit includes 40 symbolic images of logic gates, bistable switches of bi-stable electric current, circuit controllers, amplifiers, regulators, generators, etc. All of them can be applied in electronic circuit schemes for showing both analog and digital elements of the circuit.
Picture:
Electrical Diagram Symbols F.A.Q.
How to Use Electrical ConceptDraw Diagram Software
Related Solution:
Use the set of special professionally developed swim lane flowchart symbols - single, multiple, vertical and horizontal lanes from the Swimlanes and Swimlanes BPMN 1.2 libraries from the Business Process Diagram solution, the Swim Lanes library from the Business Process Mapping solution as the perfect basis for your Swim Lane Flowcharts of processes, algorithms and procedures.
Picture: Swim Lane Flowchart Symbols
Related Solution:
UML Timing Diagram as special form of a sequence diagram are used to explore the behaviors of objects throughout a given period of time.
ConceptDraw has 393 vector stencils in the 13 libraries that helps you to start using software for designing your own UML Diagrams. You can use the appropriate stencils of UML notation from UML Timing library.
Picture: UML Timing Diagram, Design Elements
Related Solution:
If we divide computer networks by scale, we get several main categories. The smallest network is PAN, as it connects personal devices themselves, and as the number of users grows, a local area network can be recognized, and campus area networks (CAN) connects several local networks located within some area like a university or a corporation. Computers connected to CAN share public educational materials and list of CAN network examples includes such prestigious universities like Stanford and Carnegie Mellon.
This is an example of a computer network diagram created for a campus area network. It was created using using ConceptDraw solution for the Computer and Network diagramming. The specific of this sample campus network is its distribution. It is rather broad to embrace a big campus territory. This diagram can be applied as a template for designing custom area network topology diagram for a particular educational institution.
Picture: Campus Area Networks (CAN). Computer and Network Examples
Related Solution:
In ConceptDraw DIAGRAM you can produce ice hockey diagrams of any complexity for any presentaion needs, using a combination of tools. To adopt the sample below for presentation needs place positions and arrows onto different layers of your document and then make them visible one by one during a presentation.
Picture: Ice Hockey Diagram — Defensive Strategy — Neutral Zone Trap
Related Solution:
ConceptDraw DIAGRAM extended with Matrices solution from the Marketing area of ConceptDraw Solution Park is the best Deployment Chart Software.
The Matrices solution offers you the useful tools for creating Deployment Charts in just minutes.
The Deployment Charts designed with ConceptDraw DIAGRAM are vector graphic documents and are available for reviewing, modifying, converting to a variety of formats (image, HTML, PDF file, MS PowerPoint Presentation, Adobe Flash or MS Visio XML), printing and send via e-mail in one moment.
Picture: Deployment Chart Software
Related Solution:
ConceptDraw DIAGRAM is a powerful diagramming and vector drawing software. Extended with School and Training Plans Solution from the Building Plans Area it became the best software for quick and easy designing various School Floor Plans.
Picture: School Floor Plans
Related Solution:
ConceptDraw DIAGRAM is a powerful intelligent vector graphics engine that can be used to create basic diagrams including flowcharts, charts, workflows, flowcharts, organizational charts, business diagram, learn business diagrams, flow diagrams.
Picture: The Best Mac Software for Diagramming or Drawing
Related Solution: