private void checkValues(Restriction restriction, DirectoryString res) { checkMandatoryField("restriction", res, restriction.getRestriction()); }