Class StandardMandatoryGroupValidatorContribution
java.lang.Object
ch.tocco.nice2.persist.core.api.validation.StandardMandatoryGroupValidatorContribution
Validator witch checks that either all of the provided fields are empty or all of the provided fields are filled out.
Examples
@Bean
public StandardMandatoryGroupValidatorContribution accrualExportStandardMandatoryGroupValidatorContribution() {
StandardMandatoryGroupValidatorContribution contribution = new StandardMandatoryGroupValidatorContribution();
contribution.setEntityName("Order");
contribution.setFields("service_start_date, service_end_date");
return contribution;
}
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
StandardMandatoryGroupValidatorContribution
public StandardMandatoryGroupValidatorContribution()
-
-
Method Details
-
getEntityName
-
setEntityName
-
getFields
-
setFields
-