ra.setNodeNumber(dep.getNodeNumber());
// handled elsewhere: dep.getPostShutdown();
final ShutdownMechanism_Type shutdownMech = dep.getShutdownMechanism();
if (shutdownMech == null) {
req.setShutdownType(CreateRequest.SHUTDOWN_TYPE_NORMAL);
} else {
final String type = (String) shutdownMap.get(shutdownMech);
if (type == null) {
throw new CannotTranslateException("unknown shutdown " +
"mechanism '" + shutdownMech.toString() + "'");
} else {
req.setShutdownType(type);
}
}