Class TemperatureBoundFieldValidator
- java.lang.Object
-
- com.opensymphony.xwork2.validator.validators.ValidatorSupport
-
- com.opensymphony.xwork2.validator.validators.FieldValidatorSupport
-
- io.ultreia.java4all.jaxx.widgets.validation.TemperatureBoundFieldValidator
-
- All Implemented Interfaces:
com.opensymphony.xwork2.validator.FieldValidator,com.opensymphony.xwork2.validator.ShortCircuitableValidator,com.opensymphony.xwork2.validator.Validator
@Deprecated public class TemperatureBoundFieldValidator extends com.opensymphony.xwork2.validator.validators.FieldValidatorSupport
Deprecated.To validate that the temperature is in correct bound.Created by tchemit on 22/09/2018.
- Author:
- Tony Chemit - dev@tchemit.fr
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTemperatureBoundFieldValidator.TemperatureResultDeprecated.
-
Constructor Summary
Constructors Constructor Description TemperatureBoundFieldValidator()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Map<String,TemperatureBoundFieldValidator.TemperatureResult>getTemperatureResults()Deprecated.StringgetValidatorType()Deprecated.voidsetDefaultTemperatureFormat(String defaultTemperatureFormat)Deprecated.voidsetMax(String max)Deprecated.voidsetMin(String min)Deprecated.voidvalidate(Object object)Deprecated.-
Methods inherited from class com.opensymphony.xwork2.validator.validators.FieldValidatorSupport
getFieldName, setFieldName, setValidatorType
-
Methods inherited from class com.opensymphony.xwork2.validator.validators.ValidatorSupport
addActionError, addFieldError, getDefaultMessage, getFieldValue, getMessage, getMessageKey, getMessageParameters, getValidatorContext, isShortCircuit, parse, setDefaultMessage, setMessageKey, setMessageParameters, setShortCircuit, setValidatorContext, setValueStack
-
-
-
-
Method Detail
-
setDefaultTemperatureFormat
public void setDefaultTemperatureFormat(String defaultTemperatureFormat)
Deprecated.
-
setMin
public void setMin(String min)
Deprecated.
-
setMax
public void setMax(String max)
Deprecated.
-
getTemperatureResults
public Map<String,TemperatureBoundFieldValidator.TemperatureResult> getTemperatureResults()
Deprecated.
-
validate
public void validate(Object object) throws com.opensymphony.xwork2.validator.ValidationException
Deprecated.- Throws:
com.opensymphony.xwork2.validator.ValidationException
-
getValidatorType
public String getValidatorType()
Deprecated.- Specified by:
getValidatorTypein interfacecom.opensymphony.xwork2.validator.Validator- Overrides:
getValidatorTypein classcom.opensymphony.xwork2.validator.validators.FieldValidatorSupport
-
-