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

    setValidationOn(false);

    artNr.setConstraint("");
    aupMenge.setConstraint("");
    aupEinzelwert.setConstraint("");
    aupGesamtwert.setConstraint("");
  }
Esempio 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");
  }