Interface ValidationMarker

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ValidationMarker
Interface for validation message markers.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final ValidationMarker
    Marks a mandatory field and returns true for isRequiredInformationMissing().
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns true if the marker marks a validation for a mandatory field.
  • Field Details

    • REQUIRED

      @NonNull static final ValidationMarker REQUIRED
      Marks a mandatory field and returns true for isRequiredInformationMissing().
  • Method Details

    • isRequiredInformationMissing

      boolean isRequiredInformationMissing()
      Returns true if the marker marks a validation for a mandatory field.