code: private void processActivityCodes(APIBusinessObjects apibo, ProjectType project)
     {
        ActivityCodeContainer container = m_projectFile.getActivityCodes();
        Map<Integer, ActivityCode> map = new HashMap<Integer, ActivityCode>();
  
        List<ActivityCodeTypeType> types = new ArrayList<ActivityCodeTypeType>();
        types.addAll(apibo.getActivityCodeType());
        types.addAll(project.getActivityCodeType());
  
        for (ActivityCodeTypeType type : types)
        {
           ActivityCode code = new ActivityCode(type.getObjectId(), type.getName());
           container.add(code);
           map.put(code.getUniqueID(), code);
        }
  
        List<ActivityCodeType> typeValues = new ArrayList<ActivityCodeType>();
        typeValues.addAll(apibo.getActivityCode());
        typeValues.addAll(project.getActivityCode());
  
        for (ActivityCodeType typeValue : typeValues)
        {
           ActivityCode code = map.get(typeValue.getCodeTypeObjectId());
           if (code != null)
           {
              ActivityCodeValue value = code.addValue(typeValue.getObjectId(), typeValue.getCodeValue(), typeValue.getDescription());
              m_activityCodeMap.put(value.getUniqueID(), value);
           }
        }
     }
docs: Process activity code data.
  
  @param apibo global activity code data
  @param project project-specific activity code data