public abstract class AbstractPrimitiveTypeRule extends RuleSupport<String> implements PrimitiveTypeRule
| Constructor and Description |
|---|
AbstractPrimitiveTypeRule() |
| Modifier and Type | Method and Description |
|---|---|
String |
correct(String value)
Optionally performs an automatic correction on given data to make it
conform (eg trims leading whitespace).
|
boolean |
test(String value)
Tests the given string against the criteria defined by this
rule -- returns true if it passes the test, false otherwise.
|
failed, failed, failed, failed, failedWithValue, getDescription, getErrorCode, getSectionReference, getSeverity, passed, result, result, setDescription, setErrorCode, setSectionReference, setSeverityclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapply, getDescription, getSectionReferencepublic AbstractPrimitiveTypeRule()
public boolean test(String value)
PrimitiveTypeRuletest in interface PrimitiveTypeRulepublic String correct(String value)
PrimitiveTypeRulecorrect in interface PrimitiveTypeRulevalue - an original value to be correctedCopyright © 2001-2014 University Health Network. All Rights Reserved.