🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #513

Re: Java code for Associations between objects

#513
From: Kevin Dean [TeamB]
Date: Tue, 07 Jun 2005 13:32
25 lines
2015 bytes
John Hetherington wrote:

> Can anyone advise me as to how to code an association between
> objects. I need to know how to turn a class diagram into java code.
> 
> eg One (1) apartment Object has 0 or more(0..*) tenant Objects.

If you're using a UML modelling tool like Together or Rational Rose,
you can convert your diagrams to code automatically.  However, it
sounds like you could use some help with design patterns overall.  A
search on Google produces a number of useful links:

http://www.google.ca/search?hl=en&q=java+design+patterns&meta=
-- 
Kevin Dean [TeamB]
Dolphin Data Development Ltd.
http://www.datadevelopment.com/

NEW WHITEPAPERS
Team Development with JBuilder and Borland Enterprise Server
Securing Borland Enterprise Server
http://www.datadevelopment.com/papers/index.html

Please see Borland's newsgroup guidelines at
http://info.borland.com/newsgroups/guide.html
Technical Details
Message-ID: <xn0e37n6aocrq000-kdean@www.teamb.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!pd7cy2so!shaw.ca!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <42a564e5$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: f74b3,d909e8f22526d69e
X-Google-Attributes: gidf74b3,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Kevin Dean [TeamB]" <NkOdSePaAnM@datadevelopment.com>
Subject: Re: Java code for Associations between objects
Newsgroups: borland.public.jbuilder.java.language
References:  <42a564e5$1@newsgroups.borland.com>
Organization: Dolphin Data Development Ltd.
User-Agent: XanaNews/1.17.4.1
X-Face: ":yn4zt^A_dn>6~{YJmu^B\'4w)e:apPM\VC=Dvf&*tASxX9|BYczkFd$xr.$vNSZ[3Uobr
 p]c4\+\l){!WQI.$]veP({HLd;CDYH?iN
Message-ID: <xn0e37n6aocrq000-kdean@www.teamb.com>
X-Ref: newsgroups.borland.com ~XNS:000001EA
NNTP-Posting-Host: 67.68.62.37
Date: 7 Jun 2005 06:32:36 -0700
X-Trace: newsgroups.borland.com 1118151156 67.68.62.37 (7 Jun 2005 06:32:36 -0700)
Lines: 25
X-Authenticated-User: kdean
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!pd7cy2so!shaw.ca!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail