Class SlotValidation
java.lang.Object
org.openehealth.ipf.commons.ihe.xds.core.validate.SlotValidation
- All Implemented Interfaces:
RegistryObjectValidator
Validation for slots.
-
Constructor Summary
ConstructorsConstructorDescriptionSlotValidation(String slotName, ValueListValidator validator) Constructs the validation. -
Method Summary
Modifier and TypeMethodDescriptionvoidValidates 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:RegistryObjectValidatorValidates a registry object.- Specified by:
validatein interfaceRegistryObjectValidator- Parameters:
obj- the object.- Throws:
XDSMetaDataException- if the validation failed.
-