.. why fix it. heh
-Tim
-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: Friday, March 14, 2003 8:00 PM
To: [EMAIL PROTECTED]
Subject: JSTL okay with get method, but no set method?
I have a DTO that contains a List of objects. Since you can add any Object
to a List, I
I have a DTO that contains a List of objects. Since you can add any Object
to a List, I would rather not have a
setAssistants( List asst );
method that would allow someone to add a list of inappropriate object types.
Instead, I want to only have:
public List getAssistants();
public void
Wendy == Wendy Smoak [EMAIL PROTECTED] writes:
Wendy I have a DTO that contains a List of objects. Since you can add any Object
Wendy to a List, I would rather not have a
Wendy setAssistants( List asst );
Wendy method that would allow someone to add a list of inappropriate