code: private void populateBar(Row row, Task task)
     {
        Integer calendarID = row.getInteger("CALENDAU");
        ProjectCalendar calendar = m_project.getCalendarByUniqueID(calendarID);
  
        //PROJID
        task.setUniqueID(row.getInteger("BARID"));
        task.setStart(row.getDate("STARV"));
        task.setFinish(row.getDate("ENF"));
        //NATURAL_ORDER
        //SPARI_INTEGER
        task.setName(row.getString("NAMH"));
        //EXPANDED_TASK
        //PRIORITY
        //UNSCHEDULABLE
        //MARK_FOR_HIDING
        //TASKS_MAY_OVERLAP
        //SUBPROJECT_ID
        //ALT_ID
        //LAST_EDITED_DATE
        //LAST_EDITED_BY
        //Proc_Approve
        //Proc_Design_info
        //Proc_Proc_Dur
        //Proc_Procurement
        //Proc_SC_design
        //Proc_Select_SC
        //Proc_Tender
        //QA Checked
        //Related_Documents
        task.setCalendar(calendar);
     }
docs: Uses data from a bar to populate a task.
  
  @param row bar data
  @param task task to populate