Package net.sf.mpxj.planner.schema

Examples of net.sf.mpxj.planner.schema.Predecessor


      if (predecessors != null)
      {
         for (Relation rel : predecessors)
         {
            Integer taskUniqueID = rel.getTargetTask().getUniqueID();
            Predecessor plannerPredecessor = m_factory.createPredecessor();
            plannerPredecessor.setId(getIntegerString(++id));
            plannerPredecessor.setPredecessorId(getIntegerString(taskUniqueID));
            plannerPredecessor.setLag(getDurationString(rel.getLag()));
            plannerPredecessor.setType(RELATIONSHIP_TYPES.get(rel.getType()));
            predecessorList.add(plannerPredecessor);
            m_projectFile.fireRelationWrittenEvent(rel);
         }
      }
   }
View Full Code Here

TOP

Related Classes of net.sf.mpxj.planner.schema.Predecessor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.