if (current_state.getRoot() != null) { root_id = current_state.getRoot().getId(); if (current_state.getLatestState() != null) { state_pred_id = current_state.getLatestState().getId();
if (state != null && state.getLatestState() != null) { predecessorId = state.getLatestState().getId();
DcsDeliverableUnit latest = kid_collection_state.getLatestState();
if (current_state.getRoot() != null) { root_id = current_state.getRoot().getId(); if (current_state.getLatestState() != null) { state_pred_id = current_state.getLatestState().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()));
if (archiveState != null && archiveState.getRoot() != null) { rootDu = archiveState.getRoot(); if (archiveState != null && archiveState.getLatestState() != null) { stateDu = archiveState.getLatestState();
DcsDeliverableUnit state_pred = (state != null) ? state.getLatestState() : null; DcsDeliverableUnit root = (state != null) ? state.getRoot() : null;