Class AbstractSyntaxRule
- java.lang.Object
-
- ca.uhn.hl7v2.validation.impl.RuleSupport<Message>
-
- ca.uhn.hl7v2.validation.impl.AbstractMessageRule
-
- org.openehealth.ipf.modules.hl7.validation.model.AbstractSyntaxRule
-
- All Implemented Interfaces:
MessageRule
,Rule<Message>
,GroovyObject
,Serializable
public class AbstractSyntaxRule extends AbstractMessageRule implements GroovyObject
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AbstractSyntaxRule(Object... args)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Object
analyzeSegments(AbstractSegmentContainer container, int pos, Object... args)
ValidationException[]
apply(Message msg)
MetaClass
getMetaClass()
protected void
group(AbstractSegmentContainer container, int pos, String name, int min, int max, Object args)
Object
methodMissing(String name, Object args)
protected void
segment(AbstractSegmentContainer container, int pos, String name, int min, int max)
void
setMetaClass(MetaClass mc)
-
Methods inherited from class ca.uhn.hl7v2.validation.impl.AbstractMessageRule
test
-
Methods inherited from class ca.uhn.hl7v2.validation.impl.RuleSupport
failed, failed, failed, failed, failedWithValue, getDescription, getErrorCode, getSectionReference, getSeverity, passed, result, result, setDescription, setErrorCode, setSectionReference, setSeverity
-
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
-
Methods inherited from interface ca.uhn.hl7v2.validation.Rule
getDescription, getSectionReference
-
-
-
-
Constructor Detail
-
AbstractSyntaxRule
public AbstractSyntaxRule(Object... args)
-
-
Method Detail
-
getMetaClass
public MetaClass getMetaClass()
- Specified by:
getMetaClass
in interfaceGroovyObject
-
setMetaClass
public void setMetaClass(MetaClass mc)
- Specified by:
setMetaClass
in interfaceGroovyObject
-
apply
public ValidationException[] apply(Message msg)
-
analyzeSegments
protected Object analyzeSegments(AbstractSegmentContainer container, int pos, Object... args)
-
group
protected void group(AbstractSegmentContainer container, int pos, String name, int min, int max, Object args)
-
segment
protected void segment(AbstractSegmentContainer container, int pos, String name, int min, int max)
-
-