TestingDocs.com
Software Testing website
  • Automation
    • Selenium
    • JBehave Framework
  • Tutorials
    • MySQL Tutorials
    • Testlink
    • Maven
    • Git
  • IDEs
    • IntelliJ IDEA
    • Eclipse
  • Flowcharts
    • Flowgorithm
    • Raptor
  • About

Raptor Flowchart

Generalization Relationship in Raptor

Overview

Let’s learn the concepts involved to diagram the Generalization relationship using the Raptor UML tool. The generalization relationship is used to identify the common things among the classes used in the program. This relationship is also called Inheritance. The common attributes and the common behavior are placed in the superclass. This is general for all the subclasses which inherit from the superclass.

Generalization

The superclass is the generalization of the subclass. The subclass is a specialization of the superclass. The connector used is shown in the diagram. The subclass can reuse the common attributes and behavior of the superclass. Any specializations that are specific to the subclass are implemented in the subclass.

 

 

Generalization Relationship

The connector is an unfilled arrow with a triangle head. The relationship is read as “is-a” or “is-an” or “is a specialization of” etc.

For Example ->  Dog is an Animal

Dog and Animal are classes in the relationship. The Animal can be an abstract superclass and the Dog is a concrete derived/child or subclass.

Raptor UML Diagram

Launch Raptor Tool.

Enable the UML mode in the tool.

Design the classes. To connect the classes use the “Inherits From”  relationship.

Select the Base class and the subclass to connect the classes.

 

Generalization Relationship Raptor Tool

 

 

The triangle head of the connector in the relationship should be pointing to the superclass.  *The common mistake people do is to place the head the other way around pointing to the subclass.*

 

Related Posts

Install RAPTOR Avalonia CentOS

Raptor Flowchart /

Install RAPTOR Avalonia on CentOS

RAPTOR Avalonia Edition Windows

Raptor Flowchart /

Download RAPTOR Avalonia Edition on Windows

RAPTOR Editions

Raptor Flowchart /

RAPTOR Editions

RAPTOR flowcart to write to a file output

Raptor Flowchart /

Write to a file with RAPTOR flowchart

Sum of Squares Array Elements Modular Approach

Raptor Flowchart /

Sum of Squares of Given Array Elements

‹ Class Diagram using Raptor› Raptor Flowchart Best Practices

Recent Posts

  • MS Access Data Types
  • Install RAPTOR Avalonia on CentOS
  • Download RAPTOR Avalonia Edition on Windows
  • npm doctor command
  • Build & Run CLion Project
  • Create New CLion C Project on Windows
  • Configure CLion Toolchains on Windows
  • Launch CLion IDE on Windows
  • Activate CLion IDE
  • CLion IDE for C/C++ Development

Back to Top

Links

  • Contact
  • Privacy Policy
  • Cookie Policy

www.TestingDocs.com

Go to mobile version