Package com.github.dozermapper.core.util
Annotation Type MappingOptions
-
@Retention(RUNTIME) @Target(TYPE) public @interface MappingOptions
Override mapping options at class level.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description StringdateFormatThe date format for the class mapping.OptionValuemapEmptyStringThe bypass empty string policy for the class mapping.OptionValuemapNullThe bypass null policy for the class mapping.OptionValuestopOnErrorsThe error handling policy for the class mappingOptionValuewildCardThe wildcard policy for the class mappingOptionValuewildCardCaseInsensitiveThe wildcard case sensitivity policy for the class mapping.
-
-
-
Element Detail
-
wildCard
OptionValue wildCard
The wildcard policy for the class mapping- Returns:
- option is on or off
- Default:
- com.github.dozermapper.core.OptionValue.INHERITED
-
-
-
wildCardCaseInsensitive
OptionValue wildCardCaseInsensitive
The wildcard case sensitivity policy for the class mapping. If this policy is ON, wildcard fields will be matched ignoring the case.- Returns:
- option is on or off
- Default:
- com.github.dozermapper.core.OptionValue.INHERITED
-
-
-
stopOnErrors
OptionValue stopOnErrors
The error handling policy for the class mapping- Returns:
- option is on or off
- Default:
- com.github.dozermapper.core.OptionValue.INHERITED
-
-
-
mapNull
OptionValue mapNull
The bypass null policy for the class mapping. If this policy is OFF, the dest field mapping is bypassed at runtime and the destination value setter method will not be called if the src value is null.- Returns:
- option is on or off
- Default:
- com.github.dozermapper.core.OptionValue.INHERITED
-
-
-
mapEmptyString
OptionValue mapEmptyString
The bypass empty string policy for the class mapping. If this policy is OFF, the dest field mapping is bypassed at runtime and the destination value setter method will not be called if the src value is an empty String.- Returns:
- option is on or off
- Default:
- com.github.dozermapper.core.OptionValue.INHERITED
-
-
-
dateFormat
String dateFormat
The date format for the class mapping.- Returns:
- option is on or off
- Default:
- ""
-
-