code: private void readRelationships(Project gpProject)
     {
        for (net.sf.mpxj.ganttproject.schema.Task gpTask : gpProject.getTasks().getTask())
        {
           readRelationships(gpTask);
        }
     }
docs: Read all task relationships from a GanttProject.
  
  @param gpProject GanttProject project