Interface PrototypeFieldValidator<T>

    • Method Detail

      • getPrototype

        EntityFieldPrototype<T> getPrototype()
        Returns:
        the field prototype validated by the validator
      • validate

        ValidationError validate​(T value)
        Validates the value.
        Parameters:
        value - new value of the field
        Returns:
        validation error or null if none