final DBCollection col = getCollectionNode().getCollection();
String map = getStringFieldValue(Item.mrMap);
String reduce = getStringFieldValue(Item.mrReduce);
String finalize = getStringFieldValue(Item.mrFinalize);
String stype = getStringFieldValue(Item.mrType);
final OutputType type = OutputType.valueOf(stype.toUpperCase());
String out = getStringFieldValue(Item.mrOut);
if (type != OutputType.INLINE && (out.isEmpty())) {
new InfoDialog(id, null, null, "Output collection cannot be empty if type is not inline.").show();
return;
}