Class ConfigurationDefinition

  • Direct Known Subclasses:
    ELConfigurationDefinition

    public class ConfigurationDefinition
    extends Object
    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