public class SlotValidation extends Object implements RegistryObjectValidator
Constructor and Description |
---|
SlotValidation(String slotName,
ValueListValidator validator)
Constructs the validation.
|
Modifier and Type | Method and Description |
---|---|
void |
validate(EbXMLRegistryObject obj)
Validates a registry object.
|
public SlotValidation(String slotName, ValueListValidator validator)
slotName
- the name of the slot.validator
- the validator to call for the slot.public void validate(EbXMLRegistryObject obj) throws XDSMetaDataException
RegistryObjectValidator
validate
in interface RegistryObjectValidator
obj
- the object.XDSMetaDataException
- if the validation failed.Copyright © 2018 Open eHealth Foundation. All rights reserved.