Hello all,

Please apologize me if I'm wrong --I'm new to jaxme-- but I think I ran into a bug tonight. The generation of isSet methods (<jaxb:globalBindings generateIsSetMethod="true" />) seems to be wrong in nested classes because of an extra underscore. Below is a short example of wrongly generated code: both "_period" and "period" are used as a member. Any thoughts?


public class VisualTypeImpl implements net.imo.www.VisualType {
public static class PeriodlistTypeImpl implements net.imo.www.VisualType.PeriodlistType {
private java.util.List period = new java.util.ArrayList();


    public java.util.List getPeriod() {
      return period;
    }

    public boolean isSetPeriod() {
      return (_period != null);
    }

  }

 ...
}


Generated from:

<xsd:complexType name="VisualType">
<xsd:all>
<xsd:element name="periodlist" minOccurs="1" maxOccurs="1">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="period" type="VisualPeriodType" minOccurs="1" maxOccurs="unbounded" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:all>
...
</xsd:complexType>



Many thanks, Geert Barentsen



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to