KIE Uberfire Properties Editor Widget API 6.2.0.Beta2

org.kie.uberfire.properties.editor.model.validators
Class LongValidator

java.lang.Object
  extended by org.kie.uberfire.properties.editor.model.validators.LongValidator
All Implemented Interfaces:
PropertyFieldValidator

@Portable
public class LongValidator
extends Object
implements PropertyFieldValidator


Constructor Summary
LongValidator()
           
 
Method Summary
 String getValidatorErrorMessage()
          Error message used in property editor.
 boolean validate(Object value)
          Validate a field new value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LongValidator

public LongValidator()
Method Detail

validate

public boolean validate(Object value)
Description copied from interface: PropertyFieldValidator
Validate a field new value

Specified by:
validate in interface PropertyFieldValidator
Returns:

getValidatorErrorMessage

public String getValidatorErrorMessage()
Description copied from interface: PropertyFieldValidator
Error message used in property editor.

Specified by:
getValidatorErrorMessage in interface PropertyFieldValidator
Returns:

KIE Uberfire Properties Editor Widget API 6.2.0.Beta2

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