Class AbstractModelConstraintProvider

    • Constructor Detail

      • AbstractModelConstraintProvider

        public AbstractModelConstraintProvider()
    • Method Detail

      • appliesTo

        public abstract boolean appliesTo​(java.lang.Class<?> modelClass)
        Description copied from interface: ModelConstraintProvider
        Indicates whether this constraint provider applies to the given model class
        Specified by:
        appliesTo in interface ModelConstraintProvider
        Parameters:
        modelClass - the model class
        Returns:
        true if this constraint provider applies to the given model class, false otherwise
      • addRemovalPredicates

        protected void addRemovalPredicates​(java.util.List<java.util.function.Predicate<Constraint>> removalPredicates)
        Description copied from class: AbstractConstraintProvider
        Add zero or more removal predicates to the given list of removal predicates.
        Specified by:
        addRemovalPredicates in class AbstractConstraintProvider
        Parameters:
        removalPredicates - the list of removal predicates