Object Oriented Design
What is Object Oriented Design?
In the object-oriented design method, the system is considered a collection of objects (i.e., entities). The state is shared among the objects, and each object is responsible for its own state data. Tasks designed for a specific purpose cannot refer to or update data from other objects. Objects have internal data that represents their current state. Similar objects form a class. In other words, every object belongs to a class.
Important Terms Related to Object-Oriented Design

- Objects: Objects are all the entities involved in the solution design. Persons, banks, companies, and users are all examples of objects. Every object has some properties associated with it, along with some methods for performing operations on those attributes.
- Class: Classes are generic descriptions of objects. An object is a class instance. A class defines all the properties an object can have and the methods that represent the object's functionality.
- Messages: Objects communicate by passing messages. Messages contain the target object's integrity, the name of the requested operation, and any other action required to complete the function. Messages are frequently implemented through procedure or function calls.
- Abstraction: Abstraction is used in object-oriented design to deal with complexity. Abstraction is the removal of the unnecessary and the amplification of the necessary.
- Encapsulation: It is also known as information concealing. The processes and data are tied to a single unit. Encapsulation not only groups together an object's vital information but also restricts access to the data and operations from the outside world.
- Inheritance: OOD allows similar classes to be stacked hierarchically, with lower or sub-classes being able to import, implement, and reuse variables and functions from their immediate superclasses. This OOD characteristic is known as inheritance. This facilitates the definition of specialized classes as well as the creation of generic classes.
- Polymorphism: OOD languages give a technique for assigning the same name to methods that perform similar functions but differ in arguments. This is referred to as polymorphism, and it allows a single interface to perform functions for multiple types. The relevant piece of the code is run depending on how the service is invoked.
Stages of Object-Oriented Design
The object-oriented design process includes two main stages:
- System design
- Object design.
System Design
The entire architecture of the intended system is designed at this stage. The system is envisioned as a collection ofinteracting subsystems, each comprising a hierarchy of interacting objects classified into classes. The system analysis model and the proposed system architecture are used to design the system. The emphasis here is on the system's objects rather than the system's processes.
Object Design
A design model is created in this phase based on the models created in the system analysis phase and the architecture built in the system design phase. All of the requisite classes have been recognized. The relationships between the specified classes are established, and class hierarchies are identified. In addition, the developer creates the internal details of the classes and their relationships, such as the data structure for each attribute and the algorithms for the operations.
Object-Oriented Decomposition
Decomposition is the process of dividing a vast, complicated system into a hierarchy of smaller components with lower complexities based on divide-and-conquer concept. Each significant component of the system is referred to as a subsystem. Object-oriented decomposition identifies individual autonomous objects in a system and their communication. Individual components are **less complex, making them more understandable and manageable. It allows for the division of labor with specialized talents. It enables subsystems to be changed or modified without affecting other subsystems.
Concurrency Identification
Concurrency allows multiple objects to receive events at the same time and multiple activities to be completed simultaneously. To support concurrency, each concurrent element is given its own control thread. If the concurrency is at the object level, two concurrent objects are given separate threads of control. Likewise, if two operations on a single object are concurrent, the object is divided among different threads. Concurrency can be plagued with issues such as data integrity, deadlock, and starvation. When concurrency is required, a clear strategy to tackle these issues must be developed. Furthermore, concurrency must be discovered during the design stage and cannot be ignored till the implementation stage.
Pattern Identification in OOD
Patterns are conventional solutions to common challenges in object-oriented design. A Software Design Pattern is a general, reusable solution to a commonly occurring problem within a given context in software design. A design pattern systematically describes and explains a general design that handles a recurring design challenge in object-oriented systems. It discusses the problem, the remedy when to use it, and the repercussions. It also provides implementation guidance and examples. A pattern in object-oriented programming might include the description of specific objects and object classes to be utilized, their properties and dependencies, and the overall strategy for solving the problem.
Controlling Events in OOD
During system design, the events that may occur in the system's objects must be identified and dealt with effectively. An event is a description of a noteworthy occurrence with a time and geographical location. There are four sorts of events that can be represented, which are as follows:
- Signal event: A signal event is a named item thrown by one object and caught by another.
- Call event: A synchronous event that represents the dispatch of an operation.
- Time event: A time event is an occurrence that represents the passage of time.
- Change event: A change event represents a state change.
Boundary Conditions Handling in OOD
The initiation and termination of the system as a whole, as well as each subsystem, must be addressed throughout the system design process. Boundary use cases illustrate boundary conditions. The following are some aspects that are documented:
- The system's startup, or the shift from a non-initialized state to a stable state.
- The system is terminated, which includes the shutdown of all running threads, the cleanup of resources, and the messages to be sent.
- The initial configuration of the system and its adjustment when needed.
- Predicting system failures or unintended system shutdown.
Design of Object
The object design process comprises the following tasks:
- Object recognition
- Object representation, or the creation of design models
- Operation classification
- Design of algorithms
- Relationship design
- Control implementation for external interactions
- Modularize classes and connections.
Relationships Designing
During the object design phase, the strategy for implementing the relationships must be developed. Associations, aggregations, and inheritances are some of the common relationships. The designer should address things like identifying whether an association is unidirectional or bidirectional, etc.
Packaging Classes in OOD

A package is a namespace that organizes a set of related classes and interfaces. The thorough partitioning of an implementation into modules or packages is critical in any major project. Classes and objects are bundled into packages during object design to allow several groups to collaborate on a project.
Optimizing the Design
Before implementing a design, it should be optimized to make the implementation more efficient. Optimization aims to reduce costs in time, space, and other metrics. However, excessive design optimization should be avoided because ease of implementation, maintainability, and extensibility are also significant considerations. A perfectly optimized design is often more efficient but less understandable and reusable. As a result, the designer must find a happy middle ground between the two.
Documentation of Design
Documentation is an essential aspect of any software development process since it records the steps involved in creating the product. For any non-trivial software system, design decisions must be documented in order to be transmitted to others.
What is Booch Methodology?
The Booch Methodology is an approach to software development, particularly in Object-Oriented Analysis and Design (OOAD), pioneered by Grady Booch. It provides a systematic framework for designing and developing software systems using object-oriented principles. The methodology encompasses various stages of the software development lifecycle, including requirements analysis, system design, implementation, and testing.
Key components of the Booch Methodology include object modeling, class diagrams, dynamic modeling, and architectural design. It emphasizes modularity, encapsulation, and abstraction to create flexible and maintainable software solutions.
Key Elements of Booch Methodology
The Booch Methodology comprises several key elements that guide the process of object-oriented analysis and design (OOAD) and software development. These elements include:
- Object Modeling: Identifying and modeling the key entities and objects within the system, along with their attributes, behaviors, and relationships. Object modeling serves as the foundation for the entire development process.
- Class Diagrams: Creating class diagrams to visually represent the static structure of the system, including classes, their attributes, methods, and associations. Class diagrams provide a blueprint for designing the software architecture.
- Dynamic Modeling: Analyzing and modeling the dynamic behavior of the system, including interactions between objects, state transitions, and sequence diagrams. Dynamic modeling helps understand how the system behaves over time and in response to various inputs.
- Architectural Design: Designing the overall architecture of the system, including the organization of classes, modules, and components, as well as defining interfaces and dependencies. Architectural design ensures that the system is scalable, maintainable, and adaptable to changes.
- Object-Oriented Design Principles: Applying fundamental object-oriented design principles such as encapsulation, inheritance, polymorphism, and abstraction to ensure modular and reusable code.
- Iterative and Incremental Development: Embracing an iterative and incremental approach to software development, where the system evolves through multiple cycles of analysis, design, implementation, and testing. This allows for feedback-driven refinement and continuous improvement.
- Documentation: Creating comprehensive documentation to capture the requirements, design decisions, and implementation details of the system. Documentation serves as a reference for developers, testers, and other stakeholders throughout the project lifecycle.
- Tool Support: Leveraging appropriate tools and technologies to facilitate the modeling, design, implementation, and testing activities. Tools such as UML modeling tools, integrated development environments (IDEs), and version control systems enhance productivity and collaboration.
Booch Methodology Phases
The Booch Methodology encompasses several phases that guide the process of object-oriented analysis and design (OOAD) and software development. These phases include:

1. Requirements Gathering and Analysis
In this initial phase, the focus is on understanding the stakeholders’ requirements and analyzing the problem domain. Requirements are gathered through interactions with stakeholders, including end-users, clients, and domain experts. The goal is to identify the functional and non-functional requirements that the software system must fulfill.
2. Object-Oriented Analysis (OOA)
During the OOA phase, the emphasis is on modeling the problem domain using object-oriented concepts. Object modeling techniques, such as use case diagrams, class diagrams, and interaction diagrams, are employed to capture the structure, behavior, and relationships of the system’s entities and objects. The goal is to develop a clear understanding of the problem domain and define the system’s requirements in terms of objects and their interactions.
3. Object-Oriented Design (OOD)
In the OOD phase, the focus shifts to designing the solution architecture based on the requirements identified during the analysis phase. Design decisions are made regarding the organization of classes, modules, and components, as well as the definition of interfaces and relationships between objects. Object-oriented design principles, such as encapsulation, inheritance, and polymorphism, are applied to ensure modularity, reusability, and maintainability of the software.
4. Implementation
During the implementation phase, the design specifications are translated into executable code. Object-oriented programming languages, such as Java or C++, are typically used to implement the classes and components defined in the design phase. The emphasis is on writing clean, modular, and well-documented code that adheres to the design specifications and coding standards.
5. Testing
The testing phase involves verifying and validating the software system to ensure that it meets the specified requirements and functions correctly. Various testing techniques, including unit testing, integration testing, and system testing, are employed to identify and fix defects or bugs in the software. The goal is to ensure the reliability, robustness, and quality of the software before deployment.
6. Deployment and Maintenance
Once the software has been thoroughly tested and validated, it is deployed into the production environment for end-users to use. The deployment phase involves activities such as installation, configuration, and user training. After deployment, the software enters the maintenance phase, where updates, enhancements, and bug fixes are made to address evolving user needs and ensure the long-term viability of the system.
By following these phases in the Booch Methodology, software development teams can systematically analyze, design, implement, test, deploy, and maintain high-quality object-oriented software systems that meet the needs of stakeholders and end-users.
Important Techniques/Diagrams for Booch Methodology
In the Booch Methodology and object-oriented analysis and design (OOAD) in general, several popular techniques and diagrams are commonly used to model and design software systems:
- Use Case Diagrams: Use case diagrams depict the interactions between users (actors) and the system, illustrating various use cases or functionalities offered by the system. They help in understanding the system’s requirements from a user’s perspective and identifying primary actors and their interactions with the system.
- Class Diagrams: Class diagrams represent the static structure of the system by showing classes, their attributes, methods, and relationships. They provide a visual representation of the system’s object-oriented design, including inheritance, association, aggregation, and composition relationships between classes.
- Sequence Diagrams: Sequence diagrams illustrate the dynamic behavior of the system by showing the sequence of interactions between objects over time. They depict how objects collaborate to accomplish a specific task or use case, including the exchange of messages and the order of method invocations.
- Collaboration Diagrams: Collaboration diagrams, also known as communication diagrams, visualize the interactions between objects by showing the links between objects and the messages exchanged between them. They provide a more detailed view of object interactions compared to sequence diagrams, focusing on the structure of the interactions rather than the sequence.
- State Diagrams: State diagrams, or state machine diagrams, model the behavior of individual objects or system components by depicting their states and the transitions between states triggered by events. They are particularly useful for modeling the lifecycle of objects and capturing complex behaviors with distinct states and transitions.
- Activity Diagrams: Activity diagrams represent the flow of control or workflow within the system, showing the sequence of activities or actions performed by objects or system components. They are often used to model business processes, use case scenarios, or system behaviors that involve multiple actors and steps.
- Package Diagrams: Package diagrams organize classes and other elements into packages or modules, showing the dependencies between packages and the structure of the system’s architecture. They help in managing the complexity of large systems by providing a hierarchical view of the system’s components and their relationships.
- Deployment Diagrams: Deployment diagrams illustrate the physical deployment of software components onto hardware nodes, showing the allocation of software artifacts to hardware resources such as servers, computers, or devices. They help in understanding the system’s deployment architecture and identifying potential scalability and performance issues.
Step-by-step Process to Apply Booch Methodology
Applying the Booch Methodology involves several steps that guide the process of object-oriented analysis and design (OOAD) and software development. Below is a step-by-step process to apply the Booch Methodology effectively:

Step 1: Identify Stakeholders and Gather Requirements
Begin by identifying the stakeholders involved in the project, including end-users, clients, and domain experts. Gather requirements through interviews, workshops, and documentation analysis to understand the needs and objectives of the system.
Step 2: Analyze Requirements
Analyze the gathered requirements to identify the key functionalities and constraints of the system. Use techniques such as use case analysis, scenario analysis, and requirements prioritization to clarify and refine the requirements.
Step 3: Object-Oriented Analysis (OOA)
Model the problem domain using object-oriented analysis techniques. Identify the main objects, classes, attributes, methods, and relationships involved in the system. Use tools such as class diagrams, use case diagrams, and interaction diagrams to represent the analysis model.
Step 4: Object-Oriented Design (OOD)
Design the solution architecture based on the analysis model developed in the previous step. Define the structure of classes, modules, and components, as well as their relationships and interfaces. Apply object-oriented design principles such as encapsulation, inheritance, and polymorphism to ensure modularity and reusability.
Step 5: Iterative Development
Embrace an iterative and incremental approach to software development. Break down the project into smaller iterations or sprints, each focusing on implementing and delivering specific features or functionalities. Continuously gather feedback from stakeholders and refine the design and implementation based on the feedback received.
Step 6: Implementation
Write clean, modular, and well-documented code based on the design specifications developed in the previous steps. Implement the classes, modules, and components defined in the design phase using object-oriented programming languages and frameworks.
Step 7: Testing
Test the software system to ensure that it meets the specified requirements and functions correctly. Perform various testing activities, including unit testing, integration testing, system testing, and acceptance testing, to identify and fix defects or bugs in the software.
Step 8: Deployment and Maintenance
Deploy the tested and validated software into the production environment for end-users to use. Provide installation, configuration, and user training as necessary. Maintain the software by addressing bugs, adding new features, and making enhancements based on user feedback and changing requirements.
Benefits of Booch Methodology
The Booch Methodology offers several benefits in object-oriented analysis and design (OOAD) and software development:
- Structured Approach: Booch Methodology provides a structured and systematic approach to OOAD, guiding developers through the process of analyzing requirements, designing solutions, and implementing software systems.
- Clarity and Understanding: By using visual modeling techniques such as class diagrams, sequence diagrams, and collaboration diagrams, Booch Methodology helps in achieving a clearer understanding of the problem domain and system architecture.
- Modularity and Reusability: Booch Methodology encourages the creation of modular and reusable components, classes, and modules, promoting code reusability and reducing duplication of effort in software development.
- Flexibility and Adaptability: The iterative and incremental nature of Booch Methodology allows for flexibility and adaptability to changing requirements and evolving project needs. Developers can incrementally refine and enhance the software system based on feedback and changing priorities.
- Object-Oriented Principles: Booch Methodology emphasizes object-oriented principles such as encapsulation, inheritance, and polymorphism, which lead to cleaner, more maintainable, and more extensible software designs.
- Collaboration and Communication: Booch Methodology facilitates collaboration and communication among development teams, stakeholders, and end-users through visual models, documentation, and iterative feedback loops.
- Quality and Reliability: By following a disciplined approach to analysis, design, and implementation, Booch Methodology helps ensure the quality and reliability of the software system, reducing the likelihood of defects and bugs.
Challenges of Booch Methodology
While the Booch Methodology offers numerous benefits, it also presents several challenges that developers may encounter during its application:
- Learning Curve: Mastering the Booch Methodology and its associated techniques, such as UML modeling and object-oriented design principles, can require a significant investment of time and effort. Newcomers to the methodology may find it challenging to understand and apply its concepts effectively.
- Complexity: The Booch Methodology involves the creation of detailed models and diagrams to represent the system’s architecture and behavior. Managing the complexity of these models, especially in large-scale projects, can be challenging and may lead to overly complex designs that are difficult to understand and maintain.
- Subjectivity: Decisions made during the analysis and design phases of the Booch Methodology can be subjective and open to interpretation. Different developers may have varying perspectives on how to model the system or assign responsibilities to classes, leading to inconsistencies or disagreements within the development team.
- Over-Engineering: Over-reliance on the Booch Methodology’s modeling techniques and design principles without considering the specific needs and constraints of the project can result in over-engineered solutions. Developers may spend excessive time creating elaborate models or applying complex design patterns that are not necessary for the project’s requirements.
- Resistance to Change: Introducing the Booch Methodology into an organization or development team may face resistance from stakeholders who are accustomed to traditional software development methodologies or ad-hoc development practices. Overcoming resistance and fostering buy-in for adopting new processes can be challenging.
- Maintaining Consistency: Ensuring consistency and coherence across different models, diagrams, and documentation produced during the Booch Methodology can be challenging, especially in large and distributed development teams. Without proper coordination and communication, inconsistencies may arise, leading to confusion and errors.
What is Yourdon and Coad
Yourdon & Coad's Object-Oriented Analysis and Design (OOA/OOD) is an object-oriented method that precedes UML. Edraw contains special shapes and settings for creating Yourdon and Coad diagrams.
In Edraw Professional, the Yourdon and Coad Diagrams templates and shapes are in the Software folder.

Edraw is a very easy-to-use and intuitive database design tool and Yourdon and Coad diagramming tool which can save you hundreds hours of work.
Edraw is not only an excellent tool for database & ER Diagram, but also one that allows you to design flowchart, program structures, create detailed HTML or PDF reports.
Free Download Yourdon and Coad Software and View All Examples
System Requirements
Works on Windows 7, 8, 10, XP, Vista and Citrix
Works on 32 and 64 bit Windows
Works on Mac OS X 10.2 or later
Yourdon and Coad Software Features
- Vector illustrations (8,500+ clipart and digital images)
- Over 1000 professionally designed templates
- Versatile drawing tools (can produce 200+ kinds of diagrams besides Yourdon and Coad diagrams
- Professional diagrams editing
- Free support (tons of learning materials to help you draw high quality infographics)
- Broad file format compatibility
Yourdon and Coad Symbols
This Edraw template, based on the Yourdon and Coad method, includes components for creating data-flow diagrams and also object state diagrams. Some unique attributes of their DFD notation include:
- A data store is represented as two parallel, horizontal lines.
- Processes are represented by a circle, and adorned with a double circle for multiple processes (indicating that further decomposition exists at a lower level). Note: the oval process should be reserved for object or class diagrams.

Rumbaugh Methodology
(OMT)
The Rumbaugh methodology also known as OMT (Object Modeling Technique) is an approach used to develop manageable object-oriented systems and host object oriented programming. The purpose is to allow for class attributes, methods, inheritance, and association to be easily expressed. OMT is used in the real world for software modeling and designing.
According to Rumbaugh, there are several main reasons to utilize this modeling approach. One is to simulate entities before constructing them and another is to make communication with customers easier. Additionally, it help to reduce complexity through visualization.
OMT consists of four stages:
- Analysis
- Systems Design
- Object Design
- Implementation
Additionally, OMT is always broken down into three separate parts. These parts are the:
- An object model
- A dynamic model
- A functional model.
We will explain the bullets in greater detail later on.
Notation/Diagramming Technique
In OMT, abstract or concrete classes are represented as rectangles. Italicized font indicates abstraction while a normal font represents a concrete class.
| CONCRETE | ABSTRACT |
|---|
Lines indicate an association. There can be different multiplicities of association:
- A regular line indicates exactly one association
- Numbers above the line will indicate the multiplicity of associations
- A line with an open circle indicates optional multiplicity
- A line with a filled circle indicates many multiplicities
- A line with a diamond indicates an aggregation
Note: Multiplicity indicates the number of objects that can participate in a relationship or the number of instances of one class as it relates to another. Also, an aggregation is a tighter-defined association.
Additionally, objects are portrayed as rounded rectangles, the $ sign represents class operations or attributes, and a triangle in between associations represents a generalization or inheritance.
Phases
OMT consists of the following four phases:
Analysis: Assigns an object, dynamic and functional model to the design. Determines important properties and domain.
Systems Design: Outlines the basic systems structure of the program. Accounts for data storage and concurrency among other things.
Object Design: Classifies objects and determines operations and data structures. Inheritance and different associations are also checked.
Implementation: Conveys design through code.
Models
There are three main types of models:
Object Model: This model is the most stable and static of the models. Concerns itself with mainly classes and their associations with attributes. Divides the model into objects.
Dynamic Model: Concerns itself with the interaction between objects through events, states, and transitions.
Functional Model: Concerns itself with data flows, data storage, constraints, and processes
Example
Below is a simple example of a bank account. We've described the relationship and process of simple transactions between customers and bank accounts. We've also listed the instances and methods (only in the BankAccount class). And we have optional multiplicity of association between our transaction and bank account.
Take a look.

Booch Methodology
Booth's methodology focuses on object-oriented analysis and design and consists of five activities: conceptualization, analysis, design, evolution, and maintainance. The method is cyclical and accounts for incremental improvements that are made in the evolution of a product.
Note: Clouds are used to define classes.
Macro process:
- Conceptualization: Establish requirements taking into account the perspective of the customer
- Analysis: Develop a model by defining object classes, their attributes, methods, and inheritance. Include associations, the dynamic part of a model.
- Design: Develop a structure/architecture where logical and physical details are discussed
- Evolution: As it relates to the implementation
- Maintainance: Maintainance following the delivery of the product
Micro process
- Identify classes and objects
- Identify semantics as it relates to programming
- Identify interactions/relationships
- Note abstraction as it relates to interfaces and their implementation
The macro process is the general cycle that follows in Booch's method, the micro process emerges during the development or implementation of new features (classes, behaviors, etc.)
Note: The methodology details six different models/diagrams: class diagrams, state transition diagrams, object diagrams, process diagrams, module diagrams, and interaction diagrams. Class and module diagrams are static while state transition diagrams are dynamic.
Example
Below is a diagram illustrating a booch diagram as it relates to the types of bank accounts. We have a superclass BankAccount and we've listed its attributes below. As you can see, our classes SavingsAccount and CheckingsAccount inherit the superclass.
Jacobson Methodology (OOSE)
The Jacobson methodology, also known as Object-Oriented Software Engineering (OOSE) or even Objectory, is a method used to plan, design, and implement object-oriented software. The method is broken down into five parts: a set of requirements, an analysis, a design, an implementation, and a testing model. Uniquely, the methodology or OOSE utilizes use cases in its design. We will go into more detail about these use cases and the five parts later on.
According to the author, OOSE is meant to provide robustness to a software design making it more resilient, manageable, and maintainable.
Components
OOSE can be broken down into five separate components as we previously mentioned: a set of requirements, an analysis, a design, an implementation, and a testing model. These five parts correspond with certain verbs we can associate them with. The requirements model is expresses, the analysis model is structures, the design model realizes, the implementation model implements, and the test model verifies.
Models:
Requirements: Create problem domain object diagram (as they satisfy requirements) and specifies use case diagrams
Analysis: Analysis diagrams (these are similar to the ones we covered in the other methods)
Design: State transition diagrams and interaction diagrams (these are similar to the ones we covered in the other methods)
Implementation: Implementation of the model
Testing Model: Testing of the model
Use Cases
Use cases help us understand the how we want to design our system; more specifically, they are scenarios for helping us understanding the requirements of our system.
We can classify a use case as an interaction between a user and the system; hence "use" case. Broken down each use case has a goal and a responsibility: a goal for the user and a responsibility for the system to execute. Use cases can include non-formal code with no clear events flow, to clear events flow, to formal pseudo code. Additionally, use cases should be connected/related to one another with actors supporting the execution of the software and actors receiving the result of the execution in a chain of interconnected use cases.
- The how and when the use case begins and ends
- Governs interactions between the various actors - when the interaction occurs and what material is exchanged
- The how and when of data storage and data usage
- Exceptions
- The how and when of how the constraints of the problem domain are handled
As you can see, use cases have a emphasis on the how and the when of every feature and element of software. This helps improve the robustness of our system and its usability.
Example
Below is an example of a diagram illustrating a simplified ordering kiosk system. The direction of the arrow indicates what each use cases uses. The ordering kiosk relies on the customer for the order; similarly the receipt relies on the ordering kiosk for the order, who in turn the chef relies on. Our circles represent actors while our horizontal ovals represent the use cases.

With this article at OpenGenus, you must have the complete idea of Rumbaugh, Booch and Jacobson Methodologies.
- These components are structural and indicate characteristics that remain throughout an application's operational life. They distinguish one object from another.
- These components focus on control and are sensitive to timing and event processing. They define how one object interacts with other objects over time.
Comments
Post a Comment