|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use ClassMapBuilder | |
|---|---|
| ma.glasnost.orika | |
| ma.glasnost.orika.impl | |
| ma.glasnost.orika.metadata | |
| Uses of ClassMapBuilder in ma.glasnost.orika |
|---|
| Methods in ma.glasnost.orika that return ClassMapBuilder | ||
|---|---|---|
|
MapperFactory.classMap(Class<A> aType,
Class<B> bType)
Constructs a new ClassMapBuilder instance initialized with the provided types which can be used to configure/customize the mapping between the two types. The returned ClassMapBuilder instance, after being fully configured, should finally be registered with the factory using the registerClassMap method. |
|
|
MapperFactory.classMap(Class<A> aType,
Type<B> bType)
Constructs a new ClassMapBuilder instance initialized with the provided types which can be used to configure/customize the mapping between the two types. The returned ClassMapBuilder instance, after being fully configured, should finally be registered with the factory using the registerClassMap method. |
|
|
MapperFactory.classMap(Type<A> aType,
Class<B> bType)
Constructs a new ClassMapBuilder instance initialized with the provided types which can be used to configure/customize the mapping between the two types. The returned ClassMapBuilder instance, after being fully configured, should finally be registered with the factory using the registerClassMap method. |
|
|
MapperFactory.classMap(Type<A> aType,
Type<B> bType)
Constructs a new ClassMapBuilder instance initialized with the provided types which can be used to configure/customize the mapping between the two types. The returned ClassMapBuilder instance, after being fully configured, should finally be registered with the factory using the registerClassMap method. |
|
| Methods in ma.glasnost.orika with parameters of type ClassMapBuilder | ||
|---|---|---|
|
MapperFactory.registerClassMap(ClassMapBuilder<A,B> builder)
Registers the ClassMap configured by the specified ClassMapBuilder; it will be used to configure an appropriate mapping. |
|
| Uses of ClassMapBuilder in ma.glasnost.orika.impl |
|---|
| Methods in ma.glasnost.orika.impl that return ClassMapBuilder | ||
|---|---|---|
|
DefaultMapperFactory.classMap(Class<A> aType,
Class<B> bType)
|
|
|
DefaultMapperFactory.classMap(Class<A> aType,
Type<B> bType)
|
|
|
DefaultMapperFactory.classMap(Type<A> aType,
Class<B> bType)
|
|
|
DefaultMapperFactory.classMap(Type<A> aType,
Type<B> bType)
|
|
| Methods in ma.glasnost.orika.impl with parameters of type ClassMapBuilder | ||
|---|---|---|
|
DefaultMapperFactory.registerClassMap(ClassMapBuilder<A,B> builder)
|
|
| Uses of ClassMapBuilder in ma.glasnost.orika.metadata |
|---|
| Subclasses of ClassMapBuilder in ma.glasnost.orika.metadata | |
|---|---|
class |
CaseInsensitiveClassMapBuilder<A,B>
CaseInsensitiveClassMapBuilder is an extension of ClassMapBuilder which performs case-insensitive matching of property names in the 'byDefault()' method. |
class |
ClassMapBuilderForArrays<A,B>
ClassMapBuilderForMaps is a custom ClassMapBuilder instance which is used for mapping standard JavaBeans to Map instances. |
class |
ClassMapBuilderForLists<A,B>
ClassMapBuilderForMaps is a custom ClassMapBuilder instance which is used for mapping standard JavaBeans to Map instances. |
class |
ClassMapBuilderForMaps<A,B>
ClassMapBuilderForMaps is a custom ClassMapBuilder instance which is used for mapping standard JavaBeans to Map instances. |
class |
ScoringClassMapBuilder<A,B>
ScoringClassMapBuilder is an extension of the basic ClassMapBuilder that attempts to compute a best-fit matching of all properties (at every level of nesting) of one type to another, based on various metrics used to measure a given property match. Since this builder generates mappings based on scoring matches, it cannot always guess the correct mappings; be sure to test and double-check the mappings generated to assure they match expectations. Note: levenshtein distance implementation is pulled from code found in Apache Commons Lang org.apache.commons.lang.StringUtils, which is based on the implementation provided by Chas Emerick http://www.merriampark.com/ldjava.htm |
| Methods in ma.glasnost.orika.metadata that return ClassMapBuilder | ||
|---|---|---|
ClassMapBuilder<A,B> |
FieldMapBuilder.add()
Adds the FieldMap configured by this builder to it's containing ClassMapBuilder; use this method to complete specifications on a given field mapping and return to the containing builder. |
|
ClassMapBuilder<A,B> |
ScoringClassMapBuilder.byDefault(DefaultFieldMapper... withDefaults)
|
|
ClassMapBuilder<A,B> |
ClassMapBuilder.byDefault(DefaultFieldMapper... withDefaults)
Configures this class-map builder to employ the default property mapping behavior to any properties that have not already been mapped or excluded; if any DefaultFieldMapper instances are passed, they will be used (instead of those configured on the builder) to attempt a property name match if a direct match is not found. |
|
ClassMapBuilder<A,B> |
CaseInsensitiveClassMapBuilder.byDefault(DefaultFieldMapper... withDefaults)
|
|
ClassMapBuilder<A,B> |
ClassMapBuilder.byDefault(MappingHint[] mappingHints)
Deprecated. use byDefault(DefaultFieldMapper...) instead |
|
ClassMapBuilder<A,B> |
ClassMapBuilder.byDefault(MappingHint hint0,
MappingHint... mappingHints)
Deprecated. use byDefault(DefaultFieldMapper...) instead |
|
ClassMapBuilder<A,B> |
ClassMapBuilder.constructorA(String... args)
Declares a constructor to be used for the A type with the specified arguments. |
|
ClassMapBuilder<A,B> |
ClassMapBuilder.constructorB(String... args)
Declares a constructor to be used for the B type with the specified arguments. |
|
ClassMapBuilder<A,B> |
ClassMapBuilder.customize(Mapper<A,B> customizedMapper)
Set the custom mapper to use for this mapping. |
|
ClassMapBuilder<A,B> |
ClassMapBuilder.customize(MapperBase<A,B> legacyCustomizedMapper)
Deprecated. use customize(Mapper) instead |
|
ClassMapBuilder<A,B> |
ClassMapBuilder.exclude(String fieldName)
Exclude the specified field from mapping |
|
ClassMapBuilder<A,B> |
ClassMapBuilder.field(Property.Builder fieldA,
Property.Builder fieldB)
|
|
ClassMapBuilder<A,B> |
ClassMapBuilder.field(Property.Builder fieldA,
String fieldNameB)
|
|
ClassMapBuilder<A,B> |
ClassMapBuilder.field(Property fieldA,
Property fieldB)
|
|
ClassMapBuilder<A,B> |
ClassMapBuilder.field(Property fieldA,
String fieldNameB)
|
|
ClassMapBuilder<A,B> |
ClassMapBuilder.field(String fieldNameA,
Property.Builder fieldB)
|
|
ClassMapBuilder<A,B> |
ClassMapBuilder.field(String fieldNameA,
Property fieldB)
|
|
ClassMapBuilder<A,B> |
ClassMapBuilder.field(String fieldNameA,
String fieldNameB)
Map a field in both directions |
|
ClassMapBuilder<A,B> |
ClassMapBuilder.fieldAToB(String fieldNameA,
String fieldNameB)
Map a field in one direction only (from fieldNameA to fieldNameB) |
|
ClassMapBuilder<A,B> |
ClassMapBuilder.fieldBToA(String fieldNameB,
String fieldNameA)
Map a field in one direction only (from fieldNameB to fieldNameA) |
|
|
ClassMapBuilderFactory.map(Class<A> aType,
Class<B> bType)
Begin a new mapping for the specified classes. |
|
static
|
ClassMapBuilder.map(Class<A> aType,
Class<B> bType)
Deprecated. use MapperFactory.classMap(Class, Class) instead |
|
|
ClassMapBuilderFactory.map(Class<A> aType,
Type<B> bType)
Begin a new mapping for the specified class and type. |
|
static
|
ClassMapBuilder.map(Class<A> aType,
Type<B> bType)
Deprecated. use MapperFactory.classMap(Class, Type) instead |
|
|
ClassMapBuilderFactory.map(Type<A> aType,
Class<B> bType)
Begin a new mapping for the specified type and class. |
|
static
|
ClassMapBuilder.map(Type<A> aType,
Class<B> bType)
Deprecated. use MapperFactory.classMap(Type, Class) instead |
|
|
ClassMapBuilderFactory.map(Type<A> aType,
Type<B> bType)
Begin a new mapping for the specified types. |
|
static
|
ClassMapBuilder.map(Type<A> aType,
Type<B> bType)
Deprecated. use MapperFactory.classMap(Type, Type) instead |
|
ClassMapBuilder<A,B> |
ClassMapBuilder.mapNulls(boolean destinationsMappedOnNull)
|
|
ClassMapBuilder<A,B> |
ClassMapBuilder.mapNullsInReverse(boolean sourcesMappedOnNull)
|
|
protected
|
ScoringClassMapBuilder.Factory.newClassMapBuilder(Type<A> aType,
Type<B> bType,
MapperFactory mapperFactory,
PropertyResolverStrategy propertyResolver,
DefaultFieldMapper[] defaults)
|
|
protected
|
ClassMapBuilderForMaps.Factory.newClassMapBuilder(Type<A> aType,
Type<B> bType,
MapperFactory mapperFactory,
PropertyResolverStrategy propertyResolver,
DefaultFieldMapper[] defaults)
|
|
protected
|
ClassMapBuilderForLists.Factory.newClassMapBuilder(Type<A> aType,
Type<B> bType,
MapperFactory mapperFactory,
PropertyResolverStrategy propertyResolver,
DefaultFieldMapper[] defaults)
|
|
protected
|
ClassMapBuilderForArrays.Factory.newClassMapBuilder(Type<A> aType,
Type<B> bType,
MapperFactory mapperFactory,
PropertyResolverStrategy propertyResolver,
DefaultFieldMapper[] defaults)
|
|
protected abstract
|
ClassMapBuilderFactory.newClassMapBuilder(Type<A> aType,
Type<B> bType,
MapperFactory mapperFactory,
PropertyResolverStrategy propertyResolver,
DefaultFieldMapper[] defaults)
Generates a new ClassMapBuilder instance |
|
protected
|
ClassMapBuilder.Factory.newClassMapBuilder(Type<A> aType,
Type<B> bType,
MapperFactory mapperFactory,
PropertyResolverStrategy propertyResolver,
DefaultFieldMapper[] defaults)
|
|
protected
|
CaseInsensitiveClassMapBuilder.Factory.newClassMapBuilder(Type<A> aType,
Type<B> bType,
MapperFactory mapperFactory,
PropertyResolverStrategy propertyResolver,
DefaultFieldMapper[] defaults)
|
|
|
ClassMapBuilder.use(Class<?> aParentClass,
Class<?> bParentClass)
Configure this ClassMapBuilder to use an existing mapping (for parent classes) defined from aParentClass to bParentClass. |
|
|
ClassMapBuilder.use(Type<?> aParentType,
Type<?> bParentType)
Configure this ClassMapBuilder to use an existing mapping (for parent classes) defined from aParentClass to bParentClass. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||