public final class ClassMapBuilder extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ClassMapBuilder.AnnotationFieldsGenerator |
static class |
ClassMapBuilder.AnnotationPropertiesGenerator |
static interface |
ClassMapBuilder.ClassMappingGenerator |
static class |
ClassMapBuilder.CollectionMappingGenerator |
static class |
ClassMapBuilder.MapMappingGenerator |
Modifier and Type | Method and Description |
---|---|
static void |
addDefaultFieldMappings(ClassMappings classMappings,
Configuration globalConfiguration)
Prepares default mappings based on provided mapping definition
|
static ClassMap |
createDefaultClassMap(Configuration globalConfiguration,
Class<?> srcClass,
Class<?> destClass)
Builds new default mapping on-the-fly for previously unknown mapped class pairs.
|
public static ClassMap createDefaultClassMap(Configuration globalConfiguration, Class<?> srcClass, Class<?> destClass)
globalConfiguration
- srcClass
- destClass
- public static void addDefaultFieldMappings(ClassMappings classMappings, Configuration globalConfiguration)
classMappings
- globalConfiguration
- Copyright © 2005-2014 dozer. All Rights Reserved.