Package | Description |
---|---|
org.modelmapper.config |
Configuration types
|
org.modelmapper.convention |
Conventions
|
Modifier and Type | Method and Description |
---|---|
MatchingStrategy |
Configuration.getMatchingStrategy()
Gets the matching strategy.
|
Modifier and Type | Method and Description |
---|---|
Configuration |
Configuration.setMatchingStrategy(MatchingStrategy matchingStrategy)
Sets the strategy used to match source properties to destination properties.
|
Modifier and Type | Field and Description |
---|---|
static MatchingStrategy |
MatchingStrategies.LOOSE
A matching strategy that allows for source properties to be loosely matched to destination
properties by requiring that only the last destination property in a hierarchy be
matched.
|
static MatchingStrategy |
MatchingStrategies.STANDARD
A matching strategy that allows for source properties to be intelligently matched to
destination properties, requiring that all destination properties be matched and all
source property names have at least one token matched.
|
static MatchingStrategy |
MatchingStrategies.STRICT
A matching strategy that allows for source properties to be strictly matched to destination
properties.
|
Copyright © 2011–2024. All rights reserved.