}
}
protected void importAssignments(net.sf.mpxj.Task mpxTask, Task task) {
for (net.sf.mpxj.ResourceAssignment mpxAssignment:mpxTask.getResourceAssignments()){
MpxAssignmentConverter converter=new MpxAssignmentConverter();
Assignment assignment=new Assignment();
assignment.setTask(task);
converter.from(mpxAssignment, assignment, state);
task.addAssignment(assignment);
}
}