Interface IFieldValidator<F extends Field>

Type Parameters:
F - the type of the Fields a IFieldValidator validates
All Superinterfaces:
DatabaseObjectValidator<F>, IResourceValidator
All Known Subinterfaces:
IMultiReferenceValidator, IMultiValueFieldValidator, IOptionalReferenceValidator, IOptionalValueFieldValidator, IReferenceValidator, IValueFieldValidator
All Known Implementing Classes:
AbstractFieldValidator, MultiReferenceValidator, MultiValueFieldValidator, OptionalReferenceValidator, OptionalValueFieldValidator, ReferenceValidator, StandardFieldValidator, ValueFieldValidator

public interface IFieldValidator<F extends Field> extends DatabaseObjectValidator<F>
Author:
Silvan Wyss
  • Method Details

    • assertBelongsToEntity

      void assertBelongsToEntity(F field)
    • assertDoesNotBelongToEntity

      void assertDoesNotBelongToEntity(F field)
    • assertIsNotEmpty

      void assertIsNotEmpty(F field)
    • assertIsNotMandatoryAndEmptyBoth

      void assertIsNotMandatoryAndEmptyBoth(F field)
    • assertKnowsParentColumn

      void assertKnowsParentColumn(F field)