SSDM - Sibilo Software Development Model

Search 
(by Google)
     

Developer's Corner - Relationships
  1. Introduction
    1. Overview (N-tier Architecture)
    2. Downloads
  2. Requirements Capture
    1. Natural Language Text to UML
  3. UML Static Data Model
    1. Object / Class
    2. Relationships
    3. Data Type / Enumeration
    4. Supported Data Types
  4. Application Design
    1. Database (UML-DB Mapping)
    2. Business Objects (UML-Class Mapping)
    3. User Interface (UML-User Control Mapping)
  5. Sibilo Software Development Environment (Sibilo.SDE)
    1. Sibilo.SDE User Guide
  6. Sibilo.DBL Programming
    1. Introduction
      1. Background Information
      2. The Clist Class
    2. Core Objects
      1. Common Constructors
      2. Common Destructors
      3. Common Properties
      4. Common Methods
        • Add
        • Update
        • Remove
        • GetDetails
        • Load
        • Equals
      5. Shared Methods
        • GetAll
        • Remove
        • RemoveAll
        • Exists
        • Search
        • ObjectCount
        • CreateInstance
      6. User Defined Attributes
        • AddAttribute
        • RemoveAttribute
        • GetAttributeList
        • GetClassList
        • GetAttribute
        • SetAttribute
    3. Relationships
      1. Overview
      2. One-to-One Relationships
      3. One-to-Many and Many-to-Many Relationships
        • Add
        • Remove
        • RemoveAll
        • Exists
      4. Default Object of a Relationship
        • SetDefault
        • GetDefault

3.2 Relationships

A Relationship indicates a dependency between Objects. SSDM supports 4 types of relationships.

i. One-To-One


Attribue X of Class A is of type Class B

ii. One-To-Many


Class A has many Class Bs. A Class B can belong to a single Class A.

Composite One-To-Many relationship denotes an object (e.g. Class A) is composed of another object (e.g. Class B). In this case, when an instance of Class A is deleted, all related instances of Class B is also deleted.

iii. Many-To-Many


Class A has many Class Bs and Class B has many Class As

iv. Inheritance (Generalization)


Class B is a Class A but can have more attributes