BuilderSupport.withdrawn() insteadpublic class WithdrawnDatatypeRule extends SizeRule
Validation Rule which will not accept any content (i.e. length must be 0).
This class is expected to be used for withdrawn fields/components, and will provide a failure description indicating that the type is withdrawn.
If you wish to disable this rule globally, invoke the following code:
System.setProperty(ca.uhn.hl7v2.validation.impl.WithdrawnDatatypeRule.PROP_DISABLE_RULE, "true");
Note that this property is only checked the first time the class is
loaded (i.e. not at runtime). To disable for an individual parser at runtime,
call parser.setValidationContext(new NoValidation());| Modifier and Type | Field and Description |
|---|---|
static String |
PROP_DISABLE_RULE
Deprecated.
Set the value of a system property to "true" to disable this rule
globally.
|
| Constructor and Description |
|---|
WithdrawnDatatypeRule()
Deprecated.
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Deprecated.
Returns a text description of the rule.
|
correct, testfailed, failed, failed, failed, failedWithValue, getErrorCode, getSectionReference, getSeverity, passed, result, result, setDescription, setErrorCode, setSectionReference, setSeverityclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSectionReferencepublic static final String PROP_DISABLE_RULE
public WithdrawnDatatypeRule()
public String getDescription()
getDescription in interface Rule<String>getDescription in class SizeRuleRule.getDescription()Copyright © 2001-2013 University Health Network. All Rights Reserved.