public class ELClassDefinition extends ClassDefinition
Required Attributes:
Optional Attributes:
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
factory-bean-id The id passed to the specified bean factory
map-set-method For Map backed objects, this indicates which setter method should be used to retrieve field values. This should only be used of Map backed objects.
map-get-method For Map backed objects, this indicates which getter method should be used to retrieve field values. This should only be used of Map backed objects.
create-method Which method to invoke to create a new instance of the class. This is typically not specified. By default, the no arg constructor(public or private) is used
map-null Indicates whether null values are mapped. The default value is "true"
map-empty-string Indicates whether empty string values are mapped. The default value is "true"
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.
beanFactory, clazz, createMethod, factoryBeanId, isAccessible, mapEmptyString, mapGetMethod, mapNull, mapSetMethod, skipConstructor| Constructor and Description |
|---|
ELClassDefinition(ELEngine elEngine,
ClassDefinition copy) |
ELClassDefinition(ELEngine elEngine,
MappingDefinition parentMappingDefinition,
ConverterTypeDefinition parentConverterTypeDefinition) |
| Modifier and Type | Method and Description |
|---|---|
DozerClass |
build(BeanContainer beanContainer) |
end, endType, withAccessible, withBeanFactory, withClazz, withCreateMethod, withFactoryBeanId, withMapEmptyString, withMapGetMethod, withMapNull, withMapSetMethod, withSkipConstructorpublic ELClassDefinition(ELEngine elEngine, ClassDefinition copy)
public ELClassDefinition(ELEngine elEngine, MappingDefinition parentMappingDefinition, ConverterTypeDefinition parentConverterTypeDefinition)
public DozerClass build(BeanContainer beanContainer)
build in class ClassDefinitionCopyright © 2005–2021 dozer. All rights reserved.