@Deprecated public class BeanValidatorUtil extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
BeanValidatorUtil()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
convert(BeanValidator<?> validator,
String fieldName,
String value,
Class<?> valueClass)
Deprecated.
Convert a value to a given type and then if was succesffull try to set it
in the bean manage by the validator.
|
static EnumSet<NuitonValidatorScope> |
getScopes(List<BeanValidatorMessage<?>> messages)
Deprecated.
|
static EnumMap<NuitonValidatorScope,Integer> |
getScopesCount(List<BeanValidatorMessage<?>> messages)
Deprecated.
|
public static void convert(BeanValidator<?> validator, String fieldName, String value, Class<?> valueClass)
validator - validator to be involvedfieldName - the name of the bean propertyvalue - the actual value to convertvalueClass - the type of the conversionpublic static EnumSet<NuitonValidatorScope> getScopes(List<BeanValidatorMessage<?>> messages)
public static EnumMap<NuitonValidatorScope,Integer> getScopesCount(List<BeanValidatorMessage<?>> messages)
Copyright © 2011-2012 CodeLutin. All Rights Reserved.