Re: [JBoss-user] Collections in CMP2.0

2002-04-18 Thread Peter Shillan
Erm... check *what* exactly... :">... Peter. On Wed, 17 Apr 2002 13:32:55 -0500 "Dain Sundstrom" <[EMAIL PROTECTED]> wrote: > Peter Shillan wrote: > > > Hi there, > > > > If I have a CMP 2.0 attribute which is a collection, I have > > > > public abstract void setChildren(java.util.Collection

Re: [JBoss-user] Collections in CMP2.0

2002-04-17 Thread Dain Sundstrom
Peter Shillan wrote: > Hi there, > > If I have a CMP 2.0 attribute which is a collection, I have > > public abstract void setChildren(java.util.Collection children); > > public abstract java.util.Collection getChildren(); > > My understanding was that if I want, I can write the following: >

[JBoss-user] Collections in CMP2.0

2002-04-17 Thread Peter Shillan
Hi there, If I have a CMP 2.0 attribute which is a collection, I have public abstract void setChildren(java.util.Collection children); public abstract java.util.Collection getChildren(); My understanding was that if I want, I can write the following: public void addChild(MyBean child) {