Package | Description |
---|---|
ca.uhn.hl7v2.validation.builder | |
ca.uhn.hl7v2.validation.builder.support |
Modifier and Type | Method and Description |
---|---|
Predicate |
BuilderSupport.allOf(Iterable<Predicate> predicates) |
Predicate |
BuilderSupport.allOf(Predicate... predicates) |
Predicate |
BuilderSupport.always(boolean b) |
Predicate |
BuilderSupport.alwaysFails() |
Predicate |
BuilderSupport.anyOf(Iterable<Predicate> predicates) |
Predicate |
BuilderSupport.anyOf(Predicate... predicates) |
Predicate |
BuilderSupport.date() |
Predicate |
BuilderSupport.dateTime() |
Predicate |
BuilderSupport.dateTime25() |
Predicate |
BuilderSupport.empty() |
Predicate |
BuilderSupport.emptyOr(Predicate predicate) |
Predicate |
PredicateRuleSupport.getPredicate() |
Predicate |
PredicateMessageRule.getPredicate() |
Predicate |
PredicatePrimitiveTypeRule.getPredicate() |
Predicate |
BuilderSupport.in(Collection<?> allowed) |
Predicate |
BuilderSupport.in(Object... allowed)
Equivalent with allOf(isEqual(allowed[0]), ..., isEqual(allowed[n-1])
|
Predicate |
BuilderSupport.isEqual(Object expected) |
Predicate |
BuilderSupport.isEqualIgnoreCase(Object expected) |
Predicate |
BuilderSupport.matches(String regex) |
Predicate |
BuilderSupport.matches(String regex,
int flags) |
Predicate |
BuilderSupport.matches(String regex,
String description) |
Predicate |
BuilderSupport.maxLength(int maxSize) |
Predicate |
BuilderSupport.nonNegativeInteger() |
Predicate |
BuilderSupport.not(Predicate predicate) |
Predicate |
BuilderSupport.number() |
Predicate |
BuilderSupport.oid() |
Predicate |
BuilderSupport.startsWith(String prefix) |
Predicate |
BuilderSupport.time() |
Predicate |
BuilderSupport.usPhoneNumber() |
Predicate |
BuilderSupport.uuid() |
Predicate |
BuilderSupport.withdrawn() |
Modifier and Type | Method and Description |
---|---|
Predicate |
BuilderSupport.allOf(Predicate... predicates) |
PrimitiveRuleBuilder |
PrimitiveRuleBuilder.allTrim(Predicate predicate)
Builds a
PrimitiveTypeRule that evaluates the specified Predicate against the
primitive value with leading and trailing whitespaces trimmed. |
Predicate |
BuilderSupport.anyOf(Predicate... predicates) |
Predicate |
BuilderSupport.emptyOr(Predicate predicate) |
PrimitiveRuleBuilder |
PrimitiveRuleBuilder.is(Predicate predicate)
Builds a
PrimitiveTypeRule that evaluates the specified Predicate against the
primitive value. |
PrimitiveRuleBuilder |
PrimitiveRuleBuilder.leftTrim(Predicate predicate)
Builds a
PrimitiveTypeRule that evaluates the specified Predicate against the
primitive value with leading whitespaces trimmed. |
Predicate |
BuilderSupport.not(Predicate predicate) |
PrimitiveRuleBuilder |
PrimitiveRuleBuilder.rightTrim(Predicate predicate)
Builds a
PrimitiveTypeRule that evaluates the specified Predicate against the
primitive value with trailing whitespaces trimmed. |
MessageRuleBuilder |
MessageRuleBuilder.terser(String spec,
Predicate predicate)
Builds a
MessageRule that extracts a primitive value using a Terser
expression and evaluates the specified Predicate . |
Modifier and Type | Method and Description |
---|---|
Predicate |
BuilderSupport.allOf(Iterable<Predicate> predicates) |
Predicate |
BuilderSupport.anyOf(Iterable<Predicate> predicates) |
Constructor and Description |
---|
PredicateMessageRule(Predicate predicate,
Expression<Message> expression)
Create a new message rule
|
PredicatePrimitiveTypeRule(Predicate predicate)
Creates a new primitive rule without trimming
|
PredicatePrimitiveTypeRule(Predicate predicate,
PredicatePrimitiveTypeRule.Trimmer trimmer)
Creates a new primitive rule
|
Constructor and Description |
---|
TerserMessageRule(String terserExpression,
Predicate predicate)
Creates a new instance of a terser message rule
|
Copyright © 2001–2017 University Health Network. All rights reserved.