Analyze a Problem Using Object-Oriented Analysis and Design

Object-Oriented Analysis and Design (OOAD) principles:

Identifying a Problem Domain:
Problem Domain is the scope of the problem that needs to be resolved where the objects can be identified.

Identifying Object Properties:

  • Identify Object's Attributes and State.
  • Identify Object's Operations (things they can do) and Behaviour (operations that an object performs). Object Operation includes setting a value or displaying on the screen while an Object Behaviour can be an operation that allows other objects to change the objects's colour attribute from one state to another, such as green to blue.

Additional Criteria for Recognizing Objects:

  • Relevance to the problem domain - Does the object exist within the boundaries of the problem domain? Is the object required for the solution to be complete? Is the object required as part of an interaction between a user and the solution?
  • Independence Existence - For an item to be an object and not an attribute of another object, it must exist independently in the context of the problem domain. Objects can be connected and still have independent existence. When evaluating potential objects, ask yourself if the object needs to exist independently, rather than being an attribute of another object.

0 comments:

Post a Comment