Everytime I use the source generator to generate a schema, it will create a method for a "integer' field. For example, a field is defined:
xsd:element name="Quantity" type="xsd:integer" minOccurs="1" maxOccurs="1"/>
 
It will generate two properties:
 
    private int _quantity;
 
    /**
     * keeps track of state for field: _quantity
    **/
    private boolean _has_quantity;
 
Is there a way to disable generating the second boolean attribute? Because When I use the DDL/JDO Doclet,  it always generate a XML field map  and a database column for this boolean field.
 
If it has to be generated, do I need to create a table column to hold this boolean attribute? That will be a waste of effort.
 
Thanks ahead,
John

Reply via email to