if (vm == null) {
throw new IllegalArgumentException("vm may not be null");
}
final OneCurrentWorkspace_Type one = new OneCurrentWorkspace_Type();
one.setEpr(this.trinst.getEPR(vm.getID()));
one.setCurrentState(this.trinst.getCurrentState(vm));
one.setLogistics(this.trinst.getLogistics(vm));
one.setResourceAllocation(this.trinst.getResourceAllocation_Type(vm));
one.setSchedule(this.trinst.getSchedule_Type(vm));
one.setDetails(this.trinst.getDetails(vm));
return one;
}