Class FormData

java.lang.Object
ch.tocco.nice2.netui.impl.bind.form.FormData

public class FormData extends Object
  • Constructor Details

  • Method Details

    • setNewValues

      public void setNewValues(List<? extends SimpleValue> newValues)
    • validate

      public FieldValidationResult validate()
      Validates the changes and the not-changed values. This is because - there can be dependencies between fields - the validation rules may have changed, and existing data does not validate against it anymore. sure, the problems would have to be fixed before ... but as it usually goes this is the time when one notices the problem.
    • getChanges

      public Collection<SimpleValue> getChanges()