These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: How to: Make use of Generic Collections
PostPosted: Sat Aug 12, 2006 9:15 am 
Regular
Regular

Joined: Tue Feb 07, 2006 4:27 pm
Posts: 69
I'm using the 1.0.2 beta release and have read the documentation stating that Generic support is now included.

I cannot find any good examples or documentation that demonstrates how to make use of this for my collections.

I have the following class:

Code:
public class Project {

    private IList _ProjectClasses; 

}


I would prefer to use:
Code:
public class Project {

    private IList<ProjectClass> _ProjectClasses; 

}


can someone show me what the mapping file would look like and what my Project class and or ProjectClass definitions would look like..?

Thanks in advance.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.