Hello there,

how much work would it be to make the 
org.apache.tuscany.sdo.generate.XSD2JavaGenerator
generate interfaces and implementations with proper generic types, instead of
raw types? For example, for an xsd containing the fragment

<complexType name="MappingRuleType">
    <sequence>
      <element name="extendSelection" type="mappingrule:ExtendSelectionType"
        maxOccurs="unbounded" minOccurs="0">
      </element>
    </sequence>
</complexType>    

I would desire the corresponding interface to expose the method
        List<ExtendSelectionType> getExtendSelection();

instead of
        List getExtendSelection();

I am using Tuscany 1.6. Has this tool been adapted for Tuscany 2.0?
Or is there a particular reason why raw types are generated? 

Sebastian Millies

Reply via email to