Class FieldDefinitionDefinition


  • public class FieldDefinitionDefinition
    extends Object
    Specifies one of the fields in the field mapping definition. Global configuration, mapping, class, and field element values are inherited

    Required Attributes:

    Optional Attributes:

    date-format The string format of Date fields. This is used for field mapping between Strings and Dates

    set-method Indicates which set method to invoke when setting the destination value. Typically this will not be specified. By default, the beans attribute setter is used.

    get-method Indicates which get method to invoke on the src object to get the field value Typically this will not be specified. By default, the beans attribute getter is used.

    is-accessible Indicates whether Dozer bypasses getter/setter methods and accesses the field directly. This will typically be set to "false". The default value is "false". If set to "true", the getter/setter methods will NOT be invoked. You would want to set this to "true" if the field is lacking a getter or setter method skip-constructor Indicates whether Dozer bypasses constructors and instantiates an object with a no-arg constructor.