Module omix.api

Interface Validator

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 Validator
A validator can be connected to a normal field declaration in OVL. The validator checks the validity of a value before it is assigned to the field. If the value is not valid the assignment is ignored. A class implementing this interface must contain a parameterless public constructor.
Author:
Dr. Peter Droste, Omix Visualization