code: private void readAssignment(Resource resource, Assignment assignment)
     {
        Task task = m_activityMap.get(assignment.getActivity());
        if (task != null)
        {
           task.addResourceAssignment(resource);
        }
     }
docs: Read a single resource assignment.
  
  @param resource MPXJ resource
  @param assignment Phoenix assignment