Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » J2EE Pattern »

Re: associations in classes

Rangarajan , Suresh ( Cognizant )

2003-07-29



http://www.dcs.shef.ac.uk/~sjr/com6050/

u cud do this very well using a search engine...

-----Original Message-----
From: Pradeep Kumar [mailto:pradeepk@(protected)]
Sent: Tuesday, July 29, 2003 12:11 PM
To: J2EEPATTERNS-INTEREST@(protected)
Subject: Re: associations in classes


I second Sanjiv, here. Can someone please send/point to examples.

-----Original Message-----
From:  Sanjiv Kapila [mailto:skapila@(protected)]
Sent:  Monday, July 28, 2003 4:48 PM
To:   J2EEPATTERNS-INTEREST@(protected)
Subject:         associations in classes

Hi,
Just to confirm my understanding, can any one send me some sample code for
each of association types for classes in java :
1. aggregation
2. Composition
3. generalization

we may assume there are 3 classes A,B,C.
regards
Sanjiv

====================================================================
Community Web Site (Core J2EE Patterns Catalog - Online Version):
http://java.sun.com/blueprints/corej2eepatterns
Getting Started (Beta Version):
http://developer.java.sun.com/developer/technicalArticles/J2EE/patterns/
Get the book:
http://www.amazon.com/exec/obidos/ASIN/0130648841/corej2eepatte-20
List Archive:
http://archives.java.sun.com/archives/j2eepatterns-interest.html
Unsubscribing:
email "signoff J2EEPATTERNS-INTEREST" to listserv@(protected)




DISCLAIMER:
This message (including attachment if any) is confidential and may be privileged. Before opening attachments please check them for viruses and defects. MindTree Consulting Private Limited (MindTree) will not be responsible for any viruses or defects or any forwarded attachments emanating either from within MindTree or outside. If you have received this message by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change and MindTree shall not be liable for any improper, untimely or incomplete transmission.

=======================
Community Web Site (Core J2EE Patterns Catalog - Online Version):
http://java.sun.com/blueprints/corej2eepatterns
Getting Started (Beta Version):
http://developer.java.sun.com/developer/technicalArticles/J2EE/patterns/
Get the book:
http://www.amazon.com/exec/obidos/ASIN/0130648841/corej2eepatte-20
List Archive:
http://archives.java.sun.com/archives/j2eepatterns-interest.html
Unsubscribing:
email "signoff J2EEPATTERNS-INTEREST" to listserv@(protected)
This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information.
If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.
Any unauthorised review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken in reliance on this e-mail is strictly
prohibited and may be unlawful.

          Visit us at http://www.cognizant.com
©2008 junlu.com - Jax Systems, LLC, U.S.A.