Class SlotValidation
java.lang.Object
org.openehealth.ipf.commons.ihe.xds.core.validate.SlotValidation
- All Implemented Interfaces:
RegistryObjectValidator
Validation for slots.
-
Constructor Summary
ConstructorDescriptionSlotValidation
(String slotName, ValueListValidator validator) Constructs the validation. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Validates a registry object.
-
Constructor Details
-
SlotValidation
Constructs the validation.- Parameters:
slotName
- the name of the slot.validator
- the validator to call for the slot.
-
-
Method Details
-
validate
Description copied from interface:RegistryObjectValidator
Validates a registry object.- Specified by:
validate
in interfaceRegistryObjectValidator
- Parameters:
obj
- the object.- Throws:
XDSMetaDataException
- if the validation failed.
-