Class MessageRuleBinding

java.lang.Object
ca.uhn.hl7v2.validation.impl.RuleBinding<MessageRule>
ca.uhn.hl7v2.validation.impl.MessageRuleBinding
All Implemented Interfaces:
Serializable

A RuleBinding that applies to MessageRules.

In general there is no need to use this class directly. Instead use the Validation builder classes to generate rules and rule bindings.

Author:
Bryan Tripp
See Also:
  • Constructor Details

  • Method Details

    • appliesToScope

      public boolean appliesToScope(String theScope)
      Overrides:
      appliesToScope in class RuleBinding<MessageRule>
      Parameters:
      theScope - must be in the form type^event (ie message type and trigger event separated by a caret)
      Returns:
      true if the given type is within scope, ie if it matches getScope() or getScope() is *