public class MessageRuleBinding extends RuleBinding<MessageRule>
RuleBinding
that applies to MessageRule
s.
In general there is no need to use this class directly. Instead use the Validation builder classes to generate rules and rule bindings.
Constructor and Description |
---|
MessageRuleBinding(String theVersion,
String theMessageType,
String theTriggerEvent,
MessageRule theRule) |
Modifier and Type | Method and Description |
---|---|
boolean |
appliesToScope(String theScope) |
applies, appliesToVersion, getActive, getRule, getScope, getVersion, setActive, toString
public MessageRuleBinding(String theVersion, String theMessageType, String theTriggerEvent, MessageRule theRule)
theVersion
- see RuleBinding.getVersion()
theMessageType
- a value valid for MSH-9-1 or * for alltheTriggerEvent
- a value valid for MSH-9-2 or * for alltheRule
- rule to be used for bindingpublic boolean appliesToScope(String theScope)
appliesToScope
in class RuleBinding<MessageRule>
theScope
- must be in the form type^event (ie message type and trigger event separated
by a caret)Copyright © 2001–2017 University Health Network. All rights reserved.