Package com.projectlibre.core.time

Examples of com.projectlibre.core.time.DefaultTimephasedValues


    FieldUtil.convertFields(assignment, net.sf.mpxj.ResourceAssignment.class, mpxAssignment, fieldsToConvert, true);

    //timephased
    List<TimephasedDataType> mpxRawTimephasedData = state.getMpxTimephasedMap().get(mpxAssignment);
    if (mpxRawTimephasedData!= null) {
      DefaultTimephasedValues timephasedValues=new DefaultTimephasedValues();
      assignment.setTimephased(timephasedValues);
      MpxTimephasedConverter converter=new MpxTimephasedConverter();
      for (TimephasedDataType mpxTimephased : mpxRawTimephasedData){
        TimephasedValue<?> timephased=converter.from(mpxTimephased, state);
        if (timephased==null)
          continue;
        timephasedValues.addInterval(timephased);
      }
    }
   
    //contour
    net.sf.mpxj.WorkContour mpxContour=mpxAssignment.getWorkContour();
View Full Code Here

TOP

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

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.