Package net.sf.mpxj.mspdi.schema

Examples of net.sf.mpxj.mspdi.schema.Project


         m_taskExtendedAttributes = new HashSet<TaskField>();
         m_resourceExtendedAttributes = new HashSet<ResourceField>();
         m_assignmentExtendedAttributes = new HashSet<AssignmentField>();

         m_factory = new ObjectFactory();
         Project project = m_factory.createProject();

         writeProjectHeader(project);
         writeCalendars(project);
         writeResources(project);
         writeTasks(project);
View Full Code Here


                  return (true);
               }
            });
         }

         Project project = (Project) unmarshaller.unmarshal(doc);

         HashMap<BigInteger, ProjectCalendar> calendarMap = new HashMap<BigInteger, ProjectCalendar>();

         readProjectHeader(project);
         readProjectExtendedAttributes(project);
         readCalendars(project, calendarMap);
         readResources(project, calendarMap);
         readTasks(project);
         readAssignments(project);

         //
         // Ensure that the unique ID counters are correct
         //
         m_projectFile.updateUniqueCounters();

         //
         // Ensure that the default calendar name is set in the project header
         //
         ProjectCalendar defaultCalendar = calendarMap.get(project.getCalendarUID());
         if (defaultCalendar != null)
         {
            m_projectFile.getProjectHeader().setCalendarName(defaultCalendar.getName());
         }
View Full Code Here

TOP

Related Classes of net.sf.mpxj.mspdi.schema.Project

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.