private String formatMandatory(final Module mod) { if (!mod.getMandatory()) { return ""; } return "pflicht=\"j\""; }