Interface PrototypeFieldsCombinationValidator

    • Method Detail

      • getPrototypes

        java.util.Collection<EntityFieldPrototype<?>> getPrototypes()
        Returns:
        the list of fields whose combination is being validated
      • validate

        ValidationError validate​(PrototypeFieldsCombination<?> fieldsCombination)
        Implements the validation and return an error if there is.
        Parameters:
        fieldsCombination - the map containing the fields specified by getPrototypes(). If a field is being modified by the command, its new value is going to be in the map, otherwise the existing value would be passed.
        Returns:
        validation error if there is or null if OK