Package com.projectlibre.core.time

Examples of com.projectlibre.core.time.WorkContour


      Duration duration=(Duration)timephasedValue.getValue();
      openprojAssignment.setInterval(openprojType, timephasedValue.getStart(), timephasedValue.getEnd(),duration.getValue());
    }
       
    //contour
    WorkContour contour=assignment.getContour();
    if (contour == null)
      openprojAssignment.setWorkContourType(ContourTypes.FLAT);
    else if (contour == WorkContour.CONTOURED)
      openprojAssignment.makeContourPersonal();
    else
      openprojAssignment.setWorkContourType(contour.getId());
   
   
    openprojAssignment.makeFlatIfPossible();
   
    return openprojAssignment;
View Full Code Here


      }
    }
   
    //contour
    net.sf.mpxj.WorkContour mpxContour=mpxAssignment.getWorkContour();
    WorkContour contour;
    if (mpxContour==null)
      contour=WorkContour.FLAT;
    else contour=WorkContour.getInstance(mpxContour.getValue());
    assignment.setContour(contour);
 
View Full Code Here

TOP

Related Classes of com.projectlibre.core.time.WorkContour

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.