public class ParameterValidator extends Object
| Modifier and Type | Field and Description |
|---|---|
(package private) static org.slf4j.Logger |
log |
| Constructor and Description |
|---|
ParameterValidator() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
check(Object o,
Map<String,Object> vals) |
static Map<String,Class<?>> |
checkClassParameters(Class<?> clazz,
Map<String,?> vals)
This method checks if any of the fields and methods define parameters
with the same name, i.e.
|
public static boolean check(Object o, Map<String,Object> vals) throws ParameterException
ParameterExceptionpublic static Map<String,Class<?>> checkClassParameters(Class<?> clazz, Map<String,?> vals) throws ParameterException
clazz - ExceptionParameterExceptionCopyright © 2018. All rights reserved.