ca.uhn.hl7v2.validation.impl
Class MessageRuleBinding
java.lang.Object
ca.uhn.hl7v2.validation.impl.RuleBinding<MessageRule>
ca.uhn.hl7v2.validation.impl.MessageRuleBinding
- All Implemented Interfaces:
- Serializable
public class MessageRuleBinding
- extends RuleBinding<MessageRule>
A RuleBinding that applies to MessageRules.
- Version:
- $Revision: 1.1 $ updated on $Date: 2007-02-19 02:24:40 $ by $Author: jamesagnew $
- Author:
- Bryan Tripp
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MessageRuleBinding
public MessageRuleBinding(String theVersion,
String theMessageType,
String theTriggerEvent,
MessageRule theRule)
- Parameters:
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 -
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 carat)
- Returns:
- true if the given type is within scope, ie if it matches getScope() or getScope() is *
Copyright © 2001-2012 University Health Network. All Rights Reserved.