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

    • ChatGPT Plans Free and PlusChatGPT Subscription Plans
    • Stellar Converter for Database ToolStellar Converter for Database
    • Stellar MySQL Log AnalyzerStellar Log Analyzer for MySQL
    • Stellar Repair for MySQLStellar Repair for MySQL
    • ChatGPT IntroductionChatGPT Capabilities
    • How to secure your SQL Database: Tips and Tricks
    • ChatGPT4 Conversational AI FeaturesChatGPT4 Conversational AI Features
    • Trends in Software EngineeringShaping the Future of Development: Exploring Key Trends in Software Engineering
    • Java PerformanceImproving Java Performance with Multithreading
    • QDrant Vector DatabaseOpen-source Vector Databases
    • Difference between PHP and JavaScript?
    • Bing AI Browser Web ContentBing Conversation Styles
    • ChatGPT PreviewChatGPT Introduction
    • Open Source AI Frameworks TensorFlowOpen Source AI Frameworks
    • Artificial Intelligence Tools

    Back to Top

    Links

    • Contact
    • Privacy Policy
    • Cookie Policy

    www.TestingDocs.com