public class ClosureMessageRule extends ClosureRuleSupport implements ca.uhn.hl7v2.validation.MessageRule, groovy.lang.GroovyObject
| Constructor and Description |
|---|
ClosureMessageRule() |
ClosureMessageRule(groovy.lang.Closure testClosure) |
ClosureMessageRule(String description,
String sectionReference,
groovy.lang.Closure testClosure) |
| Modifier and Type | Method and Description |
|---|---|
ca.uhn.hl7v2.validation.ValidationException[] |
apply(ca.uhn.hl7v2.model.Message msg) |
groovy.lang.MetaClass |
getMetaClass() |
Object |
getProperty(String property) |
Object |
invokeMethod(String method,
Object arguments) |
void |
setMetaClass(groovy.lang.MetaClass mc) |
void |
setProperty(String property,
Object value) |
ca.uhn.hl7v2.validation.ValidationException[] |
test(ca.uhn.hl7v2.model.Message msg) |
getDescription, getSectionReference, getTestClosure, setDescription, setSectionReference, setTestClosurepublic ClosureMessageRule()
public ClosureMessageRule(groovy.lang.Closure testClosure)
public groovy.lang.MetaClass getMetaClass()
getMetaClass in interface groovy.lang.GroovyObjectgetMetaClass in class ClosureRuleSupportpublic void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass in interface groovy.lang.GroovyObjectsetMetaClass in class ClosureRuleSupportpublic Object invokeMethod(String method, Object arguments)
invokeMethod in interface groovy.lang.GroovyObjectinvokeMethod in class ClosureRuleSupportpublic Object getProperty(String property)
getProperty in interface groovy.lang.GroovyObjectgetProperty in class ClosureRuleSupportpublic void setProperty(String property, Object value)
setProperty in interface groovy.lang.GroovyObjectsetProperty in class ClosureRuleSupportpublic ca.uhn.hl7v2.validation.ValidationException[] test(ca.uhn.hl7v2.model.Message msg)
test in interface ca.uhn.hl7v2.validation.MessageRulepublic ca.uhn.hl7v2.validation.ValidationException[] apply(ca.uhn.hl7v2.model.Message msg)
apply in interface ca.uhn.hl7v2.validation.Rule<ca.uhn.hl7v2.model.Message>Copyright © 2016 Open eHealth Foundation. All rights reserved.