Class ClosureRuleSupport
java.lang.Object
org.openehealth.ipf.modules.hl7.validation.model.ClosureRuleSupport
- All Implemented Interfaces:
GroovyObject
- Direct Known Subclasses:
ClosureEncodingRule
,ClosureMessageRule
,ClosurePrimitiveTypeRule
-
Constructor Summary
ConstructorDescriptionClosureRuleSupport
(Closure<ValidationException[]> testClosure) ClosureRuleSupport
(String description, String sectionReference, Closure<ValidationException[]> testClosure) -
Method Summary
Modifier and TypeMethodDescriptionvoid
setDescription
(String value) void
void
setSectionReference
(String value) void
setTestClosure
(Closure<ValidationException[]> value) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface groovy.lang.GroovyObject
getProperty, invokeMethod, setProperty
-
Constructor Details
-
ClosureRuleSupport
public ClosureRuleSupport() -
ClosureRuleSupport
-
ClosureRuleSupport
public ClosureRuleSupport(String description, String sectionReference, Closure<ValidationException[]> testClosure)
-
-
Method Details
-
getMetaClass
- Specified by:
getMetaClass
in interfaceGroovyObject
-
setMetaClass
- Specified by:
setMetaClass
in interfaceGroovyObject
-
getTestClosure
-
setTestClosure
-
getSectionReference
-
setSectionReference
-
getDescription
-
setDescription
-