Package com.projectlibre.core.nodes

Examples of com.projectlibre.core.nodes.NodeId


  public void from(net.sf.mpxj.ResourceAssignment mpxAssignment, Assignment assignment, MpxImportState state) {
    Resource resource;
    if (mpxAssignment.getResourceUniqueID().intValue() == Resource.UNASSIGNED_ID)
      resource=state.getResourcePool().getUnassignedResource();
    else resource = state.getResource(new NodeId(mpxAssignment.getResource().getUniqueID()));
    if (resource==null)
      return; //TODO handle error or log
    assignment.setResource(resource);
   
    //convert fields
View Full Code Here

TOP

Related Classes of com.projectlibre.core.nodes.NodeId

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.