public class ValidationRuleBuilder extends RuleTypeBuilder<ValidationRuleBuilder,Rule<?>>
Modifier and Type | Class and Description |
---|---|
class |
ValidationRuleBuilder.VersionExpressionBuilder
Helper builder when the versions are not given explicitly but in form of an expression.
|
RuleTypeBuilder.MessageExpressionBuilder
Modifier | Constructor and Description |
---|---|
protected |
ValidationRuleBuilder() |
Modifier and Type | Method and Description |
---|---|
protected void |
configure()
Extend this method to add validation rules to the builder
|
ValidationRuleBuilder |
forAllVersions() |
ValidationRuleBuilder.VersionExpressionBuilder |
forVersion() |
ValidationRuleBuilder |
forVersion(String... version) |
ValidationRuleBuilder |
forVersion(Version... version) |
List<RuleBinding<? extends Rule<?>>> |
initialize() |
activate, active, addRuleBindings, description, encoding, getRuleBindings, getRules, instance, message, message, prepareRule, primitive, refersToSection, severity, test
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
protected ValidationRuleBuilder()
public final List<RuleBinding<? extends Rule<?>>> initialize()
protected void configure()
public final ValidationRuleBuilder forVersion(Version... version)
public final ValidationRuleBuilder forVersion(String... version)
public final ValidationRuleBuilder.VersionExpressionBuilder forVersion()
public final ValidationRuleBuilder forAllVersions()
Copyright © 2001–2017 University Health Network. All rights reserved.