| View previous topic :: View next topic |
| Author |
Message |
SteveF Guest
|
Posted: Wed Sep 08, 2004 11:15 am Post subject: Library System |
|
|
Hi,
I'm trying to build a system that manages a book library. I've
identified the analysis classes:
LibraryMember
BookTitle
BookCopy
Reservation
Loan
I'm confused about where some of the behaviour goes however. Which
class should searchForTitle be implemented? It doesn't seem to sit
anywhere. What's the rule for assigning behaviour? How do you know
where it goes?
Any help would be useful
Thanks
|
|
| Back to top |
|
 |
Andrew Thompson Guest
|
Posted: Wed Sep 08, 2004 11:25 am Post subject: Re: Library System |
|
|
On 8 Sep 2004 04:15:37 -0700, SteveF wrote:
| Quote: | I'm confused about where some of the behaviour goes however. Which
class should searchForTitle be implemented?
|
'Catalog' or.. 'BookCatalog' (whichever
name suits you better).
| Quote: | ..What's the rule for assigning behaviour?
|
Ehhh? Could you rephrase that?
I do not quite understand.
--
Andrew Thompson
http://www.PhySci.org/ Open-source software suite
http://www.PhySci.org/codes/ Web & IT Help
http://www.1point1C.org/ Science & Technology
|
|
| Back to top |
|
 |
Aki Sus Laukkanen Guest
|
Posted: Wed Sep 08, 2004 11:58 am Post subject: Re: Library System |
|
|
Andrew Thompson wrote:
| Quote: | ..What's the rule for assigning behaviour?
Ehhh? Could you rephrase that?
I do not quite understand.
|
I think what Steve was trying to ask was "How do I determine which
functionality goes into what class?".
--
-Aki "Sus" Laukkanen
|
|
| Back to top |
|
 |
SteveF Guest
|
Posted: Mon Sep 27, 2004 2:37 pm Post subject: Re: Library System |
|
|
"Aki "Sus" Laukkanen" <aki.laukkanenREMOVETHIS (AT) helsinki (DOT) fi> wrote
| Quote: | Andrew Thompson wrote:
..What's the rule for assigning behaviour?
Ehhh? Could you rephrase that?
I do not quite understand.
I think what Steve was trying to ask was "How do I determine which
functionality goes into what class?".
|
Correct. Am I asking an impossible question?
|
|
| Back to top |
|
 |
|