Class ClosurePrimitiveTypeRule
java.lang.Object
org.openehealth.ipf.modules.hl7.validation.model.ClosureRuleSupport
org.openehealth.ipf.modules.hl7.validation.model.ClosurePrimitiveTypeRule
- All Implemented Interfaces:
PrimitiveTypeRule,Rule<String>,GroovyObject,Serializable
public class ClosurePrimitiveTypeRule
extends ClosureRuleSupport
implements PrimitiveTypeRule, GroovyObject
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionClosurePrimitiveTypeRule(Closure testClosure) ClosurePrimitiveTypeRule(String description, String sectionReference, Closure testClosure) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanstatic ClosuregetPASS()booleanbooleanvoidvoidsetOmitLeadingWhitespace(boolean value) voidsetOmitTrailingWhitespace(boolean value) static voidbooleanMethods inherited from class org.openehealth.ipf.modules.hl7.validation.model.ClosureRuleSupport
getDescription, getSectionReference, getTestClosure, setDescription, setSectionReference, setTestClosureMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface groovy.lang.GroovyObject
getProperty, invokeMethod, setPropertyMethods inherited from interface ca.uhn.hl7v2.validation.Rule
getDescription, getSectionReference
-
Constructor Details
-
ClosurePrimitiveTypeRule
-
ClosurePrimitiveTypeRule
-
-
Method Details
-
getMetaClass
- Specified by:
getMetaClassin interfaceGroovyObject- Overrides:
getMetaClassin classClosureRuleSupport
-
setMetaClass
- Specified by:
setMetaClassin interfaceGroovyObject- Overrides:
setMetaClassin classClosureRuleSupport
-
getOmitLeadingWhitespace
public boolean getOmitLeadingWhitespace() -
isOmitLeadingWhitespace
public boolean isOmitLeadingWhitespace() -
setOmitLeadingWhitespace
public void setOmitLeadingWhitespace(boolean value) -
getOmitTrailingWhitespace
public boolean getOmitTrailingWhitespace() -
isOmitTrailingWhitespace
public boolean isOmitTrailingWhitespace() -
setOmitTrailingWhitespace
public void setOmitTrailingWhitespace(boolean value) -
getPASS
-
setPASS
-
correct
- Specified by:
correctin interfacePrimitiveTypeRule
-
test
- Specified by:
testin interfacePrimitiveTypeRule
-
apply
-