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();