If I have any ingeger or boolean field like 'someField'  in the schema, the Source Generator is generating a _has_someField in the java code generated.
 
The XMLFieldandler seems to return null instead of the default java value when getValue(...) is invoked for that field.
 
May I know why this is coded so? This unnecessarily clutters the code and makes it difficult to read...I just want to know the significance of this...
 
Regards,
Choudary.
 
Ex:
 
public class Manager extends company.Employee implements java.io.Serializable
{
    private int _peopleUnder;
 
    /**
     * keeps track of state for field: _peopleUnder
    **/
    private boolean _has_peopleUnder;
 
  //the rest of the code is elided
}

Reply via email to