code: public void update(Record record, boolean isText) throws MPXJException
     {
        int length = record.getLength();
  
        for (int i = 0; i < length; i++)
        {
           if (isText == true)
           {
              add(getTaskCode(record.getString(i)));
           }
           else
           {
              add(record.getInteger(i).intValue());
           }
        }
     }
docs: This method populates the task model from data read from an MPX file.
  
  @param record data read from an MPX file
  @param isText flag indicating whether the textual or numeric data is being supplied