Class SlotLengthAndNameUniquenessValidator
java.lang.Object
org.openehealth.ipf.commons.ihe.xds.core.validate.SlotLengthAndNameUniquenessValidator
Validates lengths of ebXML slot values and uniqueness of slot names.
- Author:
- Jens Riemschneider, Dmytro Rud
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
validateContainer
(EbXMLObjectContainer container) Validates slot lengths and name uniqueness for the given ebXML object container.static void
validateQuerySlots
(List<? extends EbXMLSlot> slots, Set<String> allowedSlotNamesMultiple)
-
Constructor Details
-
SlotLengthAndNameUniquenessValidator
public SlotLengthAndNameUniquenessValidator()
-
-
Method Details
-
validateContainer
Validates slot lengths and name uniqueness for the given ebXML object container.- Parameters:
container
- the container of ebXML objects.- Throws:
XDSMetaDataException
- if a slot length validation failed.
-
validateQuerySlots
public static void validateQuerySlots(List<? extends EbXMLSlot> slots, Set<String> allowedSlotNamesMultiple) throws XDSMetaDataException - Throws:
XDSMetaDataException
-