Examples of validateValue()


Examples of javax.validation.Validator.validateValue()

        BoundariesConstraintValidator.isValidCalls > nbrOfValidCalls,
        "Ensure is valid hasbeen called."
    );
    nbrOfValidCalls = BoundariesConstraintValidator.isValidCalls;

    validator.validateValue( Shoe.class, "size", 41 );
    assertTrue(
        BoundariesConstraintValidator.isValidCalls > nbrOfValidCalls,
        "Ensure is valid hasbeen called."
    );
  }
View Full Code Here

Examples of org.dyno.visual.swing.plugin.spi.IEditor.validateValue()

    if (currentEditor != null) {
      stoppingEditing = true;
      WidgetAdapter adapter = currentEditor.getAdapter();
      IEditor iEditor = currentEditor.getEditor();
      try {
        iEditor.validateValue();
        Object newValue = iEditor.getValue();
        Object oldValue = iEditor.getOldValue();
        if (isValueChanged(oldValue, newValue)) {
          IUndoableOperation operation = new SetWidgetValueOperation(adapter, oldValue, newValue);
          IOperationHistory operationHistory = PlatformUI.getWorkbench().getOperationSupport().getOperationHistory();
View Full Code Here

Examples of org.jbpm.ui.custom.DelegableProvider.validateValue()

                if (!CustomizationRegistry.isTypeRegistered(delegationClassName)) {
                    addWarning("delegationClassName.classNotFound");
                } else {
                    addError("delegationClassName.classCastError");
                }
            } else if (!provider.validateValue(d)) {
                addError("decision.invalidConfiguration");
            }
        }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.