public class ConformanceUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
GENERATED_CLASS_SUFFIX |
static String |
GENERATED_PROPERTY_PREFIX |
| Constructor and Description |
|---|
ConformanceUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
checkAgainstModel(Object data,
Class<?> model,
List<ConformanceError> errors) |
static com.fasterxml.jackson.databind.ObjectMapper |
createObjectMapper() |
static Class<?> |
expandModel(Class<?> modelClass) |
static String |
getFieldName(Object dataObject,
String originalFieldName) |
static String |
toJson(Object dataObject) |
public static final String GENERATED_CLASS_SUFFIX
public static final String GENERATED_PROPERTY_PREFIX
public static void checkAgainstModel(Object data, Class<?> model, List<ConformanceError> errors)
public static com.fasterxml.jackson.databind.ObjectMapper createObjectMapper()
Copyright © 2019. All rights reserved.