Exemplo n.º 1
0
  /** Disables the Validation by setting empty constraints. */
  private void doRemoveValidation() {

    setValidationOn(false);

    artNr.setConstraint("");
    aupMenge.setConstraint("");
    aupEinzelwert.setConstraint("");
    aupGesamtwert.setConstraint("");
  }
Exemplo n.º 2
0
  /** Sets the Validation by setting the accordingly constraints to the fields. */
  private void doSetValidation() {

    setValidationOn(true);

    artNr.setConstraint(new SimpleConstraint("NO EMPTY"));
    aupMenge.setConstraint("NO EMPTY, NO ZERO");
    aupEinzelwert.setConstraint("NO EMPTY, NO ZERO");
    aupGesamtwert.setConstraint("NO EMPTY, NO ZERO");
  }