Class RequiredValidation

  • All Implemented Interfaces:
    GeneralValidation, PropertyValidation

    public class RequiredValidation
    extends BasePropertyValidation
    implements GeneralValidation
    A validation (both property and general) that ensures that a given property is not empty. Handles objects in general (rejecting null values), entity models (rejecting with null ids), strings (rejecting empty strings), collections, maps and arrays (rejecting empty collections)