From: Tripp, B. <Bry...@uh...> - 2004-12-14 18:16:05
|
Hi Jim,=20 Thank you, that's a good suggestion. It's good to have each parent as = the factory of its own children, but I don't think adding setters that = override this behaviour would cause any problems. =20 If anyone else has an opinion about this, your comments would be appreciated.=20 Thanks,=20 Bryan=20 > -----Original Message----- > From: hl7...@li... > [mailto:hl7...@li...]On Behalf Of Jim > Krygowski > Sent: December 13, 2004 9:40 AM > To: hl7...@li... > Subject: [HAPI-devel] RE: javabean compliant get/set pairs >=20 >=20 > Hey- >=20 > Sorry about the typos in the code example.... I haven't had=20 > enough coffee=20 > yet. >=20 > The example should have read: >=20 > public MSH getMSH(); // simple getter > public void setMSH(MSH value); // simple setter >=20 > public void=20 > setORU_R01_PIDPD1NK1NTEPV1PV2ORCOBRNTEOBXNTECTI(int index,=20 > ORU_R01_PIDPD1NK1NTEPV1PV2ORCOBRNTEOBXNTECTI value); // indexed setter > public ORU_R01_PIDPD1NK1NTEPV1PV2ORCOBRNTEOBXNTECTI > getORU_R01_PIDPD1NK1NTEPV1PV2ORCOBRNTEOBXNTECTI(int index); // indexed > getter >=20 > public void >=20 > setORU_R01_PIDPD1NK1NTEPV1PV2ORCOBRNTEOBXNTECTI(ORU_R01_PIDPD1 > NK1NTEPV1PV2ORCOBRNTEOBXNTECTI >=20 > [] value); // array setter > public ORU_R01_PIDPD1NK1NTEPV1PV2ORCOBRNTEOBXNTECTI[] > getORU_R01_PIDPD1NK1NTEPV1PV2ORCOBRNTEOBXNTECTI(); // array getter >=20 >=20 >=20 >=20 > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from=20 > real users. > Discover which products truly live up to the hype. Start reading now.=20 > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Hl7api-devel mailing list > Hl7...@li... > https://lists.sourceforge.net/lists/listinfo/hl7api-devel >=20 |