Class ValidationData
java.lang.Object
ch.tocco.nice2.rest.entitymodel.spi.validate.ValidationData
Data for a single validator. The data is sent to the client which should
be able to validate some values using the data.
For example, the returned data should contain the maximum length
for strings if the validator is a length validator.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ValidationData
-
-
Method Details
-
getName
- Returns:
- the name of the validation.
-
getData
- Returns:
- the data the client needs to be able to validate values (for example a simple bean containing the meta data).
-