ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nathan Maves <nathan.ma...@gmail.com>
Subject Re: Manage a collection wrapped within another object
Date Sat, 17 Oct 2009 17:26:40 GMT
yes

On Sat, Oct 17, 2009 at 6:42 AM, fadishei <fadishei@yahoo.com> wrote:

>
> Hello
>
> Assume that you have collection property "actors" in a mapped class "Movie"
> and your code works fine this way:
>
> Movie.java:
> ...
> protected List<Artist> actors;
> ...
>
>
> But I need to declare this property as:
>
> Movie.java:
> ...
> protected ActorList actors
> ...
>
> ActorList.java:
> public class ActorList extends HashMap<Artist>
> ...
>
> is it possible?
> --
> View this message in context:
> http://www.nabble.com/Manage-a-collection-wrapped-within-another-object-tp25937976p25937976.html
> Sent from the iBATIS - User - Java mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-java-unsubscribe@ibatis.apache.org
> For additional commands, e-mail: user-java-help@ibatis.apache.org
>
>

Mime
View raw message