Class SlotValueValidation

java.lang.Object
org.openehealth.ipf.commons.ihe.xds.core.validate.SlotValueValidation
All Implemented Interfaces:
RegistryObjectValidator

public class SlotValueValidation extends Object implements RegistryObjectValidator
Performs a validation of a slot value.
Author:
Jens Riemschneider
  • Constructor Details

    • SlotValueValidation

      public SlotValueValidation(String slotName, ValueValidator validator, int min, int max)
      Constructs the validation.
      Parameters:
      slotName - the name of the slot.
      validator - the validator to use.
      min - the minimum number of values that the slot must have.
      max - the maximum number of values that the slot must have.
    • SlotValueValidation

      public SlotValueValidation(String slotName, ValueValidator validator)
      Constructs the validation.
      Parameters:
      slotName - the name of the slot.
      validator - the validator to use.
  • Method Details