|
||||||||||
| 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 | |
|---|---|
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. |
| Methods inherited from interface ca.uhn.hl7v2.validation.Rule |
|---|
getDescription, getSectionReference |
| Method Detail |
|---|
String correct(String value)
value - an original value to be corrected
boolean test(String value)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||