Package | Description |
---|---|
org.modelmapper.config |
Configuration types
|
org.modelmapper.convention |
Conventions
|
Modifier and Type | Method and Description |
---|---|
NameTransformer |
Configuration.getDestinationNameTransformer()
Returns the destination name transformer.
|
NameTransformer |
Configuration.getSourceNameTransformer()
Returns the source name transformer.
|
Modifier and Type | Method and Description |
---|---|
Configuration |
Configuration.setDestinationNameTransformer(NameTransformer nameTransformer)
Sets the name transformer used to transform destination property and class names during the
matching process.
|
Configuration |
Configuration.setSourceNameTransformer(NameTransformer nameTransformer)
Sets the name transformer used to transform source property and class names during the matching
process.
|
Modifier and Type | Field and Description |
---|---|
static NameTransformer |
NameTransformers.JAVABEANS_ACCESSOR
Transforms accessor names to their simple property name according to the JavaBeans convention.
|
static NameTransformer |
NameTransformers.JAVABEANS_MUTATOR
Transforms mutator names to their simple property name according to the JavaBeans convention.
|
Modifier and Type | Method and Description |
---|---|
static NameTransformer |
NameTransformers.builder()
Creates NameTransformer for builder.
|
static NameTransformer |
NameTransformers.builder(String prefix)
Creates NameTransformer for builder.
|
Copyright © 2011–2024. All rights reserved.