public final class MappingConstants extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ANY_REMAINING
In an
ValueMapping this represents any source that is not already mapped by either a defined mapping or
by means of name based mapping. |
static String |
ANY_UNMAPPED
In an
ValueMapping this represents any source that is not already mapped by a defined mapping. |
static String |
NULL
In an
ValueMapping this represents a null source or target. |
static String |
PREFIX_TRANSFORMATION
In an
EnumMapping this represent the enum transformation strategy that adds a prefix to the source enum. |
static String |
STRIP_PREFIX_TRANSFORMATION
In an
EnumMapping this represent the enum transformation strategy that strips a prefix from the source
enum. |
static String |
STRIP_SUFFIX_TRANSFORMATION
In an
EnumMapping this represent the enum transformation strategy that strips a suffix from the source
enum. |
static String |
SUFFIX_TRANSFORMATION
In an
EnumMapping this represent the enum transformation strategy that adds a suffix to the source enum. |
public static final String NULL
ValueMapping
this represents a null
source or target.public static final String ANY_REMAINING
ValueMapping
this represents any source that is not already mapped by either a defined mapping or
by means of name based mapping.
NOTE: The value is only applicable to ValueMapping.source()
and not to ValueMapping.target()
.public static final String ANY_UNMAPPED
ValueMapping
this represents any source that is not already mapped by a defined mapping.
NOTE: The value is only applicable to ValueMapping.source()
and not to ValueMapping.target()
.public static final String SUFFIX_TRANSFORMATION
EnumMapping
this represent the enum transformation strategy that adds a suffix to the source enum.public static final String STRIP_SUFFIX_TRANSFORMATION
EnumMapping
this represent the enum transformation strategy that strips a suffix from the source
enum.public static final String PREFIX_TRANSFORMATION
EnumMapping
this represent the enum transformation strategy that adds a prefix to the source enum.public static final String STRIP_PREFIX_TRANSFORMATION
EnumMapping
this represent the enum transformation strategy that strips a prefix from the source
enum.Copyright © 2012-2021 MapStruct Authors; All rights reserved. Released under the Apache Software License 2.0.