protected void processCalendar(Row row)
   {
      Integer uniqueID = row.getInteger("CAL_UID");
      if (NumberHelper.getInt(uniqueID) > 0)
      {
         boolean baseCalendar = row.getBoolean("CAL_IS_BASE_CAL");
         ProjectCalendar cal;
         if (baseCalendar == true)
         {
            cal = m_project.addCalendar();
            cal.setName(row.getString("CAL_NAME"));
         }
         else
         {
            Integer resourceID = row.getInteger("RES_UID");
            cal = m_project.addCalendar();
            m_baseCalendarReferences.add(new Pair<ProjectCalendar, Integer>(cal, row.getInteger("CAL_BASE_UID")));
            m_resourceMap.put(resourceID, cal);
         }

         cal.setUniqueID(uniqueID);
         m_calendarMap.put(uniqueID, cal);
         m_eventManager.fireCalendarReadEvent(cal);
      }
   }
protected void processCalendar ( Row row ) { Integer uniqueID = row . getInteger ( "CAL_UID" ) ; if ( NumberHelper . getInt ( uniqueID ) > 0 ) { boolean baseCalendar = row . getBoolean ( "CAL_IS_BASE_CAL" ) ; ProjectCalendar cal ; if ( baseCalendar == true ) { cal = m_project . addCalendar ( ) ; cal . setName ( row . getString ( "CAL_NAME" ) ) ; } else { Integer resourceID = row . getInteger ( "RES_UID" ) ; cal = m_project . addCalendar ( ) ; m_baseCalendarReferences . add ( new Pair < ProjectCalendar , Integer > ( cal , row . getInteger ( "CAL_BASE_UID" ) ) ) ; m_resourceMap . put ( resourceID , cal ) ; } cal . setUniqueID ( uniqueID ) ; m_calendarMap . put ( uniqueID , cal ) ; m_eventManager . fireCalendarReadEvent ( cal ) ; } }
Read a calendar.

@param row calendar data