Skip to content

Validation

dietmarz edited this page May 28, 2013 · 5 revisions

.

External interface declared in PmDataInput

void pmValidate()
Validates this object and its children.

Attribute value constraint validation

boolean isRequired()

int getMinLen() and int getMaxLen()
... provide the min/max length of the string representation. A constaint validation does not mean, that it is not possible to set a value outside theses borders (e.g. min-max values). It just mean, that isPmValid() will return false. So there is a similar behaviour to the java bean validation API.

TODO..

Implementation interface

TODO

Clone this wiki locally