|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PrimitiveTypeRule
A rule that applies to a primitive datatype.
Method Summary | |
---|---|
java.lang.String |
correct(java.lang.String value)
Optionally performs an automatic correction on given data to make it conform (eg trims leading whitespace). |
boolean |
test(java.lang.String value)
Tests the given string against the criteria defined by this rule -- returns true if it passes the test, false otherwise. |
Methods inherited from interface ca.uhn.hl7v2.validation.Rule |
---|
getDescription, getSectionReference |
Method Detail |
---|
java.lang.String correct(java.lang.String value)
value
- an original value to be corrected
boolean test(java.lang.String value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |