code: private void readActivityCodes(Task task, List<CodeAssignmentType> codes)
     {
        for (CodeAssignmentType assignment : codes)
        {
           ActivityCodeValue code = m_activityCodeMap.get(Integer.valueOf(assignment.getValueObjectId()));
           if (code != null)
           {
              task.addActivityCode(code);
           }
        }
     }
docs: Read details of any activity codes assigned to this task.
  @param task parent task
  @param codes activity code assignments