exceptions) {
+ this.exceptions = exceptions;
+ }
}
diff --git a/core/src/main/java/com/github/dozermapper/core/builder/model/jaxb/ClassDefinition.java b/core/src/main/java/com/github/dozermapper/core/builder/model/jaxb/ClassDefinition.java
index 02d9c3661..cb813082d 100644
--- a/core/src/main/java/com/github/dozermapper/core/builder/model/jaxb/ClassDefinition.java
+++ b/core/src/main/java/com/github/dozermapper/core/builder/model/jaxb/ClassDefinition.java
@@ -15,19 +15,15 @@
*/
package com.github.dozermapper.core.builder.model.jaxb;
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlAttribute;
-import javax.xml.bind.annotation.XmlTransient;
-import javax.xml.bind.annotation.XmlType;
-import javax.xml.bind.annotation.XmlValue;
-
+import jakarta.xml.bind.annotation.XmlAccessType;
+import jakarta.xml.bind.annotation.XmlAccessorType;
+import jakarta.xml.bind.annotation.XmlAttribute;
+import jakarta.xml.bind.annotation.XmlTransient;
+import jakarta.xml.bind.annotation.XmlType;
+import jakarta.xml.bind.annotation.XmlValue;
import com.github.dozermapper.core.classmap.DozerClass;
import com.github.dozermapper.core.config.BeanContainer;
-import lombok.AccessLevel;
import lombok.EqualsAndHashCode;
-import lombok.Getter;
-import lombok.Setter;
import lombok.ToString;
/**
@@ -59,8 +55,6 @@
* 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.
*/
-@Getter
-@Setter(AccessLevel.PROTECTED)
@ToString
@EqualsAndHashCode
@XmlAccessorType(XmlAccessType.FIELD)
@@ -197,4 +191,92 @@ public DozerClass build(BeanContainer beanContainer) {
return dozerClass;
}
+
+ public MappingDefinition getParentMappingDefinition() {
+ return parentMappingDefinition;
+ }
+
+ public ConverterTypeDefinition getParentConverterTypeDefinition() {
+ return parentConverterTypeDefinition;
+ }
+
+ public String getClazz() {
+ return clazz;
+ }
+
+ protected void setClazz(String clazz) {
+ this.clazz = clazz;
+ }
+
+ public String getBeanFactory() {
+ return beanFactory;
+ }
+
+ protected void setBeanFactory(String beanFactory) {
+ this.beanFactory = beanFactory;
+ }
+
+ public String getFactoryBeanId() {
+ return factoryBeanId;
+ }
+
+ protected void setFactoryBeanId(String factoryBeanId) {
+ this.factoryBeanId = factoryBeanId;
+ }
+
+ public String getMapSetMethod() {
+ return mapSetMethod;
+ }
+
+ protected void setMapSetMethod(String mapSetMethod) {
+ this.mapSetMethod = mapSetMethod;
+ }
+
+ public String getMapGetMethod() {
+ return mapGetMethod;
+ }
+
+ protected void setMapGetMethod(String mapGetMethod) {
+ this.mapGetMethod = mapGetMethod;
+ }
+
+ public String getCreateMethod() {
+ return createMethod;
+ }
+
+ protected void setCreateMethod(String createMethod) {
+ this.createMethod = createMethod;
+ }
+
+ public Boolean getMapNull() {
+ return mapNull;
+ }
+
+ protected void setMapNull(Boolean mapNull) {
+ this.mapNull = mapNull;
+ }
+
+ public Boolean getMapEmptyString() {
+ return mapEmptyString;
+ }
+
+ protected void setMapEmptyString(Boolean mapEmptyString) {
+ this.mapEmptyString = mapEmptyString;
+ }
+
+ public Boolean getIsAccessible() {
+ return isAccessible;
+ }
+
+ protected void setIsAccessible(Boolean accessible) {
+ isAccessible = accessible;
+ }
+
+ public Boolean getSkipConstructor() {
+ return skipConstructor;
+ }
+
+ protected void setSkipConstructor(Boolean skipConstructor) {
+ this.skipConstructor = skipConstructor;
+ }
}
diff --git a/core/src/main/java/com/github/dozermapper/core/builder/model/jaxb/ConfigurationDefinition.java b/core/src/main/java/com/github/dozermapper/core/builder/model/jaxb/ConfigurationDefinition.java
index 6a66aa286..b939f240b 100644
--- a/core/src/main/java/com/github/dozermapper/core/builder/model/jaxb/ConfigurationDefinition.java
+++ b/core/src/main/java/com/github/dozermapper/core/builder/model/jaxb/ConfigurationDefinition.java
@@ -16,23 +16,18 @@
package com.github.dozermapper.core.builder.model.jaxb;
import java.util.List;
-
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlRootElement;
-import javax.xml.bind.annotation.XmlTransient;
-import javax.xml.bind.annotation.XmlType;
-
+import jakarta.xml.bind.annotation.XmlAccessType;
+import jakarta.xml.bind.annotation.XmlAccessorType;
+import jakarta.xml.bind.annotation.XmlElement;
+import jakarta.xml.bind.annotation.XmlRootElement;
+import jakarta.xml.bind.annotation.XmlTransient;
+import jakarta.xml.bind.annotation.XmlType;
import com.github.dozermapper.core.classmap.Configuration;
import com.github.dozermapper.core.classmap.CopyByReference;
import com.github.dozermapper.core.classmap.RelationshipType;
import com.github.dozermapper.core.config.BeanContainer;
import com.github.dozermapper.core.util.DozerConstants;
-import lombok.AccessLevel;
import lombok.EqualsAndHashCode;
-import lombok.Getter;
-import lombok.Setter;
import lombok.ToString;
/**
@@ -69,8 +64,6 @@
*
* copy-by-references Indicates which class types should always be copied by reference
*/
-@Getter
-@Setter(AccessLevel.PROTECTED)
@ToString
@EqualsAndHashCode
@XmlAccessorType(XmlAccessType.FIELD)
@@ -251,4 +244,112 @@ public Configuration build(BeanContainer beanContainer) {
return config;
}
+
+ public MappingsDefinition getParent() {
+ return parent;
+ }
+
+ public Boolean getStopOnErrors() {
+ return stopOnErrors;
+ }
+
+ protected void setStopOnErrors(Boolean stopOnErrors) {
+ this.stopOnErrors = stopOnErrors;
+ }
+
+ public String getDateFormat() {
+ return dateFormat;
+ }
+
+ protected void setDateFormat(String dateFormat) {
+ this.dateFormat = dateFormat;
+ }
+
+ public Boolean getWildcard() {
+ return wildcard;
+ }
+
+ protected void setWildcard(Boolean wildcard) {
+ this.wildcard = wildcard;
+ }
+
+ public Boolean getWildcardCaseInsensitive() {
+ return wildcardCaseInsensitive;
+ }
+
+ protected void setWildcardCaseInsensitive(Boolean wildcardCaseInsensitive) {
+ this.wildcardCaseInsensitive = wildcardCaseInsensitive;
+ }
+
+ public Boolean getTrimStrings() {
+ return trimStrings;
+ }
+
+ protected void setTrimStrings(Boolean trimStrings) {
+ this.trimStrings = trimStrings;
+ }
+
+ public Boolean getMapNull() {
+ return mapNull;
+ }
+
+ protected void setMapNull(Boolean mapNull) {
+ this.mapNull = mapNull;
+ }
+
+ public Boolean getMapEmptyString() {
+ return mapEmptyString;
+ }
+
+ protected void setMapEmptyString(Boolean mapEmptyString) {
+ this.mapEmptyString = mapEmptyString;
+ }
+
+ public String getBeanFactory() {
+ return beanFactory;
+ }
+
+ protected void setBeanFactory(String beanFactory) {
+ this.beanFactory = beanFactory;
+ }
+
+ public Relationship getRelationshipType() {
+ return relationshipType;
+ }
+
+ protected void setRelationshipType(Relationship relationshipType) {
+ this.relationshipType = relationshipType;
+ }
+
+ public CustomConvertersDefinition getCustomConverters() {
+ return customConverters;
+ }
+
+ protected void setCustomConverters(CustomConvertersDefinition customConverters) {
+ this.customConverters = customConverters;
+ }
+
+ public CopyByReferencesDefinition getCopyByReferences() {
+ return copyByReferences;
+ }
+
+ protected void setCopyByReferences(CopyByReferencesDefinition copyByReferences) {
+ this.copyByReferences = copyByReferences;
+ }
+
+ public AllowedExceptionsDefinition getAllowedExceptions() {
+ return allowedExceptions;
+ }
+
+ protected void setAllowedExceptions(AllowedExceptionsDefinition allowedExceptions) {
+ this.allowedExceptions = allowedExceptions;
+ }
+
+ public VariablesDefinition getVariables() {
+ return variables;
+ }
+
+ protected void setVariables(VariablesDefinition variables) {
+ this.variables = variables;
+ }
}
diff --git a/core/src/main/java/com/github/dozermapper/core/builder/model/jaxb/ConverterTypeDefinition.java b/core/src/main/java/com/github/dozermapper/core/builder/model/jaxb/ConverterTypeDefinition.java
index 4c8aa8f57..632516f7c 100644
--- a/core/src/main/java/com/github/dozermapper/core/builder/model/jaxb/ConverterTypeDefinition.java
+++ b/core/src/main/java/com/github/dozermapper/core/builder/model/jaxb/ConverterTypeDefinition.java
@@ -15,26 +15,19 @@
*/
package com.github.dozermapper.core.builder.model.jaxb;
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlAttribute;
-import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlTransient;
-import javax.xml.bind.annotation.XmlType;
-
+import jakarta.xml.bind.annotation.XmlAccessType;
+import jakarta.xml.bind.annotation.XmlAccessorType;
+import jakarta.xml.bind.annotation.XmlAttribute;
+import jakarta.xml.bind.annotation.XmlElement;
+import jakarta.xml.bind.annotation.XmlTransient;
+import jakarta.xml.bind.annotation.XmlType;
import com.github.dozermapper.core.config.BeanContainer;
import com.github.dozermapper.core.converters.CustomConverterDescription;
import com.github.dozermapper.core.util.MappingUtils;
-import lombok.AccessLevel;
import lombok.EqualsAndHashCode;
-import lombok.Getter;
-import lombok.Setter;
import lombok.ToString;
-
import org.apache.commons.lang3.builder.ToStringBuilder;
-@Getter
-@Setter(AccessLevel.PROTECTED)
@ToString
@EqualsAndHashCode
@XmlAccessorType(XmlAccessType.FIELD)
@@ -104,4 +97,32 @@ public String toString() {
.append("type", type)
.toString();
}
+
+ public CustomConvertersDefinition getParent() {
+ return parent;
+ }
+
+ public ClassDefinition getClassA() {
+ return classA;
+ }
+
+ protected void setClassA(ClassDefinition classA) {
+ this.classA = classA;
+ }
+
+ public ClassDefinition getClassB() {
+ return classB;
+ }
+
+ protected void setClassB(ClassDefinition classB) {
+ this.classB = classB;
+ }
+
+ public String getType() {
+ return type;
+ }
+
+ protected void setType(String type) {
+ this.type = type;
+ }
}
diff --git a/core/src/main/java/com/github/dozermapper/core/builder/model/jaxb/CopyByReferencesDefinition.java b/core/src/main/java/com/github/dozermapper/core/builder/model/jaxb/CopyByReferencesDefinition.java
index 146947a36..40cb6e63d 100644
--- a/core/src/main/java/com/github/dozermapper/core/builder/model/jaxb/CopyByReferencesDefinition.java
+++ b/core/src/main/java/com/github/dozermapper/core/builder/model/jaxb/CopyByReferencesDefinition.java
@@ -17,23 +17,16 @@
import java.util.ArrayList;
import java.util.List;
-
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlRootElement;
-import javax.xml.bind.annotation.XmlTransient;
-import javax.xml.bind.annotation.XmlType;
-
+import jakarta.xml.bind.annotation.XmlAccessType;
+import jakarta.xml.bind.annotation.XmlAccessorType;
+import jakarta.xml.bind.annotation.XmlElement;
+import jakarta.xml.bind.annotation.XmlRootElement;
+import jakarta.xml.bind.annotation.XmlTransient;
+import jakarta.xml.bind.annotation.XmlType;
import com.github.dozermapper.core.classmap.CopyByReference;
-import lombok.AccessLevel;
import lombok.EqualsAndHashCode;
-import lombok.Getter;
-import lombok.Setter;
import lombok.ToString;
-@Getter
-@Setter(AccessLevel.PROTECTED)
@ToString
@EqualsAndHashCode
@XmlAccessorType(XmlAccessType.FIELD)
@@ -79,4 +72,16 @@ public List build() {
public ConfigurationDefinition end() {
return parent;
}
+
+ public ConfigurationDefinition getParent() {
+ return parent;
+ }
+
+ public List getCopyByReference() {
+ return copyByReference;
+ }
+
+ protected void setCopyByReference(List copyByReference) {
+ this.copyByReference = copyByReference;
+ }
}
diff --git a/core/src/main/java/com/github/dozermapper/core/builder/model/jaxb/CustomConvertersDefinition.java b/core/src/main/java/com/github/dozermapper/core/builder/model/jaxb/CustomConvertersDefinition.java
index 72ea88b86..7ee6ae12b 100644
--- a/core/src/main/java/com/github/dozermapper/core/builder/model/jaxb/CustomConvertersDefinition.java
+++ b/core/src/main/java/com/github/dozermapper/core/builder/model/jaxb/CustomConvertersDefinition.java
@@ -17,24 +17,17 @@
import java.util.ArrayList;
import java.util.List;
-
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlRootElement;
-import javax.xml.bind.annotation.XmlTransient;
-import javax.xml.bind.annotation.XmlType;
-
+import jakarta.xml.bind.annotation.XmlAccessType;
+import jakarta.xml.bind.annotation.XmlAccessorType;
+import jakarta.xml.bind.annotation.XmlElement;
+import jakarta.xml.bind.annotation.XmlRootElement;
+import jakarta.xml.bind.annotation.XmlTransient;
+import jakarta.xml.bind.annotation.XmlType;
import com.github.dozermapper.core.config.BeanContainer;
import com.github.dozermapper.core.converters.CustomConverterDescription;
-import lombok.AccessLevel;
import lombok.EqualsAndHashCode;
-import lombok.Getter;
-import lombok.Setter;
import lombok.ToString;
-@Getter
-@Setter(AccessLevel.PROTECTED)
@ToString
@EqualsAndHashCode
@XmlAccessorType(XmlAccessType.FIELD)
@@ -83,4 +76,16 @@ public List build(BeanContainer beanContainer) {
public ConfigurationDefinition end() {
return parent;
}
+
+ public ConfigurationDefinition getParent() {
+ return parent;
+ }
+
+ public List getConverter() {
+ return converter;
+ }
+
+ protected void setConverter(List converter) {
+ this.converter = converter;
+ }
}
diff --git a/core/src/main/java/com/github/dozermapper/core/builder/model/jaxb/FieldDefinition.java b/core/src/main/java/com/github/dozermapper/core/builder/model/jaxb/FieldDefinition.java
index a2e0f9673..13e76f3c7 100644
--- a/core/src/main/java/com/github/dozermapper/core/builder/model/jaxb/FieldDefinition.java
+++ b/core/src/main/java/com/github/dozermapper/core/builder/model/jaxb/FieldDefinition.java
@@ -15,14 +15,13 @@
*/
package com.github.dozermapper.core.builder.model.jaxb;
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlAttribute;
-import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlRootElement;
-import javax.xml.bind.annotation.XmlTransient;
-import javax.xml.bind.annotation.XmlType;
-
+import jakarta.xml.bind.annotation.XmlAccessType;
+import jakarta.xml.bind.annotation.XmlAccessorType;
+import jakarta.xml.bind.annotation.XmlAttribute;
+import jakarta.xml.bind.annotation.XmlElement;
+import jakarta.xml.bind.annotation.XmlRootElement;
+import jakarta.xml.bind.annotation.XmlTransient;
+import jakarta.xml.bind.annotation.XmlType;
import com.github.dozermapper.core.MappingException;
import com.github.dozermapper.core.classmap.ClassMap;
import com.github.dozermapper.core.classmap.MappingDirection;
@@ -36,12 +35,8 @@
import com.github.dozermapper.core.fieldmap.HintContainer;
import com.github.dozermapper.core.fieldmap.MapFieldMap;
import com.github.dozermapper.core.propertydescriptor.PropertyDescriptorFactory;
-import lombok.AccessLevel;
import lombok.EqualsAndHashCode;
-import lombok.Getter;
-import lombok.Setter;
import lombok.ToString;
-
import org.apache.commons.lang3.StringUtils;
/**
@@ -75,8 +70,6 @@
* custom-converter Indicates that a specific custom converter should be used for mapping this field. Typically
* this will not be specified.
*/
-@Getter
-@Setter(AccessLevel.PROTECTED)
@ToString
@EqualsAndHashCode
@XmlAccessorType(XmlAccessType.FIELD)
@@ -313,4 +306,124 @@ private HintContainer getHintContainer(String hint, BeanContainer beanContainer)
return hintContainer;
}
+
+ public MappingDefinition getParentMappingDefinition() {
+ return parentMappingDefinition;
+ }
+
+ public FieldExcludeDefinition getParentFieldExclude() {
+ return parentFieldExclude;
+ }
+
+ public FieldDefinitionDefinition getA() {
+ return a;
+ }
+
+ protected void setA(FieldDefinitionDefinition a) {
+ this.a = a;
+ }
+
+ public FieldDefinitionDefinition getB() {
+ return b;
+ }
+
+ protected void setB(FieldDefinitionDefinition b) {
+ this.b = b;
+ }
+
+ public String getAHint() {
+ return aHint;
+ }
+
+ protected void setAHint(String aHint) {
+ this.aHint = aHint;
+ }
+
+ public String getBHint() {
+ return bHint;
+ }
+
+ protected void setBHint(String bHint) {
+ this.bHint = bHint;
+ }
+
+ public String getADeepIndexHint() {
+ return aDeepIndexHint;
+ }
+
+ protected void setADeepIndexHint(String aDeepIndexHint) {
+ this.aDeepIndexHint = aDeepIndexHint;
+ }
+
+ public String getBDeepIndexHint() {
+ return bDeepIndexHint;
+ }
+
+ protected void setBDeepIndexHint(String bDeepIndexHint) {
+ this.bDeepIndexHint = bDeepIndexHint;
+ }
+
+ public Relationship getRelationshipType() {
+ return relationshipType;
+ }
+
+ protected void setRelationshipType(Relationship relationshipType) {
+ this.relationshipType = relationshipType;
+ }
+
+ public Boolean getRemoveOrphans() {
+ return removeOrphans;
+ }
+
+ protected void setRemoveOrphans(Boolean removeOrphans) {
+ this.removeOrphans = removeOrphans;
+ }
+
+ public Type getType() {
+ return type;
+ }
+
+ protected void setType(Type type) {
+ this.type = type;
+ }
+
+ public String getMapId() {
+ return mapId;
+ }
+
+ protected void setMapId(String mapId) {
+ this.mapId = mapId;
+ }
+
+ public Boolean getCopyByReference() {
+ return copyByReference;
+ }
+
+ protected void setCopyByReference(Boolean copyByReference) {
+ this.copyByReference = copyByReference;
+ }
+
+ public String getCustomConverter() {
+ return customConverter;
+ }
+
+ protected void setCustomConverter(String customConverter) {
+ this.customConverter = customConverter;
+ }
+
+ public String getCustomConverterId() {
+ return customConverterId;
+ }
+
+ protected void setCustomConverterId(String customConverterId) {
+ this.customConverterId = customConverterId;
+ }
+
+ public String getCustomConverterParam() {
+ return customConverterParam;
+ }
+
+ protected void setCustomConverterParam(String customConverterParam) {
+ this.customConverterParam = customConverterParam;
+ }
}
diff --git a/core/src/main/java/com/github/dozermapper/core/builder/model/jaxb/FieldDefinitionDefinition.java b/core/src/main/java/com/github/dozermapper/core/builder/model/jaxb/FieldDefinitionDefinition.java
index fa3db035a..17efdf7fc 100644
--- a/core/src/main/java/com/github/dozermapper/core/builder/model/jaxb/FieldDefinitionDefinition.java
+++ b/core/src/main/java/com/github/dozermapper/core/builder/model/jaxb/FieldDefinitionDefinition.java
@@ -15,22 +15,17 @@
*/
package com.github.dozermapper.core.builder.model.jaxb;
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlAttribute;
-import javax.xml.bind.annotation.XmlTransient;
-import javax.xml.bind.annotation.XmlType;
-import javax.xml.bind.annotation.XmlValue;
-
+import jakarta.xml.bind.annotation.XmlAccessType;
+import jakarta.xml.bind.annotation.XmlAccessorType;
+import jakarta.xml.bind.annotation.XmlAttribute;
+import jakarta.xml.bind.annotation.XmlTransient;
+import jakarta.xml.bind.annotation.XmlType;
+import jakarta.xml.bind.annotation.XmlValue;
import com.github.dozermapper.core.MappingException;
import com.github.dozermapper.core.fieldmap.DozerField;
import com.github.dozermapper.core.util.MappingUtils;
-import lombok.AccessLevel;
import lombok.EqualsAndHashCode;
-import lombok.Getter;
-import lombok.Setter;
import lombok.ToString;
-
import org.apache.commons.lang3.StringUtils;
/**
@@ -54,8 +49,6 @@
* 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.
*/
-@Getter
-@Setter(AccessLevel.PROTECTED)
@ToString
@EqualsAndHashCode
@XmlAccessorType(XmlAccessType.FIELD)
@@ -236,4 +229,92 @@ private String getFieldNameOfIndexedField(String fieldName) {
private int getIndexOfIndexedField(String fieldName) {
return Integer.parseInt(fieldName.replaceAll(".*\\[", "").replaceAll("\\]", ""));
}
+
+ public FieldExcludeDefinition getFieldExcludeParent() {
+ return fieldExcludeParent;
+ }
+
+ public FieldDefinition getFieldParent() {
+ return fieldParent;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ protected void setName(String name) {
+ this.name = name;
+ }
+
+ public String getDateFormat() {
+ return dateFormat;
+ }
+
+ protected void setDateFormat(String dateFormat) {
+ this.dateFormat = dateFormat;
+ }
+
+ public FieldType getType() {
+ return type;
+ }
+
+ protected void setType(FieldType type) {
+ this.type = type;
+ }
+
+ public String getSetMethod() {
+ return setMethod;
+ }
+
+ protected void setSetMethod(String setMethod) {
+ this.setMethod = setMethod;
+ }
+
+ public String getGetMethod() {
+ return getMethod;
+ }
+
+ protected void setGetMethod(String getMethod) {
+ this.getMethod = getMethod;
+ }
+
+ public String getKey() {
+ return key;
+ }
+
+ protected void setKey(String key) {
+ this.key = key;
+ }
+
+ public String getMapSetMethod() {
+ return mapSetMethod;
+ }
+
+ protected void setMapSetMethod(String mapSetMethod) {
+ this.mapSetMethod = mapSetMethod;
+ }
+
+ public String getMapGetMethod() {
+ return mapGetMethod;
+ }
+
+ protected void setMapGetMethod(String mapGetMethod) {
+ this.mapGetMethod = mapGetMethod;
+ }
+
+ public Boolean getIsAccessible() {
+ return isAccessible;
+ }
+
+ protected void setIsAccessible(Boolean accessible) {
+ isAccessible = accessible;
+ }
+
+ public String getCreateMethod() {
+ return createMethod;
+ }
+
+ protected void setCreateMethod(String createMethod) {
+ this.createMethod = createMethod;
+ }
}
diff --git a/core/src/main/java/com/github/dozermapper/core/builder/model/jaxb/FieldExcludeDefinition.java b/core/src/main/java/com/github/dozermapper/core/builder/model/jaxb/FieldExcludeDefinition.java
index 0228a674b..4c88f8b95 100644
--- a/core/src/main/java/com/github/dozermapper/core/builder/model/jaxb/FieldExcludeDefinition.java
+++ b/core/src/main/java/com/github/dozermapper/core/builder/model/jaxb/FieldExcludeDefinition.java
@@ -15,14 +15,13 @@
*/
package com.github.dozermapper.core.builder.model.jaxb;
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlAttribute;
-import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlRootElement;
-import javax.xml.bind.annotation.XmlTransient;
-import javax.xml.bind.annotation.XmlType;
-
+import jakarta.xml.bind.annotation.XmlAccessType;
+import jakarta.xml.bind.annotation.XmlAccessorType;
+import jakarta.xml.bind.annotation.XmlAttribute;
+import jakarta.xml.bind.annotation.XmlElement;
+import jakarta.xml.bind.annotation.XmlRootElement;
+import jakarta.xml.bind.annotation.XmlTransient;
+import jakarta.xml.bind.annotation.XmlType;
import com.github.dozermapper.core.classmap.ClassMap;
import com.github.dozermapper.core.classmap.MappingDirection;
import com.github.dozermapper.core.config.BeanContainer;
@@ -31,17 +30,12 @@
import com.github.dozermapper.core.fieldmap.ExcludeFieldMap;
import com.github.dozermapper.core.fieldmap.FieldMap;
import com.github.dozermapper.core.propertydescriptor.PropertyDescriptorFactory;
-import lombok.AccessLevel;
import lombok.EqualsAndHashCode;
-import lombok.Getter;
-import lombok.Setter;
import lombok.ToString;
/**
* Exclude a particular field from being mapped
*/
-@Getter
-@Setter(AccessLevel.PROTECTED)
@ToString
@EqualsAndHashCode
@XmlAccessorType(XmlAccessType.FIELD)
@@ -108,4 +102,32 @@ public FieldMap build(ClassMap classMap, BeanContainer beanContainer, DestBeanCr
return fieldMap;
}
+
+ public MappingDefinition getParent() {
+ return parent;
+ }
+
+ public FieldDefinitionDefinition getA() {
+ return a;
+ }
+
+ protected void setA(FieldDefinitionDefinition a) {
+ this.a = a;
+ }
+
+ public FieldDefinitionDefinition getB() {
+ return b;
+ }
+
+ protected void setB(FieldDefinitionDefinition b) {
+ this.b = b;
+ }
+
+ public Type getType() {
+ return type;
+ }
+
+ protected void setType(Type type) {
+ this.type = type;
+ }
}
diff --git a/core/src/main/java/com/github/dozermapper/core/builder/model/jaxb/FieldType.java b/core/src/main/java/com/github/dozermapper/core/builder/model/jaxb/FieldType.java
index 287d3da68..7899586f5 100644
--- a/core/src/main/java/com/github/dozermapper/core/builder/model/jaxb/FieldType.java
+++ b/core/src/main/java/com/github/dozermapper/core/builder/model/jaxb/FieldType.java
@@ -15,9 +15,9 @@
*/
package com.github.dozermapper.core.builder.model.jaxb;
-import javax.xml.bind.annotation.XmlEnum;
-import javax.xml.bind.annotation.XmlEnumValue;
-import javax.xml.bind.annotation.XmlType;
+import jakarta.xml.bind.annotation.XmlEnum;
+import jakarta.xml.bind.annotation.XmlEnumValue;
+import jakarta.xml.bind.annotation.XmlType;
import lombok.ToString;
diff --git a/core/src/main/java/com/github/dozermapper/core/builder/model/jaxb/MappingDefinition.java b/core/src/main/java/com/github/dozermapper/core/builder/model/jaxb/MappingDefinition.java
index 7e02e4d5b..403a510cb 100644
--- a/core/src/main/java/com/github/dozermapper/core/builder/model/jaxb/MappingDefinition.java
+++ b/core/src/main/java/com/github/dozermapper/core/builder/model/jaxb/MappingDefinition.java
@@ -17,16 +17,14 @@
import java.util.ArrayList;
import java.util.List;
-
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlAttribute;
-import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlElements;
-import javax.xml.bind.annotation.XmlRootElement;
-import javax.xml.bind.annotation.XmlTransient;
-import javax.xml.bind.annotation.XmlType;
-
+import jakarta.xml.bind.annotation.XmlAccessType;
+import jakarta.xml.bind.annotation.XmlAccessorType;
+import jakarta.xml.bind.annotation.XmlAttribute;
+import jakarta.xml.bind.annotation.XmlElement;
+import jakarta.xml.bind.annotation.XmlElements;
+import jakarta.xml.bind.annotation.XmlRootElement;
+import jakarta.xml.bind.annotation.XmlTransient;
+import jakarta.xml.bind.annotation.XmlType;
import com.github.dozermapper.core.classmap.ClassMap;
import com.github.dozermapper.core.classmap.Configuration;
import com.github.dozermapper.core.classmap.MappingDirection;
@@ -35,10 +33,7 @@
import com.github.dozermapper.core.factory.DestBeanCreator;
import com.github.dozermapper.core.fieldmap.FieldMap;
import com.github.dozermapper.core.propertydescriptor.PropertyDescriptorFactory;
-import lombok.AccessLevel;
import lombok.EqualsAndHashCode;
-import lombok.Getter;
-import lombok.Setter;
import lombok.ToString;
/**
@@ -84,8 +79,6 @@
*
* non-cumulative indicates the element will be added or an existing entry will be updated.
*/
-@Getter
-@Setter(AccessLevel.PROTECTED)
@ToString
@EqualsAndHashCode
@XmlAccessorType(XmlAccessType.FIELD)
@@ -330,4 +323,136 @@ private List convertFieldMap(ClassMap classMap, BeanContainer beanCont
return answer;
}
+
+ public MappingsDefinition getParent() {
+ return parent;
+ }
+
+ public ClassDefinition getClassA() {
+ return classA;
+ }
+
+ protected void setClassA(ClassDefinition classA) {
+ this.classA = classA;
+ }
+
+ public ClassDefinition getClassB() {
+ return classB;
+ }
+
+ protected void setClassB(ClassDefinition classB) {
+ this.classB = classB;
+ }
+
+ public List