KIE Uberfire Properties Editor Widget API 6.2.0.Beta2

org.kie.uberfire.properties.editor.model.validators
Interface PropertyFieldValidator

All Known Implementing Classes:
LongValidator, TextValidator

public interface PropertyFieldValidator

A validator of PropertyEditorFields. A field can contain multiples validators.


Method Summary
 String getValidatorErrorMessage()
          Error message used in property editor.
 boolean validate(Object value)
          Validate a field new value
 

Method Detail

validate

boolean validate(Object value)
Validate a field new value

Parameters:
value -
Returns:

getValidatorErrorMessage

String getValidatorErrorMessage()
Error message used in property editor.

Returns:

KIE Uberfire Properties Editor Widget API 6.2.0.Beta2

Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.