Beans can have properties of collection type in Aegis. But you might need, at least, a dummy setter.
On Tue, Jul 21, 2009 at 11:02 PM, [email protected]<[email protected]> wrote: > > For example, suppose I need to return two values, an int and a List of Foo. I > know it will work without any special coding if I return just > List<Foo>. But what if I want to return a container for both values, > like ListResults<Foo>...? > > > public class ListResults<T> { > private List<T> page; > private int totalCount; > > public ListResults(List<T> page, int totalCount) { > this.page = page; > this.totalCount = totalCount; > } > > public List<T> getPage() { > return page; > } > > public int getTotalCount() { > return totalCount; > } > } > > -- > View this message in context: > http://www.nabble.com/Handling-of-generics-other-than-Java-Collection-types-tp24598487p24599321.html > Sent from the cxf-user mailing list archive at Nabble.com. >
