code: private void readResourceAssignments(Project gpProject)
     {
        Allocations allocations = gpProject.getAllocations();
        if (allocations != null)
        {
           for (Allocation allocation : allocations.getAllocation())
           {
              readResourceAssignment(allocation);
           }
        }
     }
docs: Read all resource assignments from a GanttProject project.
  
  @param gpProject GanttProject project