if (vm == null) {
return null;
}
final OneReport_Type report = new OneReport_Type();
report.setEpr(this.trinst.getEPR(vm.getID()));
report.setCurrentState(this.trinst.getCurrentState(vm));
report.setNetworking(this.trinst.getLogistics(vm).getNetworking());
report.setSchedule(this.trinst.getSchedule_Type(vm));
return report;
}