ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fadishei <fadis...@yahoo.com>
Subject Manage a collection wrapped within another object
Date Sat, 17 Oct 2009 12:42:55 GMT

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