code: public void processResources(List<Row> rows)
     {
        for (Row row : rows)
        {
           Resource resource = m_project.addResource();
           processFields(m_resourceFields, row, resource);
           resource.setResourceCalendar(getResourceCalendar(row.getInteger("clndr_id")));
  
           // Even though we're not filling in a rate, filling in a time unit can still be useful
           // so that we know what rate time unit was originally used in Primavera.
           TimeUnit timeUnit = TIME_UNIT_MAP.get(row.getString("cost_qty_type"));
           resource.setStandardRateUnits(timeUnit);
           resource.setOvertimeRateUnits(timeUnit);
  
           // Add User Defined Fields
           populateUserDefinedFieldValues("RSRC", FieldTypeClass.RESOURCE, resource, resource.getUniqueID());
  
           m_eventManager.fireResourceReadEvent(resource);
        }
     }
docs: Process resources.
  
  @param rows resource data