Modeldraw
  • Welcome to Modeldraw
  • Getting Started
    • Quickstart Guide
  • FAQ
  • UML Designer
    • Common Elements
      • Comment
      • Comment Link
      • Dependency
      • Realization
      • Frame
    • Class Diagrams
      • Class
      • Association
      • Generalization
      • Composition
      • Aggregation
      • Enumeration
      • Interface
      • Association Class Link
      • Ball (Interface Realization)
      • Socket (Required Interface)
    • Sequence Diagrams
      • Lifeline
      • Activation Bar
      • Synchronous Message
      • Asynchronous Message
      • Return Message
      • Found Message
      • Interaction Frame
    • Use Case Diagrams
      • Actor
      • Use Case
      • Association
      • System Boundary
      • Generalization
      • Include Relationship
      • Extend Relationship
    • State Machine Diagrams
      • State
      • Initial State
      • Final State
      • Transition
      • Superstate
      • Concurrent Boundary
      • History Pseudostate
      • History Transition
    • Package Diagrams
      • Package
    • Deployment Diagrams
      • Node
      • Communication Path
      • Deployed Artifact
      • Internet
    • Activity Diagrams
      • Initial Node
      • Activity Final
      • Action
      • Flow
      • Decision / Merge
      • Fork / Join
      • Partitions
      • Flow Final
      • Send Signal
      • Accept Signal
      • Time Signal
    • Component Diagrams
      • Component
      • Ball (Interface Realization)
      • Socket (Required Interface)
    • Communication Diagrams
      • Object
      • Link
  • Wireframes
    • Views
    • Layouts
    • Components
Powered by GitBook
On this page
  • Understanding Ball (Interface Realization)
  • Creating a Ball (Interface Realization)
  • Renaming a Ball
  1. UML Designer
  2. Class Diagrams

Ball (Interface Realization)

PreviousAssociation Class LinkNextSocket (Required Interface)

Last updated 7 months ago

A Ball, also known as Interface Realization in UML, is a relationship that shows that a Class or Component implements the behavior specified by an Interface. In Modeldraw, you can use the Ball notation to represent this relationship in a compact and visually distinct manner, particularly useful in class and component diagrams.

Understanding Ball (Interface Realization)

The Ball notation for Interface Realization represents the commitment of a Class to support all the operations defined in an Interface. Key characteristics include:

  • It shows that a Class implements an Interface

  • It's represented by a circle (the "ball") connected to the implementing Class

  • The Interface name is typically shown near the ball

  • It's often used in component diagrams to show provided interfaces

Creating a Ball (Interface Realization)

To create a Ball (Interface Realization) in Modeldraw:

  1. Create the Interface and the implementing Class on your diagram if they don't already exist.

  2. Select the Ball (Interface Realization) tool from the toolbox.

  3. Click on the implementing Class.

  4. A dialog will appear, showing a list of available Interfaces in your diagram.

  5. In the dialog, select the Interface that the Class implements.

  6. Click the "Add" button in the dialog to confirm your selection.

  7. The Ball will be created, connected to the implementing Class, and labeled with the selected Interface name.

Renaming a Ball

The name of a Ball can be changed by renaming the underlying Interface:

  1. Double-click the shape of the underlying Interface

  2. In the properties dialog that shows up change the name of the Interface

  3. Click OK. The Ball will show the updated name automatically.

A Ball (Interface Realization)