A - B - public class ClassMapBuilderForLists<A,B> extends ClassMapBuilderForMaps<A,B>
| Modifier and Type | Class and Description |
|---|---|
static class |
ClassMapBuilderForLists.Factory
Factory creates instances of ClassMapBuilderForLists
|
| Modifier | Constructor and Description |
|---|---|
protected |
ClassMapBuilderForLists(Type<A> aType,
Type<B> bType,
MapperFactory mapperFactory,
PropertyResolverStrategy propertyResolver,
DefaultFieldMapper... defaults) |
| Modifier and Type | Method and Description |
|---|---|
FieldMapBuilder<A,B> |
fieldMap(String fieldNameA,
String fieldNameB,
boolean byDefault)
Create a fieldMap for the particular field mapping
|
protected boolean |
isATypeBean() |
protected boolean |
isSpecialCaseType(Type<?> type)
Test whether the provided type is the special case type for this Builder
(as in, not the standard Java Bean type)
|
protected int |
resolveAndIncrementIndex(String expr) |
protected Property |
resolveCustomProperty(String expr,
Type<?> propertyType)
Resolves a custom property for this builder using the provided expression
|
protected ClassMapBuilderForLists<A,B> |
self() |
byDefault, getParentExpression, resolvePropertyaddFieldMap, byDefault, byDefault, byDefault, constructorA, constructorB, customize, customize, describeClassMap, exclude, favorExtension, field, field, field, field, field, field, field, fieldAToB, fieldBToA, fieldMap, fieldMap, fieldMap, fieldMap, fieldMap, fieldMap, fieldMap, fieldMap, fieldMap, getAType, getBType, getDefaultFieldMappers, getMappedFields, getMappedPropertiesForTypeA, getMappedPropertiesForTypeB, getPropertiesForTypeA, getPropertiesForTypeB, getPropertyExpressions, getPropertyResolver, isNestedPropertyExpression, map, map, map, map, mapNulls, mapNullsInReverse, register, resolvePropertyForA, resolvePropertyForB, toClassMap, toString, use, useprotected ClassMapBuilderForLists(Type<A> aType, Type<B> bType, MapperFactory mapperFactory, PropertyResolverStrategy propertyResolver, DefaultFieldMapper... defaults)
aType - bType - propertyResolver - defaults - protected ClassMapBuilderForLists<A,B> self()
self in class ClassMapBuilderForMaps<A,B>protected boolean isATypeBean()
isATypeBean in class ClassMapBuilderForMaps<A,B>protected boolean isSpecialCaseType(Type<?> type)
ClassMapBuilderForMapsisSpecialCaseType in class ClassMapBuilderForMaps<A,B>protected int resolveAndIncrementIndex(String expr)
expr - public FieldMapBuilder<A,B> fieldMap(String fieldNameA, String fieldNameB, boolean byDefault)
ClassMapBuilderfieldMap in class ClassMapBuilderForMaps<A,B>fieldNameA - the name of the field in type AfieldNameB - the name of the field in type BbyDefault - whether the field mapping has been provided by defaultprotected Property resolveCustomProperty(String expr, Type<?> propertyType)
ClassMapBuilderForMapsresolveCustomProperty in class ClassMapBuilderForMaps<A,B>Copyright © 2016 Glasnost. All rights reserved.