?= <[EMAIL PROTECTED]>
MIME-Version: 1.0
Message-Id: <[EMAIL PROTECTED]>
Content-Transfer-Encoding: quoted-printable

I'm rather new to Castor JDO, but I've been playing around, and my=20
observation is that this is inaccurate:

Collection fields require only the get() and add() methods.  I have sever=
al=20
objects with dependent collections, and none of them has a set(Collection=
),=20
and I can still run my code.

I may be missing something, or have found a "feature" that allows me to d=
o=20
this inadvertently, so if I'm mistaken, please let me know so I can do th=
ings=20
the right way.

Best

Diego

On Saturday 16 March 2002 08:56 am, Bruce Snyder wrote:
> This one time, at band camp, John Gregg said:
>
> JG>The mapping.dtd file states in part:  "Collection fields require onl=
y a
> get JG>method...."  However, FieldMolder line 584 throws an exception i=
f no
> set or JG>add method is found.  Is the documentation out of date or is =
the
> code wrong? JG>This is for version 0.9.3.9.
>
> John,
>
> The documentation is simply out of date. Collection fields actually nee=
d
> a minimum of three methods:
>
>     an accessor - getXXX()
>     two mutators - setXXX() and addXXX.
>
> Bruce
> --
>
> perl -e 'print unpack("u44",
> "\?0G)U8V4\@4VYY9&5R\"F)R=3D6-E0&)S;GED97(N;W)G\"\@\`\`");'
>
> -----------------------------------------------------------
> If you wish to unsubscribe from this mailing, send mail to
> [EMAIL PROTECTED] with a subject of:
> =09unsubscribe castor-dev

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to