public abstract class MappingBuilder extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JAVA_TIME_DURATION_CLASS |
static String |
JAVA_TIME_INSTANT_CLASS |
static String |
JAVA_TIME_LOCAL_DATE_CLASS |
static String |
JAVA_TIME_LOCAL_DATE_TIME_CLASS |
| Modifier and Type | Method and Description |
|---|---|
MappingSourceNode |
build(MapperGeneratorContext context,
SourceNodeVars vars) |
static List<String> |
collectEnumValues(TypeElement typeElement) |
static MappingBuilder |
getBuilderFor(MapperGeneratorContext context,
InOutType inOutType) |
static <T> List<T> |
intersection(List<T> list1,
List<T> list2) |
static boolean |
isCollection(DeclaredType declaredType,
MapperGeneratorContext context) |
boolean |
isNullSafe() |
static MappingBuilder |
newCustomEnumMapper(InOutType inOutType,
String defaultValue)
Builds a method that match identical items and use default value otherwise
|
static MappingBuilder |
newCustomMapper(InOutType inOutType,
String name) |
static MappingBuilder |
newCustomMapperImmutableForUpdateGraph(InOutType inOutType,
String name) |
static MappingBuilder |
newImmutable() |
static MappingBuilder |
newMappingInterceptor(InOutType inOutType,
String name) |
protected void |
setOrAssignNestedBean(MapperGeneratorContext context,
SourceNodeVars vars,
InOutType inOutType) |
public static final String JAVA_TIME_LOCAL_DATE_CLASS
public static final String JAVA_TIME_DURATION_CLASS
public static final String JAVA_TIME_INSTANT_CLASS
public static final String JAVA_TIME_LOCAL_DATE_TIME_CLASS
public static MappingBuilder getBuilderFor(MapperGeneratorContext context, InOutType inOutType)
public static List<String> collectEnumValues(TypeElement typeElement)
public static boolean isCollection(DeclaredType declaredType, MapperGeneratorContext context)
public static MappingBuilder newCustomMapperImmutableForUpdateGraph(InOutType inOutType, String name)
public static MappingBuilder newCustomMapper(InOutType inOutType, String name)
public static MappingBuilder newMappingInterceptor(InOutType inOutType, String name)
public static MappingBuilder newCustomEnumMapper(InOutType inOutType, String defaultValue)
inOutType - in enum to out enum type relationdefaultValue - The default value used as outpublic static MappingBuilder newImmutable()
protected void setOrAssignNestedBean(MapperGeneratorContext context, SourceNodeVars vars, InOutType inOutType)
public MappingSourceNode build(MapperGeneratorContext context, SourceNodeVars vars) throws IOException
IOExceptionpublic boolean isNullSafe()
Copyright © 2016. All Rights Reserved.