| 
					
						 Hi,
 
 It looks like calling PropertyType.getReturnedClass() always returns a java.util.Collection in the case of <bag> property even though the generated Java objects implements the property as a List. According to the documentation <bag> can be implementated as either, I'm not sure how the code generator decides? 
 
 Anyways, is there a way getReturnedClass() can give me List instead of Collection? It's probably not a huge issue given their relationship but some of the List functionality might come in handy. I guess I could just always cast it (using this in a generic fashion in a code generator). 
 
 Thanks
 Peter 
					
  
						
					 |