Package ca.uhn.hl7v2.validation.builder
Class ValidationRuleBuilder
java.lang.Object
ca.uhn.hl7v2.validation.builder.BuilderSupport
ca.uhn.hl7v2.validation.builder.RuleTypeBuilder<ValidationRuleBuilder,Rule<?>>
ca.uhn.hl7v2.validation.builder.ValidationRuleBuilder
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DefaultValidationWithoutTNBuilder,DelegatingValidationRuleBuilder,NoValidationBuilder
Base class every rule builder starts with. All rules being built are bound to the HL7 versions
that are specified here.
- Author:
- Christian Ohr
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassHelper builder when the versions are not given explicitly but in form of an expression.Nested classes/interfaces inherited from class ca.uhn.hl7v2.validation.builder.RuleTypeBuilder
RuleTypeBuilder.MessageExpressionBuilder -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidExtend this method to add validation rules to the builderfinal ValidationRuleBuilderfinal ValidationRuleBuilderforVersion(Version... version) final ValidationRuleBuilderforVersion(String... version) final List<RuleBinding<? extends Rule<?>>>Methods inherited from class ca.uhn.hl7v2.validation.builder.RuleTypeBuilder
activate, active, addRuleBindings, description, encoding, getRuleBindings, getRules, instance, message, message, prepareRule, primitive, refersToSection, severity, testMethods inherited from class ca.uhn.hl7v2.validation.builder.BuilderSupport
allOf, allOf, always, alwaysFails, anyOf, anyOf, date, dateTime, dateTime25, empty, emptyOr, in, in, isEqual, isEqualIgnoreCase, matches, matches, matches, maxLength, nonNegativeInteger, not, number, oid, startsWith, time, usPhoneNumber, uuid, withdrawn
-
Constructor Details
-
ValidationRuleBuilder
protected ValidationRuleBuilder()
-
-
Method Details
-
initialize
-
configure
Extend this method to add validation rules to the builder -
forVersion
-
forVersion
-
forVersion
-
forAllVersions
-