if (current_state.getRoot() != null) { root_id = current_state.getRoot().getId(); BusinessObjectState parent_state = boSearcher.findLatestState(parent); if (parent_state == null || parent_state.getRoot() == null) { throw new DcpMappingException("Unable to find parent business object: " + parent); } else { statedu.addParent(new DcsDeliverableUnitRef(parent_state.getRoot().getId()));
DcsDeliverableUnit root = (state != null) ? state.getRoot() : null;