Package | Description |
---|---|
com.github.erchu.beancp.commons |
Mapping conventions and converters for common use cases.
|
Modifier and Type | Method and Description |
---|---|
NameBasedMapConvention |
NameBasedMapConvention.disableFlattening()
Disables flattening feature as described in
enableFlattening() method. |
NameBasedMapConvention |
NameBasedMapConvention.enableFlattening()
Enables flattening feature.
|
NameBasedMapConvention |
NameBasedMapConvention.excludeDestinationMembers(String... members)
Sets list of destination members which will be excluded (ignored) by convention.
|
NameBasedMapConvention |
NameBasedMapConvention.failIfNotAllDestinationMembersMapped()
Convention will fail during map building (see
getBindings(com.github.erchu.beancp.MappingInfo, java.lang.Class, java.lang.Class)
method) if not all destination properties are mapped. |
NameBasedMapConvention |
NameBasedMapConvention.failIfNotAllSourceMembersMapped()
Convention will fail during map building (see
getBindings(com.github.erchu.beancp.MappingInfo, java.lang.Class, java.lang.Class)
method) if not all source properties are mapped. |
static NameBasedMapConvention |
NameBasedMapConvention.get()
Returns mapping convention with following configuration
No destination members excluded
Maximum possible number of destination members included
Will not fail if not all destination members are mapped
Will not fail if not all source members are mapped
Flattening feature disabled
|
NameBasedMapConvention |
NameBasedMapConvention.includeDestinationMembers(String... members)
Sets list of destination members which will be included to matching.
|
Copyright © 2014. All rights reserved.