AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Library System

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java Help
View previous topic :: View next topic  
Author Message
SteveF
Guest





PostPosted: Wed Sep 08, 2004 11:15 am    Post subject: Library System Reply with quote



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





PostPosted: Wed Sep 08, 2004 11:25 am    Post subject: Re: Library System Reply with quote



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





PostPosted: Wed Sep 08, 2004 11:58 am    Post subject: Re: Library System Reply with quote



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





PostPosted: Mon Sep 27, 2004 2:37 pm    Post subject: Re: Library System Reply with quote

"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
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.