Re: OOA/D
From: Thomas Matthews (Thomas_MatthewsSpitsOnSpamBots_at_sbcglobal.net)
Date: 06/09/04
- Previous message: Mike Wahler: "Re: [OT] OOA/D"
- In reply to: Phil: "OOA/D"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 09 Jun 2004 18:54:01 GMT
Phil wrote:
> Could someone help me to do the following?:
Since your request involves object oriented design,
I have set the Followup-To: comp.object
>
>
>
>
>
> The ABC Company has a manufacturing plant.
Nouns: ABC Company, manufacturing plant (building).
Verbs: "has a".
> Ginger Harris, the company buyer,
> chooses a prospective supplier to furnish input materials for the plant.
Nouns: Ginger Harris (a person); attribute: company buyer
buyer
supplier
input materials
plant (i.e. the manufacturing building).
Actions: Ginger Harris chooses supplier.
supplier provides (furnishes) materials for building
{implies that building has materials}
> She
> has a credit application sent to the prospective supplier.
Nouns: She (Ginger Harris)
credit application
supplier
Actions: Ginger Harris sends application to supplier.
supplier receives application.
> The supplier
> decides whether or not to extend credit to ABC Company.
Nouns: supplier
credit
ABC Company
Actions: supplier extends credit to company.
supplier rejects credit request.
> If credit is
> extended and the terms are acceptable to the purchase manager, then an
> account is established between the new supplier and ABC Company.
Nouns: credit
credit terms
purchase manager
account
supplier
ABC Company
Actions: {left up to the OP or reader}
>
>
>
> When the plant needs input material, Ginger, the company buyer, identifies
> the supplier for that material. She purchases the input material by sending
> a purchasing order to the supplier. The supplier supplies the input
> materials and sends an invoice to the company. The company credit balance
> and the credit available are updated. The company pays the invoice within
> the specified time.
>
>
>
>
>
> 1. Using an object analysis and design methodology of your choice,
> apply the steps of OOA/D (e.g. identifying classes, objects, attributes,
> structures (i.e. kind of & part of), services/method, etc.) to the problem
> domain given above, and produce a simple object diagram.
>
>
One technique of OOA/D is to identify all the nouns. Make them into
objects. Next identify all the actions. Draw actions as relationships
between objects.
You may want to sit down with your instructor and identify what you
don't understand about the assignment. Is it the content (you have
trouble translating English to your native language) or is there
something you don't understand about OOA/D?
--
Thomas Matthews
C++ newsgroup welcome message:
http://www.slack.net/~shiva/welcome.txt
C++ Faq: http://www.parashift.com/c++-faq-lite
C Faq: http://www.eskimo.com/~scs/c-faq/top.html
alt.comp.lang.learn.c-c++ faq:
http://www.raos.demon.uk/acllc-c++/faq.html
Other sites:
http://www.josuttis.com -- C++ STL Library book
- Previous message: Mike Wahler: "Re: [OT] OOA/D"
- In reply to: Phil: "OOA/D"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|