Interface Form

All Superinterfaces:
Iterable<Map.Entry<String,Object>>, JsonObject, JsonObjectOrArray, ValidationSet
All Known Implementing Classes:
FormDefault, ValidationSetSimple

public interface Form extends JsonObject, ValidationSet
Specialized JsonObject that is also a ValidationSet to store validations.
  • Method Details

    • getFormName

      String getFormName()
      The name of the form.
    • setValidationObject

      void setValidationObject(JsonObject validationObject)
      Sets the JsonObject to use to store the validation messages.

      If there are existing validation messages on the current validation object, they will be merged to the new object!

      Beware that changing this object may disconnect the validation messages of this form from a global validation element on the response's model!

    • validators

      Validators validators()
      Returns the Validators.