Class ELConfigurationDefinition
- java.lang.Object
-
- com.github.dozermapper.core.builder.model.jaxb.ConfigurationDefinition
-
- com.github.dozermapper.core.builder.model.elengine.ELConfigurationDefinition
-
public class ELConfigurationDefinition extends ConfigurationDefinition
Default values that are applied to all mappings. Global ConfigurationDefinition.Required Attributes:
Optional Attributes:
stop-on-errors Indicates whether Dozer should stop mapping fields and throw the Exception if an error is encountered while performing a field mapping. It is recommended that this is set to "true". If set to "false", Dozer will trap the exception, log the error, and then continue mapping subsequent fields. The default value is "true".
date-format The string format of Date fields. This is used for field mapping between Strings and Dates
wildcard Indicates whether Dozer automatically map fields that have the same name. This will typically be set to "true". The default value is "true"
wildcard-case-insensitive Indicates whether Dozer should ignore the case of field names when applying wildcard mapping. The default value is "false"
trim-strings Indicates whether Dozer automatically trims String values prior to setting the destination value. The default value is "false"
bean-factory The factory class to create data objects. This typically will not be specified. By default Dozer constructs new instances of data objects by invoking the no-arg constructor
relationship-type Indications whether collections are mapped cumulative or non-cumulative. cumulative indicates the element is added to the collection.
non-cumulative indicates the element will be added or an existing entry will be updated.
custom-converters The custom converters to be registered with Dozer.
copy-by-references Indicates which class types should always be copied by reference
-
-
Field Summary
-
Fields inherited from class com.github.dozermapper.core.builder.model.jaxb.ConfigurationDefinition
allowedExceptions, beanFactory, copyByReferences, customConverters, dateFormat, mapEmptyString, mapNull, relationshipType, stopOnErrors, trimStrings, variables, wildcard, wildcardCaseInsensitive
-
-
Constructor Summary
Constructors Constructor Description ELConfigurationDefinition(ELEngine elEngine, ConfigurationDefinition copy)ELConfigurationDefinition(ELEngine elEngine, MappingsDefinition parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Configurationbuild(BeanContainer beanContainer)AllowedExceptionsDefinitionwithAllowedExceptions()CopyByReferencesDefinitionwithCopyByReferences()CustomConvertersDefinitionwithCustomConverters()VariablesDefinitionwithVariables()-
Methods inherited from class com.github.dozermapper.core.builder.model.jaxb.ConfigurationDefinition
end, getAllowedExceptions, getBeanFactory, getCopyByReferences, getCustomConverters, getDateFormat, getMapEmptyString, getMapNull, getParent, getRelationshipType, getStopOnErrors, getTrimStrings, getVariables, getWildcard, getWildcardCaseInsensitive, setAllowedExceptions, setBeanFactory, setCopyByReferences, setCustomConverters, setDateFormat, setMapEmptyString, setMapNull, setRelationshipType, setStopOnErrors, setTrimStrings, setVariables, setWildcard, setWildcardCaseInsensitive, withBeanFactory, withDateFormat, withMapEmptyString, withMapNull, withRelationshipType, withStopOnErrors, withTrimStrings, withWildcard, withWildcardCaseInsensitive
-
-
-
-
Constructor Detail
-
ELConfigurationDefinition
public ELConfigurationDefinition(ELEngine elEngine, ConfigurationDefinition copy)
-
ELConfigurationDefinition
public ELConfigurationDefinition(ELEngine elEngine, MappingsDefinition parent)
-
-
Method Detail
-
withCustomConverters
public CustomConvertersDefinition withCustomConverters()
- Overrides:
withCustomConvertersin classConfigurationDefinition
-
withCopyByReferences
public CopyByReferencesDefinition withCopyByReferences()
- Overrides:
withCopyByReferencesin classConfigurationDefinition
-
withAllowedExceptions
public AllowedExceptionsDefinition withAllowedExceptions()
- Overrides:
withAllowedExceptionsin classConfigurationDefinition
-
withVariables
public VariablesDefinition withVariables()
- Overrides:
withVariablesin classConfigurationDefinition
-
build
public Configuration build(BeanContainer beanContainer)
- Overrides:
buildin classConfigurationDefinition
-
-