public class ClosureMessageRule extends ClosureRuleSupport implements ca.uhn.hl7v2.validation.MessageRule
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, setTestClosure
public ClosureMessageRule()
public ClosureMessageRule(groovy.lang.Closure testClosure)
public groovy.lang.MetaClass getMetaClass()
getMetaClass
in interface groovy.lang.GroovyObject
getMetaClass
in class ClosureRuleSupport
public void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass
in interface groovy.lang.GroovyObject
setMetaClass
in class ClosureRuleSupport
public Object invokeMethod(String method, Object arguments)
invokeMethod
in interface groovy.lang.GroovyObject
invokeMethod
in class ClosureRuleSupport
public Object getProperty(String property)
getProperty
in interface groovy.lang.GroovyObject
getProperty
in class ClosureRuleSupport
public void setProperty(String property, Object value)
setProperty
in interface groovy.lang.GroovyObject
setProperty
in class ClosureRuleSupport
public ca.uhn.hl7v2.validation.ValidationException[] test(ca.uhn.hl7v2.model.Message msg)
test
in interface ca.uhn.hl7v2.validation.MessageRule
public 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 © 2018 Open eHealth Foundation. All rights reserved.