├── .github ├── ISSUE_TEMPLATE.md ├── PULL_REQUEST_TEMPLATE.md ├── deploy-settings.xml └── workflows │ ├── build.yml │ ├── release.yml │ └── scorecard.yml ├── .gitignore ├── CONTRIBUTING.md ├── LICENSE.md ├── README.md ├── bom-dependencies └── pom.xml ├── building-tools ├── pom.xml └── src │ └── main │ └── resources │ ├── LICENSE-HEADER.txt │ └── META-INF │ └── LICENSE ├── core ├── pom.xml └── src │ ├── main │ ├── java │ │ └── com │ │ │ └── github │ │ │ └── dozermapper │ │ │ └── core │ │ │ ├── BeanBuilder.java │ │ │ ├── BeanFactory.java │ │ │ ├── BeanGeneralCreationStrategy.java │ │ │ ├── ConfigurableCustomConverter.java │ │ │ ├── CustomConverter.java │ │ │ ├── CustomFieldMapper.java │ │ │ ├── DozerBeanMapper.java │ │ │ ├── DozerBeanMapperBuilder.java │ │ │ ├── DozerConverter.java │ │ │ ├── DozerModule.java │ │ │ ├── MapIdField.java │ │ │ ├── MappedFieldsTracker.java │ │ │ ├── Mapper.java │ │ │ ├── MapperAware.java │ │ │ ├── MapperModelContext.java │ │ │ ├── Mapping.java │ │ │ ├── MappingException.java │ │ │ ├── MappingProcessor.java │ │ │ ├── OptionValue.java │ │ │ ├── builder │ │ │ ├── BeanBuilderCreationStrategy.java │ │ │ ├── BeanMappingsBuilder.java │ │ │ ├── BuilderUtil.java │ │ │ ├── DestBeanBuilderCreator.java │ │ │ ├── fluent │ │ │ │ ├── BeanMappingsFluentBuilder.java │ │ │ │ └── package-info.java │ │ │ ├── model │ │ │ │ ├── elengine │ │ │ │ │ ├── ELAllowedExceptionsDefinition.java │ │ │ │ │ ├── ELClassDefinition.java │ │ │ │ │ ├── ELConfigurationDefinition.java │ │ │ │ │ ├── ELConverterTypeDefinition.java │ │ │ │ │ ├── ELCopyByReferencesDefinition.java │ │ │ │ │ ├── ELCustomConvertersDefinition.java │ │ │ │ │ ├── ELFieldDefinition.java │ │ │ │ │ ├── ELMappingDefinition.java │ │ │ │ │ ├── ELMappingsDefinition.java │ │ │ │ │ ├── ELVariableDefinition.java │ │ │ │ │ ├── ELVariablesDefinition.java │ │ │ │ │ └── package-info.java │ │ │ │ ├── jaxb │ │ │ │ │ ├── AllowedExceptionsDefinition.java │ │ │ │ │ ├── ClassDefinition.java │ │ │ │ │ ├── ConfigurationDefinition.java │ │ │ │ │ ├── ConverterTypeDefinition.java │ │ │ │ │ ├── CopyByReferencesDefinition.java │ │ │ │ │ ├── CustomConvertersDefinition.java │ │ │ │ │ ├── FieldDefinition.java │ │ │ │ │ ├── FieldDefinitionDefinition.java │ │ │ │ │ ├── FieldExcludeDefinition.java │ │ │ │ │ ├── FieldType.java │ │ │ │ │ ├── MappingDefinition.java │ │ │ │ │ ├── MappingsDefinition.java │ │ │ │ │ ├── Relationship.java │ │ │ │ │ ├── Type.java │ │ │ │ │ ├── VariableDefinition.java │ │ │ │ │ ├── VariablesDefinition.java │ │ │ │ │ └── package-info.java │ │ │ │ └── package-info.java │ │ │ ├── package-info.java │ │ │ └── xml │ │ │ │ ├── BeanMappingXMLBuilder.java │ │ │ │ ├── DefaultJAXBModelParser.java │ │ │ │ ├── InputStreamLSInput.java │ │ │ │ ├── JAXBModelParser.java │ │ │ │ ├── SchemaLSResourceResolver.java │ │ │ │ └── package-info.java │ │ │ ├── cache │ │ │ ├── Cache.java │ │ │ ├── CacheEntry.java │ │ │ ├── CacheKeyFactory.java │ │ │ ├── CacheManager.java │ │ │ ├── DefaultCache.java │ │ │ ├── DefaultCacheManager.java │ │ │ ├── DozerCacheType.java │ │ │ └── package-info.java │ │ │ ├── classmap │ │ │ ├── AllowedExceptionContainer.java │ │ │ ├── ClassMap.java │ │ │ ├── ClassMapBuilder.java │ │ │ ├── ClassMapKeyFactory.java │ │ │ ├── ClassMappings.java │ │ │ ├── Configuration.java │ │ │ ├── CopyByReference.java │ │ │ ├── CopyByReferenceContainer.java │ │ │ ├── DozerClass.java │ │ │ ├── MappingDirection.java │ │ │ ├── MappingFileData.java │ │ │ ├── RelationshipType.java │ │ │ ├── generator │ │ │ │ ├── BeanFieldsDetector.java │ │ │ │ ├── BeanMappingGenerator.java │ │ │ │ ├── ClassLevelFieldMappingGenerator.java │ │ │ │ ├── GeneratorUtils.java │ │ │ │ ├── JavaBeanFieldsDetector.java │ │ │ │ ├── MappingType.java │ │ │ │ ├── WildcardFieldMapping.java │ │ │ │ └── package-info.java │ │ │ └── package-info.java │ │ │ ├── config │ │ │ ├── BeanContainer.java │ │ │ ├── Settings.java │ │ │ ├── SettingsDefaults.java │ │ │ ├── SettingsKeys.java │ │ │ ├── package-info.java │ │ │ ├── processors │ │ │ │ ├── DefaultSettingsProcessor.java │ │ │ │ ├── SettingsProcessor.java │ │ │ │ └── package-info.java │ │ │ └── resolvers │ │ │ │ ├── LegacyPropertiesSettingsResolver.java │ │ │ │ ├── SettingsResolver.java │ │ │ │ ├── SystemEnvironmentSettingsResolver.java │ │ │ │ ├── SystemPropertySettingsResolver.java │ │ │ │ ├── YAMLSettingsResolver.java │ │ │ │ └── package-info.java │ │ │ ├── converters │ │ │ ├── AbstractJava8DateTimeConverter.java │ │ │ ├── ByteConverter.java │ │ │ ├── CalendarConverter.java │ │ │ ├── ConversionException.java │ │ │ ├── CustomConverterContainer.java │ │ │ ├── CustomConverterDescription.java │ │ │ ├── DateConverter.java │ │ │ ├── DateFormatContainer.java │ │ │ ├── EnumConverter.java │ │ │ ├── InstantConverter.java │ │ │ ├── IntegerConverter.java │ │ │ ├── JAXBElementConverter.java │ │ │ ├── LocalDateTimeConverter.java │ │ │ ├── LongConverter.java │ │ │ ├── OffsetDateTimeConverter.java │ │ │ ├── PrimitiveOrWrapperConverter.java │ │ │ ├── ShortConverter.java │ │ │ ├── StringConstructorConverter.java │ │ │ ├── StringConverter.java │ │ │ ├── XMLGregorianCalendarConverter.java │ │ │ ├── ZonedDateTimeConverter.java │ │ │ └── package-info.java │ │ │ ├── el │ │ │ ├── DefaultELEngine.java │ │ │ ├── ELEngine.java │ │ │ ├── ELExpressionFactory.java │ │ │ ├── NoopELEngine.java │ │ │ ├── TcclELEngine.java │ │ │ ├── contexts │ │ │ │ ├── SimpleELContext.java │ │ │ │ └── package-info.java │ │ │ ├── mappers │ │ │ │ ├── FunctionsMapper.java │ │ │ │ ├── VariablesMapper.java │ │ │ │ └── package-info.java │ │ │ └── package-info.java │ │ │ ├── events │ │ │ ├── DefaultEvent.java │ │ │ ├── DefaultEventManager.java │ │ │ ├── Event.java │ │ │ ├── EventListener.java │ │ │ ├── EventManager.java │ │ │ ├── EventTypes.java │ │ │ └── package-info.java │ │ │ ├── factory │ │ │ ├── BeanCreationDirective.java │ │ │ ├── BeanCreationStrategy.java │ │ │ ├── ConstructionStrategies.java │ │ │ ├── DestBeanCreator.java │ │ │ ├── JAXBBeanFactory.java │ │ │ ├── XMLBeanFactory.java │ │ │ └── package-info.java │ │ │ ├── fieldmap │ │ │ ├── CustomGetSetMethodFieldMap.java │ │ │ ├── DozerField.java │ │ │ ├── ExcludeFieldMap.java │ │ │ ├── FieldMap.java │ │ │ ├── GenericFieldMap.java │ │ │ ├── HintContainer.java │ │ │ ├── MapFieldMap.java │ │ │ └── package-info.java │ │ │ ├── inject │ │ │ ├── BeanRegistry.java │ │ │ ├── DozerBeanContainer.java │ │ │ ├── Inject.java │ │ │ └── package-info.java │ │ │ ├── loader │ │ │ ├── CustomMappingsLoader.java │ │ │ ├── DozerBuilder.java │ │ │ ├── LoadMappingsResult.java │ │ │ ├── MappingsParser.java │ │ │ ├── MappingsSource.java │ │ │ ├── api │ │ │ │ ├── BeanMappingBuilder.java │ │ │ │ ├── FieldDefinition.java │ │ │ │ ├── FieldsMappingOption.java │ │ │ │ ├── FieldsMappingOptions.java │ │ │ │ ├── TypeDefinition.java │ │ │ │ ├── TypeMappingBuilder.java │ │ │ │ ├── TypeMappingOption.java │ │ │ │ ├── TypeMappingOptions.java │ │ │ │ └── package-info.java │ │ │ ├── package-info.java │ │ │ └── xml │ │ │ │ ├── DozerResolver.java │ │ │ │ ├── ElementReader.java │ │ │ │ ├── ExpressionElementReader.java │ │ │ │ ├── MappingFileReader.java │ │ │ │ ├── MappingStreamReader.java │ │ │ │ ├── SimpleElementReader.java │ │ │ │ ├── XMLParser.java │ │ │ │ ├── XMLParserFactory.java │ │ │ │ └── package-info.java │ │ │ ├── metadata │ │ │ ├── ClassMappingMetadata.java │ │ │ ├── DozerClassMappingMetadata.java │ │ │ ├── DozerFieldMappingMetadata.java │ │ │ ├── DozerMappingMetadata.java │ │ │ ├── FieldMappingMetadata.java │ │ │ ├── MappingMetadata.java │ │ │ ├── MetadataLookupException.java │ │ │ └── package-info.java │ │ │ ├── osgi │ │ │ ├── Activator.java │ │ │ ├── OSGiClassLoader.java │ │ │ └── package-info.java │ │ │ ├── package-info.java │ │ │ ├── propertydescriptor │ │ │ ├── AbstractPropertyDescriptor.java │ │ │ ├── CustomGetSetPropertyDescriptor.java │ │ │ ├── DeepHierarchyElement.java │ │ │ ├── DozerPropertyDescriptor.java │ │ │ ├── FieldPropertyDescriptor.java │ │ │ ├── GetterSetterPropertyDescriptor.java │ │ │ ├── JavaBeanPropertyDescriptor.java │ │ │ ├── MapPropertyDescriptor.java │ │ │ ├── PropertyDescriptorCreationStrategy.java │ │ │ ├── PropertyDescriptorFactory.java │ │ │ ├── SelfPropertyDescriptor.java │ │ │ ├── XmlBeanPropertyDescriptor.java │ │ │ └── package-info.java │ │ │ └── util │ │ │ ├── BridgedMethodFinder.java │ │ │ ├── CollectionUtils.java │ │ │ ├── DeepHierarchyUtils.java │ │ │ ├── DefaultClassLoader.java │ │ │ ├── DefaultProxyResolver.java │ │ │ ├── DozerClassLoader.java │ │ │ ├── DozerConstants.java │ │ │ ├── DozerProxyResolver.java │ │ │ ├── HibernateProxyResolver.java │ │ │ ├── IteratorUtils.java │ │ │ ├── JavassistProxyResolver.java │ │ │ ├── LogMsgFactory.java │ │ │ ├── MappingOptions.java │ │ │ ├── MappingUtils.java │ │ │ ├── MappingValidator.java │ │ │ ├── NoProxyResolver.java │ │ │ ├── ReflectionUtils.java │ │ │ ├── ResourceLoader.java │ │ │ ├── RuntimeUtils.java │ │ │ ├── TypeResolver.java │ │ │ └── package-info.java │ └── resources │ │ ├── META-INF │ │ └── LICENSE │ │ ├── com │ │ └── github │ │ │ └── dozermapper │ │ │ └── core │ │ │ └── builder │ │ │ └── model │ │ │ └── jaxb │ │ │ └── jaxb.index │ │ ├── dtd │ │ ├── bean-mapping-6.0.0.dtd │ │ ├── bean-mapping-6.2.0.dtd │ │ └── bean-mapping.dtd │ │ ├── schema │ │ ├── bean-mapping-6.0.0.xsd │ │ └── bean-mapping-6.2.0.xsd │ │ └── version.adoc │ └── test │ ├── java │ ├── com │ │ └── github │ │ │ └── dozermapper │ │ │ └── core │ │ │ ├── AbstractDozerTest.java │ │ │ ├── DozerBeanMapperTest.java │ │ │ ├── DozerConverterTest.java │ │ │ ├── MapIdFieldTest.java │ │ │ ├── MappedFieldsTrackerTest.java │ │ │ ├── MappingProcessorArrayTest.java │ │ │ ├── MappingProcessorTest.java │ │ │ ├── Version5XSDTest.java │ │ │ ├── Version6XSDTest.java │ │ │ ├── builder │ │ │ ├── fluent │ │ │ │ └── BeanMappingsFluentBuilderTest.java │ │ │ └── xml │ │ │ │ ├── BeanMappingXMLBuilderTest.java │ │ │ │ ├── DefaultJAXBModelParserTest.java │ │ │ │ ├── InputStreamLSInputTest.java │ │ │ │ └── SchemaLSResourceResolverTest.java │ │ │ ├── cache │ │ │ ├── CacheEntryTest.java │ │ │ ├── CacheKeyFactoryTest.java │ │ │ ├── DefaultCacheManagerTest.java │ │ │ └── DefaultCacheTest.java │ │ │ ├── classmap │ │ │ ├── ClassMapBuilderTest.java │ │ │ ├── ClassMapKeyFactoryTest.java │ │ │ ├── ClassMapTest.java │ │ │ ├── ClassMappingsTest.java │ │ │ ├── CopyByReferenceContainerTest.java │ │ │ ├── CopyByReferenceTest.java │ │ │ ├── MappingDirectionTest.java │ │ │ ├── RelationshipTypeTest.java │ │ │ └── generator │ │ │ │ └── GeneratorUtilsTest.java │ │ │ ├── config │ │ │ ├── processors │ │ │ │ └── SettingsProcessorTest.java │ │ │ └── resolvers │ │ │ │ ├── LegacyPropertiesSettingsResolverTest.java │ │ │ │ ├── SystemPropertySettingsResolverTest.java │ │ │ │ └── YAMLSettingsResolverTest.java │ │ │ ├── converters │ │ │ ├── ConverterTest.java │ │ │ ├── CustomConverterContainerTest.java │ │ │ ├── CustomConverterThreadSafetyTest.java │ │ │ ├── DateConverterTest.java │ │ │ ├── EnumConverterTest.java │ │ │ ├── InstantConverterTest.java │ │ │ ├── IntegerConverterTest.java │ │ │ ├── JAXBElementConverterTest.java │ │ │ ├── LocalDateTimeConverterTest.java │ │ │ ├── OffsetDateTimeConverterTest.java │ │ │ ├── PrimitiveOrWrapperConverterTest.java │ │ │ ├── StringConstructorConverterTest.java │ │ │ ├── StringConverterTest.java │ │ │ ├── XMLGregorianCalendarConverterTest.java │ │ │ └── ZonedDateTimeConverterTest.java │ │ │ ├── el │ │ │ ├── DefaultELEngineTest.java │ │ │ ├── ELExpressionFactoryTest.java │ │ │ ├── NoopELEngineTest.java │ │ │ └── TcclELEngineTest.java │ │ │ ├── events │ │ │ ├── DefaultEventManagerTest.java │ │ │ └── DefaultEventTest.java │ │ │ ├── factory │ │ │ ├── ConstructionStrategiesTest.java │ │ │ ├── DestBeanCreatorTest.java │ │ │ └── JAXBBeanFactoryTest.java │ │ │ ├── fieldmap │ │ │ ├── FieldMapTest.java │ │ │ └── MapFieldMapTest.java │ │ │ ├── functional_tests │ │ │ ├── AbstractFunctionalTest.java │ │ │ ├── BiDirectionalMappingTest.java │ │ │ ├── CaseInsensitiveWildcardMappingTest.java │ │ │ ├── CircularDependenciesTest.java │ │ │ ├── ClassLevelIsAccessibleTest.java │ │ │ ├── ClassloaderTest.java │ │ │ ├── CollectionTest.java │ │ │ ├── ConstructorTest.java │ │ │ ├── CopyByReferenceCollectionTest.java │ │ │ ├── CopyByReferenceFieldLevelOneWayTest.java │ │ │ ├── CopyByReferenceFromMapTest.java │ │ │ ├── CumulativeCollectionMappingTest.java │ │ │ ├── CumulativeMappingTest.java │ │ │ ├── CustomConverterMapperAwareTest.java │ │ │ ├── CustomConverterMappingTest.java │ │ │ ├── CustomConverterParamMappingTest.java │ │ │ ├── DataObjectInstantiator.java │ │ │ ├── DateFormatTest.java │ │ │ ├── DeepMappingTest.java │ │ │ ├── DeepMappingWithIndexTest.java │ │ │ ├── DozerBeanMapperTest.java │ │ │ ├── DynamicMethod.java │ │ │ ├── EnumMappingTest.java │ │ │ ├── EnumMapping_WithExceptionsLoggedTest.java │ │ │ ├── ExceptionHandlingFunctionalTest.java │ │ │ ├── ExcludeFieldTest.java │ │ │ ├── GenericCollectionMappingTest.java │ │ │ ├── GenericListFunctionalTest.java │ │ │ ├── GenericsTest.java │ │ │ ├── GlobalReferenceTest.java │ │ │ ├── GrandparentTest.java │ │ │ ├── GranularDozerBeanMapperTest.java │ │ │ ├── GranularDozerBeanMapper_WithExceptionLoggedTest.java │ │ │ ├── ImmutableMappingTest.java │ │ │ ├── IndexMappingTest.java │ │ │ ├── IneritanceHintSupportTest.java │ │ │ ├── InheritanceAbstractClassMappingTest.java │ │ │ ├── InheritanceCustomConverterTest.java │ │ │ ├── InheritanceDirectionTest.java │ │ │ ├── InheritanceMappingMapBackedTest.java │ │ │ ├── InheritanceMappingTest.java │ │ │ ├── InheritanceTwoLevelTest.java │ │ │ ├── InterfacePerformanceTest.java │ │ │ ├── InvalidMapping_WithExceptionsLoggedTest.java │ │ │ ├── IsAccessibleTest.java │ │ │ ├── JAXBBeansMappingTest.java │ │ │ ├── JAXBBeansMapping_WithExceptionLoggedTest.java │ │ │ ├── KnownFailures.java │ │ │ ├── LocalDateTimeMappingTest.java │ │ │ ├── MapBackedDeepMappingTest.java │ │ │ ├── MapIdSameInstanceTest.java │ │ │ ├── MapIdTest.java │ │ │ ├── MapMappingTest.java │ │ │ ├── MapTypeTest.java │ │ │ ├── MapWithCustomGetAndPutMethodTest.java │ │ │ ├── MapperTest.java │ │ │ ├── MetadataFieldTest.java │ │ │ ├── MetadataMapIdFieldTest.java │ │ │ ├── MetadataTest.java │ │ │ ├── MultiThreadedTest.java │ │ │ ├── MultipleHintsTest.java │ │ │ ├── NewCustomConverterTest.java │ │ │ ├── NullMappingTest.java │ │ │ ├── OffsetDateTimeMappingTest.java │ │ │ ├── OneWayClassMappingTest.java │ │ │ ├── OneWayMappingTest.java │ │ │ ├── PerformanceTest.java │ │ │ ├── RecursiveInterfaceMappingTest.java │ │ │ ├── RecursiveSelfMappingTest.java │ │ │ ├── RecursiveTest.java │ │ │ ├── RuntimeSubclassMappingTest.java │ │ │ ├── SubclassReferenceTest.java │ │ │ ├── SuperInterfaceMappingTest.java │ │ │ ├── TopLevelMappingTest.java │ │ │ ├── TrimStringsTest.java │ │ │ ├── UUIDMappingTest.java │ │ │ ├── UntypedCollectionTest.java │ │ │ ├── VariablesTest.java │ │ │ ├── WildcardWrapperTypeTest.java │ │ │ ├── ZonedDateTimeMappingTest.java │ │ │ ├── annotation │ │ │ │ ├── AnnotationMappingTest.java │ │ │ │ └── ClassAnnotationMappingTest.java │ │ │ ├── builder │ │ │ │ ├── CollectionWithNullTest.java │ │ │ │ ├── DeepMappingWithMapIdTest.java │ │ │ │ ├── DozerBuilderTest.java │ │ │ │ ├── GenericsTest.java │ │ │ │ ├── InheritanceTest.java │ │ │ │ ├── MapMappingTest.java │ │ │ │ ├── MapNullTest.java │ │ │ │ ├── PrimitiveTest.java │ │ │ │ └── SimpleTest.java │ │ │ ├── mapperaware │ │ │ │ ├── BidirectionalMany.java │ │ │ │ ├── BidirectionalManyConvert.java │ │ │ │ ├── BidirectionalOne.java │ │ │ │ ├── BidirectionalOneConvert.java │ │ │ │ ├── CachingCustomConverterTest.java │ │ │ │ └── SecondUsingMapInternalTest.java │ │ │ ├── model │ │ │ │ ├── AbstractDto.java │ │ │ │ ├── AbstractEntity.java │ │ │ │ ├── MyDto.java │ │ │ │ ├── MyEntity.java │ │ │ │ ├── MyMinimalDto.java │ │ │ │ ├── MySubDto.java │ │ │ │ └── MySubEntity.java │ │ │ ├── runner │ │ │ │ ├── InstantiatorHolder.java │ │ │ │ ├── JavassistDataObjectInstantiator.java │ │ │ │ ├── NoProxyDataObjectInstantiator.java │ │ │ │ ├── Proxied.java │ │ │ │ ├── ProxyDataObjectInstantiator.java │ │ │ │ └── ProxyRunner.java │ │ │ └── support │ │ │ │ ├── BaseSampleBeanFactory.java │ │ │ │ ├── CustomConverterParamConverter.java │ │ │ │ ├── HintedOnlyConverter.java │ │ │ │ ├── InjectedCustomConverter.java │ │ │ │ ├── MyDozerConverter.java │ │ │ │ ├── SampleCustomBeanFactory.java │ │ │ │ ├── SampleCustomBeanFactory2.java │ │ │ │ ├── SampleCustomBeanFactory3.java │ │ │ │ ├── SampleDefaultBeanFactory.java │ │ │ │ ├── StringAppendCustomConverter.java │ │ │ │ ├── TestCustomConverter.java │ │ │ │ ├── TestCustomFieldMapper.java │ │ │ │ ├── TestCustomHashMapConverter.java │ │ │ │ ├── TestDataFactory.java │ │ │ │ ├── ThrowExceptionCustomConverter.java │ │ │ │ └── UserBeanFactory.java │ │ │ ├── inject │ │ │ └── DozerBeanContainerTest.java │ │ │ ├── loader │ │ │ ├── CustomMappingsLoaderTest.java │ │ │ ├── MappingsBuilderTest.java │ │ │ ├── MappingsParserTest.java │ │ │ ├── api │ │ │ │ └── FieldsMappingOptionsTest.java │ │ │ └── xml │ │ │ │ ├── DozerResolverTest.java │ │ │ │ ├── MappingFileReaderTest.java │ │ │ │ ├── MappingStreamReaderTest.java │ │ │ │ ├── MappingStreamReader_WithExceptionsLoggedTest.java │ │ │ │ ├── SimpleElementReaderTest.java │ │ │ │ └── XMLParserTest.java │ │ │ ├── propertydescriptor │ │ │ ├── FieldPropertyDescriptorTest.java │ │ │ ├── GetterSetterPropertyDescriptorTest.java │ │ │ ├── GetterSetterPropertyDescriptorWithGenericSuperClassTest.java │ │ │ └── MapPropertyDescriptorTest.java │ │ │ ├── util │ │ │ ├── CollectionUtilsTest.java │ │ │ ├── DefaultProxyResolverTest.java │ │ │ ├── IteratorUtilsTest.java │ │ │ ├── MappingUtilsTest.java │ │ │ ├── MappingValidatorTest.java │ │ │ ├── ReflectionUtilsTest.java │ │ │ └── ResourceLoaderTest.java │ │ │ └── vo │ │ │ ├── A.java │ │ │ ├── Aliases.java │ │ │ ├── AnotherTestObject.java │ │ │ ├── AnotherTestObjectPrime.java │ │ │ ├── Apple.java │ │ │ ├── AppleComputer.java │ │ │ ├── ArrayCustConverterObj.java │ │ │ ├── ArrayCustConverterObjPrime.java │ │ │ ├── ArrayDest.java │ │ │ ├── ArraySource.java │ │ │ ├── B.java │ │ │ ├── BaseTestObject.java │ │ │ ├── Bus.java │ │ │ ├── C.java │ │ │ ├── CToStringConverter.java │ │ │ ├── Car.java │ │ │ ├── Child.java │ │ │ ├── CustomConverterWrapper.java │ │ │ ├── CustomConverterWrapperPrime.java │ │ │ ├── CustomDoubleObject.java │ │ │ ├── CustomDoubleObjectIF.java │ │ │ ├── CustomGetDest.java │ │ │ ├── CustomGetSource.java │ │ │ ├── D.java │ │ │ ├── DateContainer.java │ │ │ ├── DateObjectDest.java │ │ │ ├── DateObjectSource.java │ │ │ ├── DeepObject.java │ │ │ ├── DehydrateTestObject.java │ │ │ ├── DoubleObject.java │ │ │ ├── FieldValue.java │ │ │ ├── FlatIndividual.java │ │ │ ├── Fruit.java │ │ │ ├── FurtherTestObject.java │ │ │ ├── FurtherTestObjectPrime.java │ │ │ ├── HintedOnly.java │ │ │ ├── HydrateTestObject.java │ │ │ ├── HydrateTestObject2.java │ │ │ ├── HydrateTestObject3.java │ │ │ ├── HydrateTestObject4.java │ │ │ ├── HydrateTestObject5.java │ │ │ ├── Individual.java │ │ │ ├── Individuals.java │ │ │ ├── InsideTestObject.java │ │ │ ├── InsideTestObjectPrime.java │ │ │ ├── LoopObjectChild.java │ │ │ ├── LoopObjectChildPrime.java │ │ │ ├── LoopObjectParent.java │ │ │ ├── LoopObjectParentPrime.java │ │ │ ├── MessageHeaderDTO.java │ │ │ ├── MessageHeaderVO.java │ │ │ ├── MessageIdList.java │ │ │ ├── MessageIdVO.java │ │ │ ├── MetalThingyIF.java │ │ │ ├── MethodFieldTestObject.java │ │ │ ├── MethodFieldTestObject2.java │ │ │ ├── Moped.java │ │ │ ├── MyPrimitiveWrapper.java │ │ │ ├── NoCustomMappingsObject.java │ │ │ ├── NoCustomMappingsObjectPrime.java │ │ │ ├── NoDefaultConstructor.java │ │ │ ├── NoExtendBaseObject.java │ │ │ ├── NoExtendBaseObjectGlobalCopyByReference.java │ │ │ ├── NoReadMethod.java │ │ │ ├── NoReadMethodPrime.java │ │ │ ├── NoSuperClass.java │ │ │ ├── NoVoidSetters.java │ │ │ ├── NoWriteMethod.java │ │ │ ├── NoWriteMethodPrime.java │ │ │ ├── OneWayObject.java │ │ │ ├── OneWayObjectPrime.java │ │ │ ├── Orange.java │ │ │ ├── Person1.java │ │ │ ├── Person2.java │ │ │ ├── PersonName.java │ │ │ ├── PrimitiveArrayObj.java │ │ │ ├── PrimitiveArrayObjPrime.java │ │ │ ├── SimpleEnum.java │ │ │ ├── SimpleObj.java │ │ │ ├── SimpleObjPrime.java │ │ │ ├── SimpleObjPrime2.java │ │ │ ├── SubClass.java │ │ │ ├── SubClassPrime.java │ │ │ ├── SuperClass.java │ │ │ ├── SuperClassPrime.java │ │ │ ├── SuperSuperClass.java │ │ │ ├── SuperSuperClassPrime.java │ │ │ ├── SuperSuperSuperClass.java │ │ │ ├── SuperSuperSuperClassPrime.java │ │ │ ├── TestCustomConverterHashMapObject.java │ │ │ ├── TestCustomConverterHashMapPrimeObject.java │ │ │ ├── TestCustomConverterObject.java │ │ │ ├── TestCustomConverterObjectPrime.java │ │ │ ├── TestObject.java │ │ │ ├── TestObjectPrime.java │ │ │ ├── TestObjectPrime2.java │ │ │ ├── TestReferenceFoo.java │ │ │ ├── TestReferenceFooPrime.java │ │ │ ├── TestReferenceObject.java │ │ │ ├── TestReferencePrimeObject.java │ │ │ ├── TheFirstSubClass.java │ │ │ ├── TheFirstSubClassPrime.java │ │ │ ├── TheSecondSubClass.java │ │ │ ├── TheSecondSubClassPrime.java │ │ │ ├── TheSuperType.java │ │ │ ├── ValueObject.java │ │ │ ├── Van.java │ │ │ ├── Vehicle.java │ │ │ ├── WeirdGetter.java │ │ │ ├── WeirdGetter2.java │ │ │ ├── WeirdGetterPrime.java │ │ │ ├── WeirdGetterPrime2.java │ │ │ ├── abstractinheritance │ │ │ ├── A.java │ │ │ ├── AbstractA.java │ │ │ ├── AbstractACollectionContainer.java │ │ │ ├── AbstractAContainer.java │ │ │ ├── AbstractB.java │ │ │ ├── AbstractBCollectionContainer.java │ │ │ ├── AbstractBContainer.java │ │ │ ├── B.java │ │ │ └── C.java │ │ │ ├── allowedexceptions │ │ │ ├── TestException.java │ │ │ ├── ThrowException.java │ │ │ └── ThrowExceptionPrime.java │ │ │ ├── bidirectional │ │ │ ├── A.java │ │ │ └── B.java │ │ │ ├── collections │ │ │ ├── User.java │ │ │ ├── UserGroup.java │ │ │ ├── UserGroupImpl.java │ │ │ ├── UserGroupPrime.java │ │ │ ├── UserImpl.java │ │ │ └── UserPrime.java │ │ │ ├── context │ │ │ ├── ContextMapping.java │ │ │ ├── ContextMappingNested.java │ │ │ ├── ContextMappingNestedPrime.java │ │ │ └── ContextMappingPrime.java │ │ │ ├── copybyreference │ │ │ ├── Reference.java │ │ │ ├── ReferenceHolderA.java │ │ │ ├── ReferenceHolderB.java │ │ │ ├── ReferencedObject.java │ │ │ ├── TestA.java │ │ │ └── TestB.java │ │ │ ├── cumulative │ │ │ ├── Author.java │ │ │ ├── AuthorPrime.java │ │ │ ├── Book.java │ │ │ ├── BookPrime.java │ │ │ ├── Library.java │ │ │ └── LibraryPrime.java │ │ │ ├── deep │ │ │ ├── Address.java │ │ │ ├── City.java │ │ │ ├── Description.java │ │ │ ├── DestDeepObj.java │ │ │ ├── HomeDescription.java │ │ │ ├── House.java │ │ │ ├── Person.java │ │ │ ├── Room.java │ │ │ ├── SrcDeepObj.java │ │ │ ├── SrcNestedDeepObj.java │ │ │ └── SrcNestedDeepObj2.java │ │ │ ├── deep2 │ │ │ ├── Dest.java │ │ │ ├── NestedDest.java │ │ │ ├── NestedNestedDest.java │ │ │ └── Src.java │ │ │ ├── deep3 │ │ │ ├── AbstractDest.java │ │ │ ├── Dest.java │ │ │ ├── NestedDest.java │ │ │ └── NestedNestedDest.java │ │ │ ├── deepindex │ │ │ ├── A.java │ │ │ ├── B.java │ │ │ ├── C.java │ │ │ ├── Family.java │ │ │ ├── HeadOfHouseHold.java │ │ │ ├── HeadOfHouseHolds.java │ │ │ ├── HeadOfHouseHoldsContainer.java │ │ │ ├── PersonalDetails.java │ │ │ ├── Pet.java │ │ │ ├── customconverter │ │ │ │ ├── Conv.java │ │ │ │ ├── First.java │ │ │ │ ├── Fourth.java │ │ │ │ ├── Last.java │ │ │ │ ├── Second.java │ │ │ │ └── Third.java │ │ │ └── isaccessible │ │ │ │ ├── FlatPerson.java │ │ │ │ ├── Person.java │ │ │ │ └── Phone.java │ │ │ ├── direction │ │ │ ├── ContentItemGroup.java │ │ │ ├── ContentItemGroupBase.java │ │ │ ├── ContentItemGroupDTO.java │ │ │ ├── ContentItemGroupDefault.java │ │ │ ├── Entity.java │ │ │ ├── EntityBase.java │ │ │ └── EntityDTO.java │ │ │ ├── enumtest │ │ │ ├── DestType.java │ │ │ ├── DestTypeWithOverride.java │ │ │ ├── MyBean.java │ │ │ ├── MyBeanPrime.java │ │ │ ├── MyBeanPrimeByte.java │ │ │ ├── MyBeanPrimeInteger.java │ │ │ ├── MyBeanPrimeLong.java │ │ │ ├── MyBeanPrimeShort.java │ │ │ ├── MyBeanPrimeString.java │ │ │ ├── SrcType.java │ │ │ └── SrcTypeWithOverride.java │ │ │ ├── excluded │ │ │ ├── OneA.java │ │ │ ├── OneB.java │ │ │ ├── TwoA.java │ │ │ ├── TwoB.java │ │ │ ├── ZeroA.java │ │ │ └── ZeroB.java │ │ │ ├── generics │ │ │ ├── Entity.java │ │ │ ├── IntEntity.java │ │ │ ├── Status.java │ │ │ ├── StatusPrime.java │ │ │ ├── User.java │ │ │ ├── UserGroup.java │ │ │ ├── UserGroupPrime.java │ │ │ ├── UserPrime.java │ │ │ ├── deepindex │ │ │ │ ├── AnotherTestObject.java │ │ │ │ ├── DestDeepObj.java │ │ │ │ ├── Family.java │ │ │ │ ├── HeadOfHouseHold.java │ │ │ │ ├── PersonalDetails.java │ │ │ │ ├── Pet.java │ │ │ │ ├── SrcDeepObj.java │ │ │ │ ├── TestObject.java │ │ │ │ └── TestObjectPrime.java │ │ │ └── parameterized │ │ │ │ ├── A.java │ │ │ │ ├── AA.java │ │ │ │ ├── AbstractB.java │ │ │ │ ├── AbstractDto.java │ │ │ │ ├── B.java │ │ │ │ ├── C.java │ │ │ │ ├── Dto.java │ │ │ │ ├── GenericTestType.java │ │ │ │ ├── GenericType.java │ │ │ │ └── TestSimpleGenerics.java │ │ │ ├── iface │ │ │ ├── ApplicationUser.java │ │ │ ├── Subscriber.java │ │ │ ├── SubscriberIF.java │ │ │ ├── SubscriberKey.java │ │ │ └── UpdateMember.java │ │ │ ├── index │ │ │ ├── Mccoy.java │ │ │ └── MccoyPrime.java │ │ │ ├── inheritance │ │ │ ├── A.java │ │ │ ├── AnotherBaseClass.java │ │ │ ├── AnotherBaseClassPrime.java │ │ │ ├── AnotherSubClass.java │ │ │ ├── AnotherSubClassPrime.java │ │ │ ├── B.java │ │ │ ├── BaseClass.java │ │ │ ├── BaseSubClass.java │ │ │ ├── BaseSubClassCombined.java │ │ │ ├── BaseSubClassPrime.java │ │ │ ├── ChildChildIF.java │ │ │ ├── ChildIF.java │ │ │ ├── GenericAbstractSuper.java │ │ │ ├── GenericIF.java │ │ │ ├── Inner.java │ │ │ ├── IntermediateClass.java │ │ │ ├── Main.java │ │ │ ├── MainDto.java │ │ │ ├── Outer.java │ │ │ ├── ParentIF.java │ │ │ ├── S2Class.java │ │ │ ├── S2ClassPrime.java │ │ │ ├── SClass.java │ │ │ ├── SClassPrime.java │ │ │ ├── Specific1.java │ │ │ ├── Specific2.java │ │ │ ├── Specific3.java │ │ │ ├── SpecificObject.java │ │ │ ├── Sub.java │ │ │ ├── SubClass.java │ │ │ ├── SubDto.java │ │ │ ├── SubMarker.java │ │ │ ├── SubMarkerDto.java │ │ │ ├── SuperA.java │ │ │ ├── SuperB.java │ │ │ ├── SuperSpecificObject.java │ │ │ ├── Target.java │ │ │ ├── WrapperSpecific.java │ │ │ ├── WrapperSpecificPrime.java │ │ │ ├── cc │ │ │ │ ├── A.java │ │ │ │ ├── B.java │ │ │ │ ├── C.java │ │ │ │ ├── InheritanceBugConverter.java │ │ │ │ ├── X.java │ │ │ │ ├── Y.java │ │ │ │ └── Z.java │ │ │ ├── hints │ │ │ │ ├── Base.java │ │ │ │ ├── Base2.java │ │ │ │ ├── BaseA.java │ │ │ │ ├── BaseA2.java │ │ │ │ ├── BaseB.java │ │ │ │ ├── BaseB2.java │ │ │ │ ├── Source.java │ │ │ │ └── Target.java │ │ │ ├── iface │ │ │ │ ├── Person.java │ │ │ │ ├── PersonDTO.java │ │ │ │ ├── PersonImpl.java │ │ │ │ ├── PersonProfile.java │ │ │ │ └── PersonWithAddressDTO.java │ │ │ └── twolevel │ │ │ │ ├── A.java │ │ │ │ ├── B.java │ │ │ │ └── C.java │ │ │ ├── interfacerecursion │ │ │ ├── AnotherLevelTwo.java │ │ │ ├── AnotherLevelTwoImpl.java │ │ │ ├── Base.java │ │ │ ├── BaseImpl.java │ │ │ ├── LevelOne.java │ │ │ ├── LevelOneImpl.java │ │ │ ├── LevelTwo.java │ │ │ ├── LevelTwoImpl.java │ │ │ ├── User.java │ │ │ ├── UserGroup.java │ │ │ ├── UserGroupImpl.java │ │ │ ├── UserGroupPrime.java │ │ │ ├── UserGroupPrimeImpl.java │ │ │ ├── UserImpl.java │ │ │ ├── UserPrime.java │ │ │ ├── UserPrimeImpl.java │ │ │ └── UserSub.java │ │ │ ├── isaccessible │ │ │ ├── Foo.java │ │ │ ├── FooPrime.java │ │ │ ├── PrivateConstructorBean.java │ │ │ └── PrivateConstructorBeanPrime.java │ │ │ ├── km │ │ │ ├── Property.java │ │ │ ├── PropertyB.java │ │ │ ├── SomeVo.java │ │ │ ├── Sub.java │ │ │ └── Super.java │ │ │ ├── map │ │ │ ├── ChildDOM.java │ │ │ ├── CustomMap.java │ │ │ ├── CustomMapIF.java │ │ │ ├── GenericDOM.java │ │ │ ├── House.java │ │ │ ├── MapTestObject.java │ │ │ ├── MapTestObjectPrime.java │ │ │ ├── MapToMap.java │ │ │ ├── MapToMapPrime.java │ │ │ ├── MapToProperty.java │ │ │ ├── NestedObj.java │ │ │ ├── NestedObjPrime.java │ │ │ ├── ParentDOM.java │ │ │ ├── PropertyToMap.java │ │ │ ├── Room.java │ │ │ ├── SimpleObj.java │ │ │ └── SimpleObjPrime.java │ │ │ ├── mapid │ │ │ ├── AContainer.java │ │ │ ├── AListContainer.java │ │ │ ├── BContainer.java │ │ │ └── BContainer2.java │ │ │ ├── mapidsameinstance │ │ │ ├── One.java │ │ │ └── Two.java │ │ │ ├── mapperaware │ │ │ ├── MapperAwareSimpleDest.java │ │ │ ├── MapperAwareSimpleInternal.java │ │ │ └── MapperAwareSimpleSrc.java │ │ │ ├── metadata │ │ │ ├── ClassA.java │ │ │ ├── ClassB.java │ │ │ ├── ClassC.java │ │ │ └── ClassD.java │ │ │ ├── oneway │ │ │ ├── DestClass.java │ │ │ ├── Holder.java │ │ │ └── SourceClass.java │ │ │ ├── orphan │ │ │ ├── Child.java │ │ │ ├── ChildPrime.java │ │ │ ├── Parent.java │ │ │ └── ParentPrime.java │ │ │ ├── perf │ │ │ ├── MyClassA.java │ │ │ └── MyClassB.java │ │ │ ├── recursive │ │ │ ├── ClassA.java │ │ │ ├── ClassAA.java │ │ │ ├── ClassAAPrime.java │ │ │ ├── ClassAPrime.java │ │ │ ├── ClassB.java │ │ │ └── ClassBPrime.java │ │ │ ├── runtimesubclass │ │ │ ├── SpecialUserGroup.java │ │ │ ├── SpecialUserGroupPrime.java │ │ │ ├── User.java │ │ │ ├── UserGroup.java │ │ │ ├── UserGroupPrime.java │ │ │ └── UserPrime.java │ │ │ ├── self │ │ │ ├── Account.java │ │ │ ├── Address.java │ │ │ └── SimpleAccount.java │ │ │ └── set │ │ │ ├── NamesArray.java │ │ │ ├── NamesCollection.java │ │ │ ├── NamesList.java │ │ │ ├── NamesSet.java │ │ │ ├── NamesSortedSet.java │ │ │ ├── SomeDTO.java │ │ │ ├── SomeOtherDTO.java │ │ │ ├── SomeOtherVO.java │ │ │ └── SomeVO.java │ └── org │ │ └── mockito │ │ └── internal │ │ └── util │ │ └── reflection │ │ └── Whitebox.java │ └── resources │ ├── dozer.properties │ ├── dozer.yaml │ ├── jaxb │ └── Employee.xsd │ ├── log4j.properties │ ├── mappings │ ├── IndividualMapping.xml │ ├── abstractMapping.xml │ ├── abstractMapping2.xml │ ├── abstractMapping3.xml │ ├── allowedExceptionsMapping.xml │ ├── arrayMapping.xml │ ├── arrayToStringCustomConverter.xml │ ├── caseInsensitiveWildcardMappingClassLevel.xml │ ├── caseInsensitiveWildcardMappingGlobal.xml │ ├── classLevelIsAccessible.xml │ ├── collectionsWithNull.xml │ ├── contextMapping.xml │ ├── copyByReferenceCollectionTest.xml │ ├── copyByReferenceFieldLevelOneWay.xml │ ├── cumulative.xml │ ├── custom-converter-map-null.xml │ ├── customConverterMapperAware.xml │ ├── customGlobalConfigWithNullAndEmptyStringTest.xml │ ├── customfactorymapping.xml │ ├── dateFormat.xml │ ├── deepMappingUsingCustomGetSet.xml │ ├── deepMappingWithIndexAndIsAccessible.xml │ ├── deepMappingWithIndexedFields.xml │ ├── deepMappingWithIndexedFieldsByCustomConverter.xml │ ├── duplicateMapIdsMapping.xml │ ├── duplicateMapping.xml │ ├── enumMapping.xml │ ├── enumMappingOverriedEnumToBasedEnum.xml │ ├── excludedField.xml │ ├── fieldAttributeMapping.xml │ ├── fieldCustomConverter.xml │ ├── fieldCustomConverterParam.xml │ ├── fieldWithLineBreaks.xml │ ├── genericCollectionMapping.xml │ ├── global-configuration.xml │ ├── global-mapping.xml │ ├── grandparent.xml │ ├── immutable.xml │ ├── implicitAllowedExceptionsMapping.xml │ ├── indexMapping.xml │ ├── infiniteLoopMapping.xml │ ├── inheritanceBug.xml │ ├── inheritanceDirection.xml │ ├── inheritanceHints.xml │ ├── inheritanceMapping.xml │ ├── inheritanceMapping2.xml │ ├── inheritanceMapping3.xml │ ├── inheritanceMapping4.xml │ ├── inheritanceMappingMapBacked.xml │ ├── inheritanceTwoLevel.xml │ ├── interface-recursion-mappings.xml │ ├── interfaceMapping.xml │ ├── invalidmapping1.xml │ ├── invalidmapping3.xml │ ├── invalidmapping4.xml │ ├── isaccessiblemapping.xml │ ├── jaxbBeansMapping.xml │ ├── jsr330Mapping.xml │ ├── kmmapping.xml │ ├── knownFailures.xml │ ├── listMapping.xml │ ├── mapBackedDeepMapping.xml │ ├── mapGetSetMethodMapping.xml │ ├── mapIdWithHint.xml │ ├── mapInterfaceMapping.xml │ ├── mapMapping.xml │ ├── mapMapping2.xml │ ├── mapMapping3.xml │ ├── mapMapping4.xml │ ├── mapMapping5.xml │ ├── mapMapping6.xml │ ├── mapMapping7.xml │ ├── mapidsameinstance.xml │ ├── mapper-aware.xml │ ├── mapping-concrete.xml │ ├── mapping-interface.xml │ ├── mappingProcessorArrayTest.xml │ ├── metadataMapIdTest.xml │ ├── metadataTest.xml │ ├── missingSetter.xml │ ├── multipleHintsMapping.xml │ ├── nestedAccessible.xml │ ├── newCustomConverter.xml │ ├── nullFieldMapping.xml │ ├── nullMapping.xml │ ├── oneWayMapping.xml │ ├── oneway-minimal.xml │ ├── overridemapping.xml │ ├── primitiveArrayToListMapping.xml │ ├── recursivemappings.xml │ ├── recursivemappings2.xml │ ├── reference-mapping.xml │ ├── relationship-type-global-configuration.xml │ ├── relationshipTypeMapping.xml │ ├── removeOrphansMapping.xml │ ├── runtimeSubclass.xml │ ├── selfreference_recursive.xml │ ├── selfreference_recursive_iterate.xml │ ├── setMappingWithUpperCaseFieldName.xml │ ├── simpleCustomConverter.xml │ ├── superInterfaceMapping.xml │ ├── testDozerBeanMapping.xml │ ├── topLevelMapping.xml │ ├── trimStringsMapping.xml │ ├── untypedCollection.xml │ ├── variables.xml │ └── withHttpsXsdLocation.xml │ ├── mockito-extensions │ └── org.mockito.plugins.MockMaker │ └── non-strict │ ├── classloader.xml │ ├── invalidmapping2.xml │ ├── invalidmapping5.xml │ └── v5-xsd.xml ├── docs ├── asciidoc │ ├── README.adoc │ ├── SUMMARY.adoc │ ├── about │ │ └── about.adoc │ ├── book.json │ ├── documentation │ │ ├── advancedproperty.adoc │ │ ├── annotations.adoc │ │ ├── apiConfiguration.adoc │ │ ├── apimappings.adoc │ │ ├── baseattributes.adoc │ │ ├── collectionandarraymapping.adoc │ │ ├── configuration │ │ │ ├── configuration.adoc │ │ │ └── logging.adoc │ │ ├── contextmapping.adoc │ │ ├── copybyreference.adoc │ │ ├── customCreateMethod.adoc │ │ ├── custombeanfactories.adoc │ │ ├── customconverter.adoc │ │ ├── custommethods.adoc │ │ ├── deepmapping.adoc │ │ ├── eclipse-plugin │ │ │ ├── installation.adoc │ │ │ ├── usage-editor.adoc │ │ │ ├── usage-xml.adoc │ │ │ └── usage.adoc │ │ ├── enum.adoc │ │ ├── events.adoc │ │ ├── examples.adoc │ │ ├── exclude.adoc │ │ ├── expressionlanguage.adoc │ │ ├── faq.adoc │ │ ├── gettingstarted.adoc │ │ ├── immutable.adoc │ │ ├── indexmapping.adoc │ │ ├── jaxb.adoc │ │ ├── mapbackedproperty.adoc │ │ ├── mappingclasses.adoc │ │ ├── mappings.adoc │ │ ├── metadata.adoc │ │ ├── oneway.adoc │ │ ├── proxyhandling.adoc │ │ ├── simpleproperty.adoc │ │ ├── springBootIntegration.adoc │ │ ├── springintegration.adoc │ │ ├── stringtodatemapping.adoc │ │ ├── usage.adoc │ │ ├── whymap.adoc │ │ └── xmlConfiguration.adoc │ ├── howtorelease.adoc │ ├── images │ │ ├── accessories-text-editor.png │ │ ├── add.gif │ │ ├── apache-maven-project-2.png │ │ ├── application-certificate.png │ │ ├── architecture.gif │ │ ├── architecture.jpg │ │ ├── close.gif │ │ ├── collapsed.gif │ │ ├── contact-new.png │ │ ├── document-properties.png │ │ ├── dozer.jpeg │ │ ├── dozer.png │ │ ├── drive-harddisk.png │ │ ├── eclipse-dozerfile.gif │ │ ├── eclipse-globalconfigtab.gif │ │ ├── eclipse-mappingtab.gif │ │ ├── eclipse-sourcetab.gif │ │ ├── eclipse-validation.gif │ │ ├── eclipse-xmlassist.gif │ │ ├── eclipse-xmlassist2.gif │ │ ├── expanded.gif │ │ ├── fix.gif │ │ ├── icon_error_sml.gif │ │ ├── icon_help_sml.gif │ │ ├── icon_info_sml.gif │ │ ├── icon_success_sml.gif │ │ ├── icon_warning_sml.gif │ │ ├── image-x-generic.png │ │ ├── internet-web-browser.png │ │ ├── javanet_button_90.gif │ │ ├── jmx1.gif │ │ ├── jmx1.png │ │ ├── jmx2.gif │ │ ├── jmx2.png │ │ ├── logos │ │ │ ├── build-by-maven-black.png │ │ │ ├── build-by-maven-white.png │ │ │ └── maven-feather.png │ │ ├── network-server.png │ │ ├── package-x-generic.png │ │ ├── profiles │ │ │ ├── pre-release.png │ │ │ ├── retired.png │ │ │ └── sandbox.png │ │ ├── remove.gif │ │ ├── rss.png │ │ ├── scenario1.jpg │ │ ├── scenario2.jpg │ │ ├── scenario3.jpg │ │ ├── scenario4.jpg │ │ ├── update.gif │ │ └── window-new.png │ ├── img │ │ ├── glyphicons-halflings-white.png │ │ └── glyphicons-halflings.png │ └── migration │ │ ├── v5-to-v6.adoc │ │ ├── v6-to-v61.adoc │ │ ├── v6-to-v7.adoc │ │ ├── v61-to-v62.adoc │ │ ├── v62-to-v63.adoc │ │ ├── v63-to-v64.adoc │ │ └── v64-to-v65.adoc ├── build-gitbook.sh ├── load-localy-gitbook.sh └── release.sh ├── dozer-integrations ├── dozer-spring-support │ ├── dozer-spring-boot-autoconfigure │ │ ├── pom.xml │ │ └── src │ │ │ ├── main │ │ │ ├── java │ │ │ │ └── com │ │ │ │ │ └── github │ │ │ │ │ └── dozermapper │ │ │ │ │ └── springboot │ │ │ │ │ └── autoconfigure │ │ │ │ │ ├── DozerAutoConfiguration.java │ │ │ │ │ ├── DozerProperties.java │ │ │ │ │ └── package-info.java │ │ │ └── resources │ │ │ │ └── META-INF │ │ │ │ ├── LICENSE │ │ │ │ └── spring.factories │ │ │ └── test │ │ │ ├── java │ │ │ └── com │ │ │ │ └── github │ │ │ │ └── dozermaper │ │ │ │ └── springboot │ │ │ │ └── autoconfigure │ │ │ │ ├── DozerAutoConfigurationTests.java │ │ │ │ └── vo │ │ │ │ ├── Dest.java │ │ │ │ └── Source.java │ │ │ └── resources │ │ │ ├── application.properties │ │ │ ├── log4j.properties │ │ │ └── sample_mapping │ │ │ └── sample_mapping.xml │ ├── dozer-spring-boot-starter │ │ └── pom.xml │ ├── dozer-spring4 │ │ ├── pom.xml │ │ └── src │ │ │ ├── main │ │ │ ├── java │ │ │ │ └── com │ │ │ │ │ └── github │ │ │ │ │ └── dozermapper │ │ │ │ │ └── spring │ │ │ │ │ ├── DozerBeanMapperBuilderCustomizer.java │ │ │ │ │ ├── DozerBeanMapperFactoryBean.java │ │ │ │ │ ├── DozerNamespaceHandler.java │ │ │ │ │ ├── MapperDefinitionParser.java │ │ │ │ │ └── package-info.java │ │ │ └── resources │ │ │ │ ├── META-INF │ │ │ │ ├── LICENSE │ │ │ │ ├── spring.handlers │ │ │ │ └── spring.schemas │ │ │ │ └── schema │ │ │ │ ├── dozer-spring-6.0.0.xsd │ │ │ │ └── dozer-spring.xsd │ │ │ └── test │ │ │ ├── java │ │ │ └── com │ │ │ │ └── github │ │ │ │ └── dozermapper │ │ │ │ └── spring │ │ │ │ ├── DozerBeanMapperFactoryBeanTest.java │ │ │ │ ├── functional_tests │ │ │ │ ├── NamespaceTest.java │ │ │ │ ├── SchemaLocationTest.java │ │ │ │ ├── SpringIntegrationTest.java │ │ │ │ └── support │ │ │ │ │ ├── EventTestListener.java │ │ │ │ │ ├── InjectedCustomConverter.java │ │ │ │ │ ├── MyBeanMapperBuilderCustomizer.java │ │ │ │ │ ├── ReferencingBean.java │ │ │ │ │ ├── SampleBeanMappingBuilder.java │ │ │ │ │ └── SampleCustomBeanFactory.java │ │ │ │ └── vo │ │ │ │ ├── Destination.java │ │ │ │ └── Source.java │ │ │ └── resources │ │ │ ├── applicationContext.xml │ │ │ ├── builder-customizer.xml │ │ │ ├── mappings │ │ │ └── mappingSpring.xml │ │ │ ├── spring-bean-factory.xml │ │ │ ├── spring-bean-mapping-builder.xml │ │ │ ├── spring-custom-converter.xml │ │ │ ├── spring-event-listener.xml │ │ │ └── springNameSpace.xml │ └── pom.xml └── pom.xml ├── plugins-parent └── pom.xml ├── pom.xml └── renovate.json /.github/ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | ## Are you in the right place? 2 | * For issues or feature requests related to the code **in this repository** file a Github issue. 3 | * For general technical questions, post a question on [Google Groups](https://groups.google.com/forum/?fromgroups=#!forum/dozer-mapper). 4 | 5 | ## Whats your runtime? 6 | * Dozer version: _____ 7 | * OS version: _____ 8 | * JDK version: _____ 9 | 10 | ## Whats the problem? 11 | _Steps to reproduce:_ 12 | 1. _____ 13 | 2. _____ 14 | 3. _____ 15 | 16 | ### Observed Results: 17 | _What happened? This could be a description, log output, etc._ 18 | 19 | ### Expected Results: 20 | _What did you expect to happen?_ 21 | 22 | ## Link to GitHub repo with Unit test 23 | _The easiest way for us to fix issues, is if you provide a GitHub repo, using the latest release and a simple unit test._ 24 | 25 | -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | ## Issue link 2 | _All PRs **MUST** have a corresponding issue linked and issue number in PR name. i.e.:_ 3 | 4 | [ISSUE: 101] My First PR 5 | 6 | ## Purpose 7 | _Describe the problem or feature_ 8 | 9 | ## Approach 10 | _How does this change address the problem?_ 11 | 12 | ## Open Questions and Pre-Merge TODOs 13 | - [ ] Issue created 14 | - [ ] Unit tests pass 15 | - [ ] Documentation updated 16 | - [ ] Travis build passed 17 | -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- 1 | name: Publish package to GitHub Packages 2 | on: 3 | release: 4 | types: [created] 5 | 6 | # Declare default permissions as read only. 7 | permissions: read-all 8 | 9 | jobs: 10 | publish: 11 | runs-on: ubuntu-latest 12 | permissions: 13 | contents: read 14 | packages: write 15 | 16 | steps: 17 | - name: Checkout 18 | uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 19 | 20 | - uses: actions/setup-java@9704b39bf258b59bc04b50fa2dd55e9ed76b47a8 # v4 21 | with: 22 | distribution: "temurin" 23 | java-version: 11 24 | 25 | - name: Publish package 26 | run: | 27 | mvn clean install -DskipTests --batch-mode 28 | mvn --batch-mode -Prelease-github deploy -Ddeploying=true -DskipTests --settings .github/deploy-settings.xml 29 | env: 30 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Eclipse # 2 | ########### 3 | .classpath 4 | .project 5 | .settings 6 | */bin 7 | 8 | # Maven # 9 | ######### 10 | target 11 | release.properties 12 | *.releaseBackup 13 | *.versionsBackup 14 | 15 | # IntelliJ IDEA # 16 | ################# 17 | .idea 18 | *.iml 19 | *.ipr 20 | *.iws 21 | 22 | # OS X # 23 | ######## 24 | .DS_Store 25 | 26 | deploy-ossrh.sh 27 | -------------------------------------------------------------------------------- /building-tools/src/main/resources/LICENSE-HEADER.txt: -------------------------------------------------------------------------------- 1 | Copyright 2005-2024 Dozer Project 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | -------------------------------------------------------------------------------- /core/src/main/java/com/github/dozermapper/core/BeanBuilder.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core; 17 | 18 | public interface BeanBuilder { 19 | 20 | Class beanClass(); 21 | 22 | Object build(); 23 | } 24 | -------------------------------------------------------------------------------- /core/src/main/java/com/github/dozermapper/core/BeanGeneralCreationStrategy.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core; 17 | 18 | import com.github.dozermapper.core.factory.BeanCreationDirective; 19 | 20 | public interface BeanGeneralCreationStrategy { 21 | 22 | boolean isApplicable(BeanCreationDirective directive); 23 | 24 | T create(BeanCreationDirective directive); 25 | } 26 | -------------------------------------------------------------------------------- /core/src/main/java/com/github/dozermapper/core/MapperAware.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core; 17 | 18 | /** 19 | * Interface that gives an ability to receive mapper instance inside {@link com.github.dozermapper.core.CustomConverter}. 20 | * Dozer will inject mapper object before executing custom converter logic. 21 | */ 22 | public interface MapperAware { 23 | 24 | void setMapper(Mapper mapper); 25 | 26 | } 27 | -------------------------------------------------------------------------------- /core/src/main/java/com/github/dozermapper/core/builder/BeanBuilderCreationStrategy.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.builder; 17 | 18 | import com.github.dozermapper.core.BeanBuilder; 19 | import com.github.dozermapper.core.BeanGeneralCreationStrategy; 20 | 21 | public interface BeanBuilderCreationStrategy extends BeanGeneralCreationStrategy { 22 | } 23 | -------------------------------------------------------------------------------- /core/src/main/java/com/github/dozermapper/core/builder/fluent/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | /** 17 | * Build mappings via Java Fluent API 18 | */ 19 | package com.github.dozermapper.core.builder.fluent; 20 | -------------------------------------------------------------------------------- /core/src/main/java/com/github/dozermapper/core/builder/model/elengine/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | /** 17 | * {@link com.github.dozermapper.core.el.ELEngine} extension to JAXB model 18 | */ 19 | package com.github.dozermapper.core.builder.model.elengine; 20 | -------------------------------------------------------------------------------- /core/src/main/java/com/github/dozermapper/core/builder/model/jaxb/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | /** 17 | * JAXB model that describes the mapping definitions 18 | */ 19 | @jakarta.xml.bind.annotation.XmlSchema(namespace = "http://dozermapper.github.io/schema/bean-mapping", elementFormDefault = jakarta.xml.bind.annotation.XmlNsForm.QUALIFIED) 20 | package com.github.dozermapper.core.builder.model.jaxb; 21 | -------------------------------------------------------------------------------- /core/src/main/java/com/github/dozermapper/core/builder/model/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | /** 17 | * Models that describes the mapping definitions 18 | */ 19 | package com.github.dozermapper.core.builder.model; 20 | -------------------------------------------------------------------------------- /core/src/main/java/com/github/dozermapper/core/builder/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | /** 17 | * Build mappings via different API extensions 18 | */ 19 | package com.github.dozermapper.core.builder; 20 | -------------------------------------------------------------------------------- /core/src/main/java/com/github/dozermapper/core/builder/xml/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | /** 17 | * Build mappings via XML 18 | */ 19 | package com.github.dozermapper.core.builder.xml; 20 | -------------------------------------------------------------------------------- /core/src/main/java/com/github/dozermapper/core/cache/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | /** 17 | * Caching for dozer objects 18 | */ 19 | package com.github.dozermapper.core.cache; 20 | -------------------------------------------------------------------------------- /core/src/main/java/com/github/dozermapper/core/classmap/generator/BeanFieldsDetector.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.classmap.generator; 17 | 18 | import java.util.Set; 19 | 20 | public interface BeanFieldsDetector { 21 | 22 | boolean accepts(Class clazz); 23 | 24 | Set getReadableFieldNames(Class clazz); 25 | 26 | Set getWritableFieldNames(Class clazz); 27 | } 28 | -------------------------------------------------------------------------------- /core/src/main/java/com/github/dozermapper/core/classmap/generator/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | /** 17 | * Generators to resolve the different types and their fields 18 | */ 19 | package com.github.dozermapper.core.classmap.generator; 20 | -------------------------------------------------------------------------------- /core/src/main/java/com/github/dozermapper/core/classmap/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | /** 17 | * Mapping definition used internally for classes 18 | */ 19 | package com.github.dozermapper.core.classmap; 20 | -------------------------------------------------------------------------------- /core/src/main/java/com/github/dozermapper/core/config/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | /** 17 | * Configuration settings for 18 | */ 19 | package com.github.dozermapper.core.config; 20 | -------------------------------------------------------------------------------- /core/src/main/java/com/github/dozermapper/core/config/processors/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | /** 17 | * Processes values retrieved by resolvers 18 | */ 19 | package com.github.dozermapper.core.config.processors; 20 | -------------------------------------------------------------------------------- /core/src/main/java/com/github/dozermapper/core/config/resolvers/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | /** 17 | * Resolves values defined in a resource, such as .properties file 18 | */ 19 | package com.github.dozermapper.core.config.resolvers; 20 | -------------------------------------------------------------------------------- /core/src/main/java/com/github/dozermapper/core/converters/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | /** 17 | * Convertor extensions based on {@link org.apache.commons.beanutils.Converter} 18 | */ 19 | package com.github.dozermapper.core.converters; 20 | -------------------------------------------------------------------------------- /core/src/main/java/com/github/dozermapper/core/el/contexts/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | /** 17 | * Default {@link jakarta.el.ELContext} implementations 18 | */ 19 | package com.github.dozermapper.core.el.contexts; 20 | -------------------------------------------------------------------------------- /core/src/main/java/com/github/dozermapper/core/el/mappers/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | /** 17 | * EL Mapper extensions for {@link jakarta.el.FunctionMapper} and {@link jakarta.el.VariableMapper} 18 | */ 19 | package com.github.dozermapper.core.el.mappers; 20 | -------------------------------------------------------------------------------- /core/src/main/java/com/github/dozermapper/core/el/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | /** 17 | * Extensions for {@link jakarta.el} 18 | */ 19 | package com.github.dozermapper.core.el; 20 | -------------------------------------------------------------------------------- /core/src/main/java/com/github/dozermapper/core/events/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | /** 17 | * Event management fired internally by the mapper which can be listened to and acted upon 18 | */ 19 | package com.github.dozermapper.core.events; 20 | -------------------------------------------------------------------------------- /core/src/main/java/com/github/dozermapper/core/factory/BeanCreationStrategy.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.factory; 17 | 18 | import com.github.dozermapper.core.BeanGeneralCreationStrategy; 19 | 20 | public interface BeanCreationStrategy extends BeanGeneralCreationStrategy { 21 | } 22 | -------------------------------------------------------------------------------- /core/src/main/java/com/github/dozermapper/core/factory/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | /** 17 | * Factory methods used by the mapper to create objects 18 | */ 19 | package com.github.dozermapper.core.factory; 20 | -------------------------------------------------------------------------------- /core/src/main/java/com/github/dozermapper/core/fieldmap/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | /** 17 | * Mapping definition used internally for fields 18 | */ 19 | package com.github.dozermapper.core.fieldmap; 20 | -------------------------------------------------------------------------------- /core/src/main/java/com/github/dozermapper/core/inject/BeanRegistry.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.inject; 17 | 18 | import java.util.Collection; 19 | 20 | public interface BeanRegistry { 21 | 22 | void register(Class type); 23 | 24 | T getBean(Class type); 25 | 26 | Collection getBeans(Class type); 27 | 28 | } 29 | -------------------------------------------------------------------------------- /core/src/main/java/com/github/dozermapper/core/inject/Inject.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.inject; 17 | 18 | import java.lang.annotation.ElementType; 19 | import java.lang.annotation.Retention; 20 | import java.lang.annotation.RetentionPolicy; 21 | import java.lang.annotation.Target; 22 | 23 | @Target(value = ElementType.FIELD) 24 | @Retention(value = RetentionPolicy.RUNTIME) 25 | public @interface Inject { 26 | } 27 | -------------------------------------------------------------------------------- /core/src/main/java/com/github/dozermapper/core/inject/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | /** 17 | * Extension for injection 18 | */ 19 | package com.github.dozermapper.core.inject; 20 | -------------------------------------------------------------------------------- /core/src/main/java/com/github/dozermapper/core/loader/api/FieldsMappingOption.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.loader.api; 17 | 18 | import com.github.dozermapper.core.loader.DozerBuilder; 19 | 20 | public interface FieldsMappingOption { 21 | 22 | void apply(DozerBuilder.FieldMappingBuilder fieldMappingBuilder); 23 | } 24 | -------------------------------------------------------------------------------- /core/src/main/java/com/github/dozermapper/core/loader/api/TypeMappingOption.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.loader.api; 17 | 18 | import com.github.dozermapper.core.loader.DozerBuilder; 19 | 20 | public interface TypeMappingOption { 21 | 22 | void apply(DozerBuilder.MappingBuilder fieldMappingBuilder); 23 | } 24 | -------------------------------------------------------------------------------- /core/src/main/java/com/github/dozermapper/core/loader/api/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | /** 17 | * Mapping via API 18 | */ 19 | package com.github.dozermapper.core.loader.api; 20 | -------------------------------------------------------------------------------- /core/src/main/java/com/github/dozermapper/core/loader/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | /** 17 | * Mapping definition loader 18 | */ 19 | package com.github.dozermapper.core.loader; 20 | -------------------------------------------------------------------------------- /core/src/main/java/com/github/dozermapper/core/loader/xml/ElementReader.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.loader.xml; 17 | 18 | import org.w3c.dom.Element; 19 | 20 | @Deprecated 21 | public interface ElementReader { 22 | 23 | String getAttribute(Element element, String attribute); 24 | 25 | String getNodeValue(Element element); 26 | 27 | } 28 | -------------------------------------------------------------------------------- /core/src/main/java/com/github/dozermapper/core/loader/xml/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | /** 17 | * Mapping via XML 18 | */ 19 | @Deprecated 20 | package com.github.dozermapper.core.loader.xml; 21 | -------------------------------------------------------------------------------- /core/src/main/java/com/github/dozermapper/core/metadata/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | /** 17 | * Metadata to query the mapping definition 18 | */ 19 | package com.github.dozermapper.core.metadata; 20 | -------------------------------------------------------------------------------- /core/src/main/java/com/github/dozermapper/core/osgi/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | /** 17 | * Extensions to enable dozer to run on an OSGi framework 18 | */ 19 | package com.github.dozermapper.core.osgi; 20 | -------------------------------------------------------------------------------- /core/src/main/java/com/github/dozermapper/core/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | /** 17 | * Core mapping API 18 | */ 19 | package com.github.dozermapper.core; 20 | -------------------------------------------------------------------------------- /core/src/main/java/com/github/dozermapper/core/propertydescriptor/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | /** 17 | * {@link com.github.dozermapper.core.propertydescriptor.DozerPropertyDescriptor} strategies used to map objects 18 | */ 19 | package com.github.dozermapper.core.propertydescriptor; 20 | -------------------------------------------------------------------------------- /core/src/main/java/com/github/dozermapper/core/util/JavassistProxyResolver.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.util; 17 | 18 | import javassist.util.proxy.ProxyFactory; 19 | 20 | public class JavassistProxyResolver extends DefaultProxyResolver { 21 | 22 | @Override 23 | public boolean isProxy(Class clazz) { 24 | return ProxyFactory.isProxyClass(clazz); 25 | } 26 | 27 | } 28 | -------------------------------------------------------------------------------- /core/src/main/java/com/github/dozermapper/core/util/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | /** 17 | * Utility methods used by the mapper 18 | */ 19 | package com.github.dozermapper.core.util; 20 | -------------------------------------------------------------------------------- /core/src/main/resources/version.adoc: -------------------------------------------------------------------------------- 1 | ${project.version} 2 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/el/NoopELEngineTest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.el; 17 | 18 | import org.junit.Test; 19 | 20 | import static org.junit.Assert.assertEquals; 21 | 22 | public class NoopELEngineTest { 23 | 24 | @Test 25 | public void canResolve() { 26 | ELEngine elEngine = new NoopELEngine(); 27 | assertEquals("same", elEngine.resolve("same")); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/functional_tests/GlobalReferenceTest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.functional_tests; 17 | 18 | public class GlobalReferenceTest extends SubclassReferenceTest { 19 | 20 | @Override 21 | protected String getMappingFile() { 22 | return "mappings/global-mapping.xml"; 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/functional_tests/model/AbstractDto.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.functional_tests.model; 17 | 18 | public abstract class AbstractDto { 19 | 20 | private String id; 21 | 22 | public String getId() { 23 | return id; 24 | } 25 | 26 | public void setId(String id) { 27 | this.id = id; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/functional_tests/model/AbstractEntity.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.functional_tests.model; 17 | 18 | public abstract class AbstractEntity { 19 | 20 | private String id; 21 | 22 | public String getId() { 23 | return id; 24 | } 25 | 26 | public void setId(String id) { 27 | this.id = id; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/loader/xml/MappingFileReaderTest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.loader.xml; 17 | 18 | import org.junit.Before; 19 | import org.junit.Test; 20 | 21 | public class MappingFileReaderTest { 22 | 23 | @Before 24 | public void setUp() throws Exception { 25 | 26 | } 27 | 28 | @Test 29 | public void testRead() { 30 | 31 | } 32 | 33 | } 34 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/A.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo; 17 | 18 | public class A { 19 | private B b; 20 | 21 | public B getB() { 22 | return b; 23 | } 24 | 25 | public void setB(B b) { 26 | this.b = b; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/Aliases.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo; 17 | 18 | public class Aliases { 19 | 20 | private String[] otherAliases; 21 | 22 | public String[] getOtherAliases() { 23 | return otherAliases; 24 | } 25 | 26 | public void setOtherAliases(String[] otherAliases) { 27 | this.otherAliases = otherAliases; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/Apple.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo; 17 | 18 | public class Apple extends Fruit { 19 | 20 | } 21 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/AppleComputer.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo; 17 | 18 | public class AppleComputer extends BaseTestObject { 19 | private String name; 20 | 21 | public String getName() { 22 | return name; 23 | } 24 | 25 | public void setName(String name) { 26 | this.name = name; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/ArrayCustConverterObj.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo; 17 | 18 | public class ArrayCustConverterObj extends BaseTestObject { 19 | 20 | private SimpleObj[] field1; 21 | 22 | public SimpleObj[] getField1() { 23 | return field1; 24 | } 25 | 26 | public void setField1(SimpleObj[] field1) { 27 | this.field1 = field1; 28 | } 29 | 30 | } 31 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/B.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo; 17 | 18 | public class B { 19 | private C[] cs; 20 | 21 | public C[] getCs() { 22 | return cs; 23 | } 24 | 25 | public void setCs(C[] c) { 26 | this.cs = c; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/Bus.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo; 17 | 18 | public class Bus extends Vehicle { 19 | 20 | } 21 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/C.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo; 17 | 18 | public class C { 19 | private String value; 20 | 21 | public String getValue() { 22 | return value; 23 | } 24 | 25 | public void setValue(String value) { 26 | this.value = value; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/Car.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo; 17 | 18 | public class Car extends Vehicle implements MetalThingyIF { 19 | 20 | } 21 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/CustomDoubleObjectIF.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo; 17 | 18 | public interface CustomDoubleObjectIF { 19 | 20 | double getTheDouble(); 21 | 22 | void setTheDouble(double theDouble); 23 | 24 | String getName(); 25 | 26 | void setName(String name); 27 | } 28 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/CustomGetDest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo; 17 | 18 | /** 19 | * Test object for indexed property 20 | */ 21 | public class CustomGetDest { 22 | 23 | public String value; 24 | 25 | public String getValue() { 26 | return value; 27 | } 28 | 29 | public void setValue(String value) { 30 | this.value = value; 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/D.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo; 17 | 18 | public class D { 19 | private String value; 20 | 21 | public String getValue() { 22 | return value; 23 | } 24 | 25 | public void setValue(String d) { 26 | this.value = d; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/Fruit.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo; 17 | 18 | public class Fruit extends BaseTestObject { 19 | private String name; 20 | 21 | public String getName() { 22 | return name; 23 | } 24 | 25 | public void setName(String name) { 26 | this.name = name; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/HintedOnly.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo; 17 | 18 | public class HintedOnly extends BaseTestObject { 19 | private String str; 20 | 21 | public String getStr() { 22 | return this.str; 23 | } 24 | 25 | public void setStr(String str) { 26 | this.str = str; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/Individual.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo; 17 | 18 | public class Individual { 19 | 20 | private String username; 21 | 22 | public String getUsername() { 23 | return username; 24 | } 25 | 26 | public void setUsername(String username) { 27 | this.username = username; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/MessageHeaderDTO.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo; 17 | 18 | public class MessageHeaderDTO { 19 | 20 | private MessageIdList idList; 21 | 22 | public MessageIdList getIdList() { 23 | return idList; 24 | } 25 | 26 | public void setIdList(MessageIdList idList) { 27 | this.idList = idList; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/MessageHeaderVO.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo; 17 | 18 | import java.util.List; 19 | 20 | public class MessageHeaderVO { 21 | private List msgIds; 22 | 23 | public List getMsgIds() { 24 | return msgIds; 25 | } 26 | 27 | public void setMsgIds(List msgIds) { 28 | this.msgIds = msgIds; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/MessageIdList.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo; 17 | 18 | public class MessageIdList { 19 | private String[] msgIdsArray; 20 | 21 | public String[] getMsgIdsArray() { 22 | return msgIdsArray; 23 | } 24 | 25 | public void setMsgIdsArray(String[] msgIdsArray) { 26 | this.msgIdsArray = msgIdsArray; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/MetalThingyIF.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo; 17 | 18 | public interface MetalThingyIF { 19 | 20 | String getName(); 21 | 22 | void setName(String name); 23 | } 24 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/Moped.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo; 17 | 18 | public class Moped extends Vehicle { 19 | 20 | } 21 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/NoDefaultConstructor.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo; 17 | 18 | public class NoDefaultConstructor extends BaseTestObject { 19 | 20 | public NoDefaultConstructor(String name) { 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/NoExtendBaseObject.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo; 17 | 18 | public class NoExtendBaseObject extends BaseTestObject { 19 | 20 | } 21 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/NoExtendBaseObjectGlobalCopyByReference.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo; 17 | 18 | public class NoExtendBaseObjectGlobalCopyByReference extends BaseTestObject { 19 | 20 | } 21 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/NoReadMethodPrime.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo; 17 | 18 | public class NoReadMethodPrime extends BaseTestObject { 19 | private String noReadMethod; 20 | 21 | public void setNoReadMethod(String noReadMethod) { 22 | this.noReadMethod = noReadMethod; 23 | } 24 | 25 | public String getXXXXX() { 26 | return this.noReadMethod; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/NoWriteMethod.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo; 17 | 18 | public class NoWriteMethod extends BaseTestObject { 19 | private String noWriteMethod; 20 | 21 | public String getNoWriteMethod() { 22 | return noWriteMethod; 23 | } 24 | 25 | public void setXXXXXX(String x) { 26 | this.noWriteMethod = x; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/NoWriteMethodPrime.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo; 17 | 18 | public class NoWriteMethodPrime extends BaseTestObject { 19 | private String noWriteMethod; 20 | 21 | public String getNoWriteMethod() { 22 | return noWriteMethod; 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/Orange.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo; 17 | 18 | public class Orange extends Fruit { 19 | 20 | } 21 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/PersonName.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo; 17 | 18 | public class PersonName { 19 | 20 | private String familyName; 21 | 22 | public String getFamilyName() { 23 | return familyName; 24 | } 25 | 26 | public void setFamilyName(String familyName) { 27 | this.familyName = familyName; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/PrimitiveArrayObj.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo; 17 | 18 | public class PrimitiveArrayObj extends BaseTestObject { 19 | private int[] field1; 20 | 21 | public int[] getField1() { 22 | return field1; 23 | } 24 | 25 | public void setField1(int[] field1) { 26 | this.field1 = field1; 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/PrimitiveArrayObjPrime.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo; 17 | 18 | import java.util.List; 19 | 20 | public class PrimitiveArrayObjPrime extends BaseTestObject { 21 | private List field1; 22 | 23 | public List getField1() { 24 | return field1; 25 | } 26 | 27 | public void setField1(List field1) { 28 | this.field1 = field1; 29 | } 30 | 31 | } 32 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/SubClass.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo; 17 | 18 | public class SubClass extends SuperClass { 19 | private String attribute; 20 | 21 | public String getAttribute() { 22 | return attribute; 23 | } 24 | 25 | public void setAttribute(String attribute) { 26 | this.attribute = attribute; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/SubClassPrime.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo; 17 | 18 | public class SubClassPrime extends SuperClassPrime { 19 | private String attributePrime; 20 | 21 | public String getAttributePrime() { 22 | return attributePrime; 23 | } 24 | 25 | public void setAttributePrime(String attribute) { 26 | this.attributePrime = attribute; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/Van.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo; 17 | 18 | public class Van extends Vehicle implements MetalThingyIF { 19 | private String testValue; 20 | 21 | public String getTestValue() { 22 | return testValue; 23 | } 24 | 25 | public void setTestValue(String testValue) { 26 | this.testValue = testValue; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/Vehicle.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo; 17 | 18 | public class Vehicle extends BaseTestObject { 19 | private String name; 20 | 21 | public String getName() { 22 | return name; 23 | } 24 | 25 | public void setName(String name) { 26 | this.name = name; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/WeirdGetter2.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo; 17 | 18 | public class WeirdGetter2 extends BaseTestObject { 19 | private String value; 20 | 21 | public WeirdGetter2() { 22 | } 23 | 24 | public String getValue() { 25 | return value; 26 | } 27 | 28 | public void setValue(String value) { 29 | this.value = value; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/abstractinheritance/C.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.abstractinheritance; 17 | 18 | import com.github.dozermapper.core.vo.BaseTestObject; 19 | 20 | public class C extends BaseTestObject { 21 | 22 | } 23 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/allowedexceptions/TestException.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.allowedexceptions; 17 | 18 | public class TestException extends RuntimeException { 19 | public TestException() { 20 | } 21 | 22 | public TestException(String msg) { 23 | super(msg); 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/bidirectional/A.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.bidirectional; 17 | 18 | public class A { 19 | private B field1; 20 | 21 | public B getField1() { 22 | return field1; 23 | } 24 | 25 | public void setField1(B field1) { 26 | this.field1 = field1; 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/bidirectional/B.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.bidirectional; 17 | 18 | public class B { 19 | private A field1; 20 | 21 | public A getField1() { 22 | return field1; 23 | } 24 | 25 | public void setField1(A field1) { 26 | this.field1 = field1; 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/collections/UserGroup.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.collections; 17 | 18 | import java.util.Set; 19 | 20 | public interface UserGroup { 21 | 22 | String getName(); 23 | 24 | void setName(String aName); 25 | 26 | Set getUsers(); 27 | 28 | void setUsers(Set aUsers); 29 | 30 | void addUser(User aUser); 31 | } 32 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/context/ContextMappingNested.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.context; 17 | 18 | public class ContextMappingNested { 19 | 20 | private String loanNo; 21 | 22 | public String getLoanNo() { 23 | return loanNo; 24 | } 25 | 26 | public void setLoanNo(String loanNo) { 27 | this.loanNo = loanNo; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/context/ContextMappingNestedPrime.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.context; 17 | 18 | public class ContextMappingNestedPrime { 19 | 20 | private String loanNo; 21 | 22 | public String getLoanNo() { 23 | return loanNo; 24 | } 25 | 26 | public void setLoanNo(String loanNo) { 27 | this.loanNo = loanNo; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/copybyreference/ReferencedObject.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.copybyreference; 17 | 18 | public class ReferencedObject { 19 | } 20 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/deep/Room.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.deep; 17 | 18 | import com.github.dozermapper.core.vo.BaseTestObject; 19 | 20 | public class Room extends BaseTestObject { 21 | private String name; 22 | 23 | public String getName() { 24 | return name; 25 | } 26 | 27 | public void setName(String name) { 28 | this.name = name; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/deep3/Dest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.deep3; 17 | 18 | public class Dest extends AbstractDest { 19 | } 20 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/deep3/NestedNestedDest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.deep3; 17 | 18 | public class NestedNestedDest { 19 | } 20 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/deepindex/B.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.deepindex; 17 | 18 | public class B { 19 | private C[] foo; 20 | 21 | public C[] getFoo() { 22 | return foo; 23 | } 24 | 25 | public void setFoo(C[] foo) { 26 | this.foo = foo; 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/deepindex/C.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.deepindex; 17 | 18 | public class C { 19 | private int id; 20 | 21 | public int getId() { 22 | return id; 23 | } 24 | 25 | public void setId(int id) { 26 | this.id = id; 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/deepindex/customconverter/Fourth.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.deepindex.customconverter; 17 | 18 | public class Fourth { 19 | 20 | public Fourth() { 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/deepindex/isaccessible/Person.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.deepindex.isaccessible; 17 | 18 | import java.util.Vector; 19 | 20 | import com.github.dozermapper.core.vo.BaseTestObject; 21 | 22 | public class Person extends BaseTestObject { 23 | 24 | public Vector phones; 25 | 26 | } 27 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/direction/ContentItemGroupDefault.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.direction; 17 | 18 | public class ContentItemGroupDefault extends ContentItemGroupBase implements ContentItemGroup { 19 | 20 | } 21 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/direction/Entity.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.direction; 17 | 18 | import java.io.Serializable; 19 | 20 | public interface Entity extends Serializable { 21 | String getId(); 22 | } 23 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/enumtest/DestType.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.enumtest; 17 | 18 | /** 19 | * Based Enum for enum mapping test 20 | */ 21 | public enum DestType { 22 | 23 | FOO 24 | 25 | } 26 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/enumtest/SrcType.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.enumtest; 17 | 18 | /** 19 | * Based Enum for enum mapping test 20 | */ 21 | public enum SrcType { 22 | 23 | FOO, BAR 24 | } 25 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/excluded/OneA.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.excluded; 17 | 18 | public class OneA extends ZeroA { 19 | } 20 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/excluded/OneB.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.excluded; 17 | 18 | public class OneB extends ZeroB { 19 | } 20 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/excluded/TwoA.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.excluded; 17 | 18 | public class TwoA extends OneA { 19 | } 20 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/excluded/TwoB.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.excluded; 17 | 18 | public class TwoB extends OneB { 19 | } 20 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/excluded/ZeroA.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.excluded; 17 | 18 | public class ZeroA { 19 | 20 | private Integer id; 21 | 22 | public Integer getId() { 23 | return id; 24 | } 25 | 26 | public void setId(Integer id) { 27 | this.id = id; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/excluded/ZeroB.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.excluded; 17 | 18 | public class ZeroB { 19 | private Integer id; 20 | 21 | public Integer getId() { 22 | return id; 23 | } 24 | 25 | public void setId(Integer id) { 26 | this.id = id; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/generics/Entity.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.generics; 17 | 18 | public abstract class Entity { 19 | private I id; 20 | 21 | public I getId() { 22 | return id; 23 | } 24 | 25 | public void setId(final I id) { 26 | this.id = id; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/generics/IntEntity.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.generics; 17 | 18 | public class IntEntity extends Entity { 19 | } 20 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/generics/Status.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.generics; 17 | 18 | public enum Status { 19 | PROCESSING, SUCCESS, ERROR 20 | } 21 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/generics/StatusPrime.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.generics; 17 | 18 | public enum StatusPrime { 19 | PROCESSING, SUCCESS, ERROR 20 | } 21 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/generics/parameterized/AA.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.generics.parameterized; 17 | 18 | public class AA extends A { 19 | 20 | /** 21 | * serialVersionUID 22 | */ 23 | private static final long serialVersionUID = 7848180510225889535L; 24 | 25 | } 26 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/generics/parameterized/AbstractB.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.generics.parameterized; 17 | 18 | import java.io.Serializable; 19 | 20 | public abstract class AbstractB 21 | extends AbstractDto { 22 | 23 | } 24 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/generics/parameterized/C.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.generics.parameterized; 17 | 18 | public class C 19 | extends AbstractB { 20 | 21 | } 22 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/generics/parameterized/Dto.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.generics.parameterized; 17 | 18 | import java.io.Serializable; 19 | 20 | public interface Dto extends Serializable { 21 | 22 | I getId(); 23 | 24 | void setId(I id); 25 | } 26 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/generics/parameterized/GenericTestType.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.generics.parameterized; 17 | 18 | public class GenericTestType extends GenericType { 19 | 20 | } 21 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/generics/parameterized/TestSimpleGenerics.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.generics.parameterized; 17 | 18 | public class TestSimpleGenerics { 19 | 20 | } 21 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/iface/ApplicationUser.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.iface; 17 | 18 | public class ApplicationUser extends Subscriber { 19 | 20 | } 21 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/iface/SubscriberIF.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.iface; 17 | 18 | public interface SubscriberIF { 19 | 20 | String getSubscriberNumber(); 21 | } 22 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/inheritance/ChildChildIF.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.inheritance; 17 | 18 | public interface ChildChildIF extends ChildIF { 19 | 20 | String getChildChildField(); 21 | 22 | void setChildChildField(String childChildField); 23 | } 24 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/inheritance/ChildIF.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.inheritance; 17 | 18 | public interface ChildIF extends ParentIF { 19 | 20 | String getChildField(); 21 | 22 | void setChildField(String childField); 23 | } 24 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/inheritance/GenericAbstractSuper.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.inheritance; 17 | 18 | import com.github.dozermapper.core.vo.BaseTestObject; 19 | 20 | public abstract class GenericAbstractSuper extends BaseTestObject implements GenericIF { 21 | 22 | } 23 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/inheritance/GenericIF.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.inheritance; 17 | 18 | public interface GenericIF { 19 | 20 | } 21 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/inheritance/Inner.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.inheritance; 17 | 18 | public class Inner { 19 | public String string = "FRED"; 20 | 21 | public String getString() { 22 | return string; 23 | } 24 | 25 | public void setString(String string) { 26 | this.string = string; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/inheritance/IntermediateClass.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.inheritance; 17 | 18 | public class IntermediateClass extends AnotherBaseClassPrime { 19 | 20 | } 21 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/inheritance/Outer.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.inheritance; 17 | 18 | public class Outer { 19 | Object inner = new Inner(); 20 | 21 | public Object getInner() { 22 | return inner; 23 | } 24 | 25 | public void setInner(Inner inner) { 26 | this.inner = inner; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/inheritance/ParentIF.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.inheritance; 17 | 18 | public interface ParentIF { 19 | 20 | String getParentField(); 21 | 22 | void setParentField(String parentField); 23 | } 24 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/inheritance/Specific3.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.inheritance; 17 | 18 | public class Specific3 extends Specific2 { 19 | 20 | } 21 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/inheritance/SpecificObject.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.inheritance; 17 | 18 | public class SpecificObject extends SuperSpecificObject { 19 | 20 | } 21 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/inheritance/Sub.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.inheritance; 17 | 18 | public class Sub extends SubMarker { 19 | 20 | private String detail; 21 | 22 | public String getDetail() { 23 | return detail; 24 | } 25 | 26 | public void setDetail(String detail) { 27 | this.detail = detail; 28 | } 29 | 30 | } 31 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/inheritance/SubDto.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.inheritance; 17 | 18 | public class SubDto extends SubMarkerDto { 19 | 20 | private String detail; 21 | 22 | public String getDetail() { 23 | return detail; 24 | } 25 | 26 | public void setDetail(String detail) { 27 | this.detail = detail; 28 | } 29 | 30 | } 31 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/inheritance/SubMarker.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.inheritance; 17 | 18 | public abstract class SubMarker extends Main { 19 | private String marker; 20 | 21 | public String getMarker() { 22 | return marker; 23 | } 24 | 25 | public void setMarker(String marker) { 26 | this.marker = marker; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/inheritance/SubMarkerDto.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.inheritance; 17 | 18 | public abstract class SubMarkerDto extends Main { 19 | 20 | private String marker; 21 | 22 | public String getMarker() { 23 | return marker; 24 | } 25 | 26 | public void setMarker(String marker) { 27 | this.marker = marker; 28 | } 29 | 30 | } 31 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/inheritance/Target.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.inheritance; 17 | 18 | public class Target { 19 | public String string; 20 | 21 | public String getString() { 22 | return string; 23 | } 24 | 25 | public void setString(String string) { 26 | this.string = string; 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/inheritance/cc/A.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.inheritance.cc; 17 | 18 | public class A { 19 | 20 | private String test; 21 | 22 | public String getTest() { 23 | return test; 24 | } 25 | 26 | public void setTest(String test) { 27 | this.test = test; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/inheritance/cc/B.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.inheritance.cc; 17 | 18 | public class B extends A { 19 | 20 | } 21 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/inheritance/cc/C.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.inheritance.cc; 17 | 18 | public class C extends B { 19 | 20 | } 21 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/inheritance/cc/X.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.inheritance.cc; 17 | 18 | public class X { 19 | 20 | private String test; 21 | 22 | public String getTest() { 23 | return test; 24 | } 25 | 26 | public void setTest(String test) { 27 | this.test = test; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/inheritance/cc/Y.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.inheritance.cc; 17 | 18 | public class Y extends X { 19 | 20 | } 21 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/inheritance/cc/Z.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.inheritance.cc; 17 | 18 | public class Z extends Y { 19 | 20 | } 21 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/inheritance/hints/Base.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.inheritance.hints; 17 | 18 | public class Base { 19 | 20 | } 21 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/inheritance/hints/Base2.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.inheritance.hints; 17 | 18 | public class Base2 { 19 | } 20 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/inheritance/hints/BaseA.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.inheritance.hints; 17 | 18 | public class BaseA extends Base { 19 | } 20 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/inheritance/hints/BaseA2.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.inheritance.hints; 17 | 18 | public class BaseA2 extends Base2 { 19 | } 20 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/inheritance/hints/BaseB.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.inheritance.hints; 17 | 18 | public class BaseB extends Base { 19 | } 20 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/inheritance/hints/BaseB2.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.inheritance.hints; 17 | 18 | public class BaseB2 extends Base2 { 19 | } 20 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/inheritance/hints/Source.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.inheritance.hints; 17 | 18 | import java.util.Set; 19 | 20 | public class Source { 21 | 22 | private Set set; 23 | 24 | public Set getSet() { 25 | return set; 26 | } 27 | 28 | public void setSet(Set set) { 29 | this.set = set; 30 | } 31 | 32 | } 33 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/inheritance/hints/Target.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.inheritance.hints; 17 | 18 | import java.util.Set; 19 | 20 | public class Target { 21 | 22 | private Set set; 23 | 24 | public Set getSet() { 25 | return set; 26 | } 27 | 28 | public void setSet(Set set) { 29 | this.set = set; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/inheritance/iface/Person.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.inheritance.iface; 17 | 18 | public interface Person extends PersonProfile { 19 | Long getId(); 20 | 21 | void setName(String name); 22 | 23 | void setAddress(String address); 24 | } 25 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/inheritance/iface/PersonProfile.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.inheritance.iface; 17 | 18 | public interface PersonProfile { 19 | String getName(); 20 | 21 | String getAddress(); 22 | } 23 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/inheritance/twolevel/A.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.inheritance.twolevel; 17 | 18 | public class A { 19 | 20 | private String a; 21 | 22 | public String getA() { 23 | return a; 24 | } 25 | 26 | public void setA(String a) { 27 | this.a = a; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/inheritance/twolevel/B.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.inheritance.twolevel; 17 | 18 | public class B extends A { 19 | 20 | private String b; 21 | 22 | public String getB() { 23 | return b; 24 | } 25 | 26 | public void setB(String b) { 27 | this.b = b; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/interfacerecursion/AnotherLevelTwo.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.interfacerecursion; 17 | 18 | public interface AnotherLevelTwo extends LevelOne, UserSub { 19 | 20 | } 21 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/interfacerecursion/Base.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.interfacerecursion; 17 | 18 | public interface Base { 19 | 20 | } 21 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/interfacerecursion/BaseImpl.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.interfacerecursion; 17 | 18 | public class BaseImpl implements Base { 19 | 20 | } 21 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/interfacerecursion/LevelOne.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.interfacerecursion; 17 | 18 | public interface LevelOne extends Base, User { 19 | 20 | } 21 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/interfacerecursion/LevelTwo.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.interfacerecursion; 17 | 18 | public interface LevelTwo extends LevelOne, User { 19 | 20 | } 21 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/interfacerecursion/UserSub.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.interfacerecursion; 17 | 18 | public interface UserSub extends User { 19 | 20 | } 21 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/isaccessible/Foo.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.isaccessible; 17 | 18 | import java.util.List; 19 | 20 | public class Foo { 21 | 22 | private List categories; 23 | 24 | public List getCategories() { 25 | return this.categories; 26 | } 27 | 28 | public void setCategories(List list) { 29 | this.categories = list; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/km/Sub.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.km; 17 | 18 | public class Sub extends Super { 19 | private String color; 20 | 21 | public String getColor() { 22 | return color; 23 | } 24 | 25 | public void setColor(String color) { 26 | this.color = color; 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/map/CustomMapIF.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.map; 17 | 18 | public interface CustomMapIF { 19 | 20 | Object getValue(Object key); 21 | 22 | void putValue(Object key, Object value); 23 | } 24 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/mapperaware/MapperAwareSimpleInternal.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.mapperaware; 17 | 18 | public class MapperAwareSimpleInternal { 19 | } 20 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/oneway/DestClass.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.oneway; 17 | 18 | public class DestClass { 19 | 20 | private String a; 21 | 22 | public void setA(String a) { 23 | this.a = a; 24 | } 25 | 26 | public String anonymousAccessor() { 27 | return a; 28 | } 29 | 30 | } 31 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/oneway/SourceClass.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.oneway; 17 | 18 | public class SourceClass { 19 | 20 | private String a; 21 | 22 | public SourceClass(String a) { 23 | this.a = a; 24 | } 25 | 26 | public String getA() { 27 | return a; 28 | } 29 | 30 | } 31 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/recursive/ClassAA.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.recursive; 17 | 18 | public class ClassAA extends ClassA { 19 | 20 | } 21 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/recursive/ClassAAPrime.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.recursive; 17 | 18 | public class ClassAAPrime extends ClassAPrime { 19 | 20 | } 21 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/runtimesubclass/SpecialUserGroup.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.runtimesubclass; 17 | 18 | public class SpecialUserGroup extends UserGroup { 19 | 20 | } 21 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/runtimesubclass/SpecialUserGroupPrime.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.runtimesubclass; 17 | 18 | public class SpecialUserGroupPrime extends UserGroupPrime { 19 | } 20 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/runtimesubclass/UserGroup.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.runtimesubclass; 17 | 18 | public class UserGroup { 19 | 20 | String name; 21 | 22 | public String getName() { 23 | return name; 24 | } 25 | 26 | public void setName(String name) { 27 | this.name = name; 28 | } 29 | 30 | } 31 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/runtimesubclass/UserGroupPrime.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.runtimesubclass; 17 | 18 | public class UserGroupPrime { 19 | 20 | String name; 21 | 22 | public String getName() { 23 | return name; 24 | } 25 | 26 | public void setName(String name) { 27 | this.name = name; 28 | } 29 | 30 | } 31 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/set/NamesArray.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.set; 17 | 18 | public class NamesArray { 19 | 20 | private String[] names; 21 | 22 | public String[] getNames() { 23 | return names; 24 | } 25 | 26 | public void setNames(String[] names) { 27 | this.names = names; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/set/NamesCollection.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.set; 17 | 18 | import java.util.Collection; 19 | 20 | public class NamesCollection { 21 | 22 | private Collection names; 23 | 24 | public Collection getNames() { 25 | return names; 26 | } 27 | 28 | public void setNames(Collection names) { 29 | this.names = names; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/set/NamesList.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.set; 17 | 18 | import java.util.List; 19 | 20 | public class NamesList { 21 | 22 | private List names; 23 | 24 | public List getNames() { 25 | return names; 26 | } 27 | 28 | public void setNames(List names) { 29 | this.names = names; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/set/NamesSet.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.set; 17 | 18 | import java.util.Set; 19 | 20 | public class NamesSet { 21 | 22 | private Set names; 23 | 24 | public Set getNames() { 25 | return names; 26 | } 27 | 28 | public void setNames(Set names) { 29 | this.names = names; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /core/src/test/java/com/github/dozermapper/core/vo/set/NamesSortedSet.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.dozermapper.core.vo.set; 17 | 18 | import java.util.SortedSet; 19 | 20 | public class NamesSortedSet { 21 | 22 | private SortedSet names; 23 | 24 | public SortedSet getNames() { 25 | return names; 26 | } 27 | 28 | public void setNames(SortedSet names) { 29 | this.names = names; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /core/src/test/resources/dozer.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright 2005-2024 Dozer Project 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | 17 | # Caches 18 | dozer.cache.converter-by-dest-type-maxsize=5000 19 | dozer.cache.super-type-maxsize=5000 20 | 21 | # Class Types 22 | #dozer.beans.class-loader-bean=com.github.dozermapper.core.util.DefaultClassLoader 23 | #dozer.beans.proxy-resolver-bean=com.github.dozermapper.core.util.DefaultProxyResolver 24 | -------------------------------------------------------------------------------- /core/src/test/resources/dozer.yaml: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright 2005-2024 Dozer Project 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | 17 | --- 18 | dozer: 19 | cache: 20 | converter-by-dest-type-maxsize: 5000 21 | super-type-maxsize: 5000 22 | # beans: 23 | # class-loader-bean: "com.github.dozermapper.core.util.DefaultClassLoader" 24 | # proxy-resolver-bean: "com.github.dozermapper.core.util.DefaultProxyResolver" 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /core/src/test/resources/log4j.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright 2005-2024 Dozer Project 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | 17 | log4j.rootLogger=WARN, Console 18 | log4j.category.com.github.dozermapper.core.functional_tests.PerformanceTest=DEBUG 19 | log4j.appender.Console=org.apache.log4j.ConsoleAppender 20 | log4j.appender.Console.layout=org.apache.log4j.PatternLayout 21 | log4j.appender.Console.layout.ConversionPattern=%d [%t] %-5p in [%l] - %m%n 22 | -------------------------------------------------------------------------------- /core/src/test/resources/mappings/withHttpsXsdLocation.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 22 | 23 | -------------------------------------------------------------------------------- /core/src/test/resources/mockito-extensions/org.mockito.plugins.MockMaker: -------------------------------------------------------------------------------- 1 | mock-maker-inline 2 | -------------------------------------------------------------------------------- /docs/asciidoc/README.adoc: -------------------------------------------------------------------------------- 1 | = Dozer 2 | 3 | == What is Dozer? 4 | Dozer is a Java Bean to Java Bean mapper that recursively copies data from one object to another. 5 | Typically, these Java Beans will be of different complex types. 6 | 7 | Dozer supports simple property mapping, complex type mapping, bi-directional mapping, 8 | implicit-explicit mapping, as well as recursive mapping. 9 | This includes mapping collection attributes that also need mmapping at the element level. 10 | 11 | Please read the link:about/about.adoc[about] page for detailed information on Dozer. 12 | -------------------------------------------------------------------------------- /docs/asciidoc/book.json: -------------------------------------------------------------------------------- 1 | { 2 | "gitbook": "3.2.2", 3 | "structure": { 4 | "summary": "SUMMARY.md" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /docs/asciidoc/documentation/configuration/logging.adoc: -------------------------------------------------------------------------------- 1 | == Logging 2 | The logging facade framework in Dozer is link:http://www.slf4j.org/[SLF4J]. 3 | It replaced Commons Logging, which was used in project previously until 4 | version 5.3. 5 | 6 | Please refer to link:http://www.slf4j.org/docs.html[SLF4J Documentation] for 7 | more information on setting up and configuring different logging 8 | implementations. 9 | -------------------------------------------------------------------------------- /docs/asciidoc/documentation/eclipse-plugin/usage-editor.adoc: -------------------------------------------------------------------------------- 1 | == Setting global dozer configuration 2 | All global configuration values can be set in the "Global Configuration" 3 | Tab. 4 | image:../../images/eclipse-globalconfigtab.gif[image] 5 | 6 | === Configuring mappings 7 | Every classmapping is listed in the "Mapping" Tab. Mappings of classes 8 | and fields can be added by Popup menu or the action-buttons at the top. 9 | On the right side the mappings can be configured. Every Attribute or 10 | Element in the XML file is shown for editing. + 11 | image:../../images/eclipse-mappingtab.gif[image] 12 | -------------------------------------------------------------------------------- /docs/asciidoc/documentation/eclipse-plugin/usage-xml.adoc: -------------------------------------------------------------------------------- 1 | == Open mapping file 2 | When opening a Dozer-mapping-file the Dozer-editor appears. If you want 3 | to edit the raw XML you can switch to the "source" view. + 4 | image:../../images/eclipse-sourcetab.gif[image] 5 | 6 | === Content Assist 7 | All the class-a/class-b, field, get-method, set-method, etc -nodes or 8 | -attributes automaticly show content-assist popups when pressing 9 | ctrl+space or the configured WTP-XML content assist characters. These 10 | can be changed in the preferences. + 11 | image:../../images/eclipse-xmlassist.gif[image] + 12 | image:../../images/eclipse-xmlassist2.gif[image] 13 | 14 | === Validation 15 | The Dozer Plugin validates the Mapping to find out if the mapped class 16 | do exist and if the mapped fields are accessible. + 17 | image:../../images/eclipse-validation.gif[image] 18 | -------------------------------------------------------------------------------- /docs/asciidoc/documentation/eclipse-plugin/usage.adoc: -------------------------------------------------------------------------------- 1 | == Create new Mapping files 2 | The plugin provides a simple wizard for creating new mapping-xml files. 3 | A new mapping-xml file can be created using File > New > Other > Dozer 4 | Mapping Framework > Dozer Mapping File. Select the correct dozer version 5 | (4, DTD or 5, XSD) in the wizard and create the file. 6 | 7 | === Configure the Mapping 8 | * link:usage-xml.adoc[via XML] 9 | * link:usage-editor.adoc[via the Editor] 10 | -------------------------------------------------------------------------------- /docs/asciidoc/documentation/enum.adoc: -------------------------------------------------------------------------------- 1 | == Enum Mapping 2 | To map an enums value to another enum is shown below. 3 | 4 | [source,xml,prettyprint] 5 | ---- 6 | 7 | status 8 | statusPrime 9 | 10 | ---- 11 | 12 | Based on the following code: 13 | 14 | [source,java,prettyprint] 15 | ---- 16 | enum Status { 17 | PROCESSING, SUCCESS, ERROR 18 | } 19 | 20 | public class UserGroup { 21 | 22 | private Status status; 23 | 24 | public Status getStatus() { 25 | return status; 26 | } 27 | 28 | public void setStatus(Status status) { 29 | this.status = status; 30 | } 31 | 32 | } 33 | 34 | enum StatusPrime { 35 | PROCESSING, SUCCESS, ERROR 36 | } 37 | 38 | public class UserGroupPrime { 39 | 40 | private StatusPrime statusPrime; 41 | 42 | public StatusPrime getStatusPrime() { 43 | return statusPrime; 44 | } 45 | 46 | public void setStatusPrime(StatusPrime statusPrime) { 47 | this.statusPrime = statusPrime; 48 | } 49 | 50 | } 51 | ---- 52 | -------------------------------------------------------------------------------- /docs/asciidoc/documentation/examples.adoc: -------------------------------------------------------------------------------- 1 | == Examples 2 | There are some sample mapping files under 3 | \{dozer.home}/src/test/resources. These mapping files are used by the 4 | Dozer unit tests. 5 | -------------------------------------------------------------------------------- /docs/asciidoc/documentation/immutable.adoc: -------------------------------------------------------------------------------- 1 | == Mapping immutable types 2 | You can create objects when constructor is not available, or when 3 | there is no no-args constructor in the class. Feature is designed 4 | for mapping immutable types. To use it, at the mapping level add 5 | an option to skip the constructor, then at the field level choose 6 | to inject the value directly to the field, skipping the setter. 7 | 8 | [source,xml,prettyprint] 9 | ---- 10 | 11 | com.github.dozermapper.core.vo.AnyExternalModelClass 12 | com.github.dozermapper.core.vo.ImmutableModelClass 13 | 14 | externalModelField 15 | ourFinalField 16 | 17 | 18 | ---- 19 | -------------------------------------------------------------------------------- /docs/asciidoc/documentation/indexmapping.adoc: -------------------------------------------------------------------------------- 1 | == Indexed Property Mapping 2 | Fields that need to be looked up or written to by indexed property are 3 | supported. 4 | 5 | [source,xml,prettyprint] 6 | ---- 7 | 8 | com.github.dozermapper.core.vo.Individuals 9 | com.github.dozermapper.core.vo.FlatIndividual 10 | 11 | usernames[0] 12 | username1 13 | 14 | 15 | usernames[1] 16 | username2 17 | 18 | 19 | individual.username 20 | username2 21 | 22 | 23 | secondNames[1] 24 | secondName1 25 | 26 | 27 | secondNames[2] 28 | secondName2 29 | 30 | 31 | aliases.otherAliases[0] 32 | primaryAlias 33 | 34 | 35 | ---- 36 | -------------------------------------------------------------------------------- /docs/asciidoc/documentation/jaxb.adoc: -------------------------------------------------------------------------------- 1 | == 3rd Party Object Factories 2 | Dozer supports mapping of plain Java objects to frameworks that require 3 | instantiation of objects via certain convention of calling factory 4 | methods. To reproduce the expected behavior custom bean factories should 5 | be used. 6 | 7 | === Mapping JAXB Objects 8 | Dozer has support for mapping POJOs to JAXB objects. Use the 9 | JAXBBeanFactory for any JAXB objects you want create. 10 | 11 | [source,xml,prettyprint] 12 | ---- 13 | 14 | com.github.dozermapper.core.vo.TestObject 15 | 16 | com.github.dozermapper.core.vo.jaxb.employee.Employee 17 | 18 | 19 | name 20 | firstName 21 | 22 | 23 | street 24 | address.street 25 | 26 | 27 | ---- 28 | -------------------------------------------------------------------------------- /docs/asciidoc/documentation/springBootIntegration.adoc: -------------------------------------------------------------------------------- 1 | == Spring Boot Integration 2 | 3 | We provide the `dozer-spring-boot-starter` for integrating spring boot application since 6.2.0. 4 | If you are using link:https://maven.apache.org/[Apache Maven], simply copy-paste this dependency to your project. 5 | 6 | [NOTE] 7 | ==== 8 | For details for Spring Framewrok Integration, please see link:springintegration.adoc[here]. 9 | ==== 10 | 11 | .pom.xml 12 | [source,xml,prettyprint,subs="verbatim,attributes"] 13 | ---- 14 | 15 | com.github.dozermapper 16 | dozer-spring-boot-starter 17 | {dozer-version} 18 | 19 | ---- 20 | 21 | You can specify any custom dozer mapping files in your application properties or yml. 22 | 23 | .application.properties 24 | [source,properties,prettyprint] 25 | ---- 26 | dozer.mapping-files=classpath*:/*mapping.xml 27 | ---- 28 | 29 | .application.yml 30 | [source,yml,prettyprint] 31 | ---- 32 | dozer: 33 | mapping-files: classpath*:/*mapping.xml 34 | ---- 35 | -------------------------------------------------------------------------------- /docs/asciidoc/images/accessories-text-editor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DozerMapper/dozer/8efd82f65da118abfa4a5c953bd8dc1bda3bb112/docs/asciidoc/images/accessories-text-editor.png -------------------------------------------------------------------------------- /docs/asciidoc/images/add.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DozerMapper/dozer/8efd82f65da118abfa4a5c953bd8dc1bda3bb112/docs/asciidoc/images/add.gif -------------------------------------------------------------------------------- /docs/asciidoc/images/apache-maven-project-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DozerMapper/dozer/8efd82f65da118abfa4a5c953bd8dc1bda3bb112/docs/asciidoc/images/apache-maven-project-2.png -------------------------------------------------------------------------------- /docs/asciidoc/images/application-certificate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DozerMapper/dozer/8efd82f65da118abfa4a5c953bd8dc1bda3bb112/docs/asciidoc/images/application-certificate.png -------------------------------------------------------------------------------- /docs/asciidoc/images/architecture.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DozerMapper/dozer/8efd82f65da118abfa4a5c953bd8dc1bda3bb112/docs/asciidoc/images/architecture.gif -------------------------------------------------------------------------------- /docs/asciidoc/images/architecture.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DozerMapper/dozer/8efd82f65da118abfa4a5c953bd8dc1bda3bb112/docs/asciidoc/images/architecture.jpg -------------------------------------------------------------------------------- /docs/asciidoc/images/close.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DozerMapper/dozer/8efd82f65da118abfa4a5c953bd8dc1bda3bb112/docs/asciidoc/images/close.gif -------------------------------------------------------------------------------- /docs/asciidoc/images/collapsed.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DozerMapper/dozer/8efd82f65da118abfa4a5c953bd8dc1bda3bb112/docs/asciidoc/images/collapsed.gif -------------------------------------------------------------------------------- /docs/asciidoc/images/contact-new.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DozerMapper/dozer/8efd82f65da118abfa4a5c953bd8dc1bda3bb112/docs/asciidoc/images/contact-new.png -------------------------------------------------------------------------------- /docs/asciidoc/images/document-properties.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DozerMapper/dozer/8efd82f65da118abfa4a5c953bd8dc1bda3bb112/docs/asciidoc/images/document-properties.png -------------------------------------------------------------------------------- /docs/asciidoc/images/dozer.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DozerMapper/dozer/8efd82f65da118abfa4a5c953bd8dc1bda3bb112/docs/asciidoc/images/dozer.jpeg -------------------------------------------------------------------------------- /docs/asciidoc/images/dozer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DozerMapper/dozer/8efd82f65da118abfa4a5c953bd8dc1bda3bb112/docs/asciidoc/images/dozer.png -------------------------------------------------------------------------------- /docs/asciidoc/images/drive-harddisk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DozerMapper/dozer/8efd82f65da118abfa4a5c953bd8dc1bda3bb112/docs/asciidoc/images/drive-harddisk.png -------------------------------------------------------------------------------- /docs/asciidoc/images/eclipse-dozerfile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DozerMapper/dozer/8efd82f65da118abfa4a5c953bd8dc1bda3bb112/docs/asciidoc/images/eclipse-dozerfile.gif -------------------------------------------------------------------------------- /docs/asciidoc/images/eclipse-globalconfigtab.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DozerMapper/dozer/8efd82f65da118abfa4a5c953bd8dc1bda3bb112/docs/asciidoc/images/eclipse-globalconfigtab.gif -------------------------------------------------------------------------------- /docs/asciidoc/images/eclipse-mappingtab.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DozerMapper/dozer/8efd82f65da118abfa4a5c953bd8dc1bda3bb112/docs/asciidoc/images/eclipse-mappingtab.gif -------------------------------------------------------------------------------- /docs/asciidoc/images/eclipse-sourcetab.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DozerMapper/dozer/8efd82f65da118abfa4a5c953bd8dc1bda3bb112/docs/asciidoc/images/eclipse-sourcetab.gif -------------------------------------------------------------------------------- /docs/asciidoc/images/eclipse-validation.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DozerMapper/dozer/8efd82f65da118abfa4a5c953bd8dc1bda3bb112/docs/asciidoc/images/eclipse-validation.gif -------------------------------------------------------------------------------- /docs/asciidoc/images/eclipse-xmlassist.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DozerMapper/dozer/8efd82f65da118abfa4a5c953bd8dc1bda3bb112/docs/asciidoc/images/eclipse-xmlassist.gif -------------------------------------------------------------------------------- /docs/asciidoc/images/eclipse-xmlassist2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DozerMapper/dozer/8efd82f65da118abfa4a5c953bd8dc1bda3bb112/docs/asciidoc/images/eclipse-xmlassist2.gif -------------------------------------------------------------------------------- /docs/asciidoc/images/expanded.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DozerMapper/dozer/8efd82f65da118abfa4a5c953bd8dc1bda3bb112/docs/asciidoc/images/expanded.gif -------------------------------------------------------------------------------- /docs/asciidoc/images/fix.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DozerMapper/dozer/8efd82f65da118abfa4a5c953bd8dc1bda3bb112/docs/asciidoc/images/fix.gif -------------------------------------------------------------------------------- /docs/asciidoc/images/icon_error_sml.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DozerMapper/dozer/8efd82f65da118abfa4a5c953bd8dc1bda3bb112/docs/asciidoc/images/icon_error_sml.gif -------------------------------------------------------------------------------- /docs/asciidoc/images/icon_help_sml.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DozerMapper/dozer/8efd82f65da118abfa4a5c953bd8dc1bda3bb112/docs/asciidoc/images/icon_help_sml.gif -------------------------------------------------------------------------------- /docs/asciidoc/images/icon_info_sml.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DozerMapper/dozer/8efd82f65da118abfa4a5c953bd8dc1bda3bb112/docs/asciidoc/images/icon_info_sml.gif -------------------------------------------------------------------------------- /docs/asciidoc/images/icon_success_sml.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DozerMapper/dozer/8efd82f65da118abfa4a5c953bd8dc1bda3bb112/docs/asciidoc/images/icon_success_sml.gif -------------------------------------------------------------------------------- /docs/asciidoc/images/icon_warning_sml.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DozerMapper/dozer/8efd82f65da118abfa4a5c953bd8dc1bda3bb112/docs/asciidoc/images/icon_warning_sml.gif -------------------------------------------------------------------------------- /docs/asciidoc/images/image-x-generic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DozerMapper/dozer/8efd82f65da118abfa4a5c953bd8dc1bda3bb112/docs/asciidoc/images/image-x-generic.png -------------------------------------------------------------------------------- /docs/asciidoc/images/internet-web-browser.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DozerMapper/dozer/8efd82f65da118abfa4a5c953bd8dc1bda3bb112/docs/asciidoc/images/internet-web-browser.png -------------------------------------------------------------------------------- /docs/asciidoc/images/javanet_button_90.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DozerMapper/dozer/8efd82f65da118abfa4a5c953bd8dc1bda3bb112/docs/asciidoc/images/javanet_button_90.gif -------------------------------------------------------------------------------- /docs/asciidoc/images/jmx1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DozerMapper/dozer/8efd82f65da118abfa4a5c953bd8dc1bda3bb112/docs/asciidoc/images/jmx1.gif -------------------------------------------------------------------------------- /docs/asciidoc/images/jmx1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DozerMapper/dozer/8efd82f65da118abfa4a5c953bd8dc1bda3bb112/docs/asciidoc/images/jmx1.png -------------------------------------------------------------------------------- /docs/asciidoc/images/jmx2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DozerMapper/dozer/8efd82f65da118abfa4a5c953bd8dc1bda3bb112/docs/asciidoc/images/jmx2.gif -------------------------------------------------------------------------------- /docs/asciidoc/images/jmx2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DozerMapper/dozer/8efd82f65da118abfa4a5c953bd8dc1bda3bb112/docs/asciidoc/images/jmx2.png -------------------------------------------------------------------------------- /docs/asciidoc/images/logos/build-by-maven-black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DozerMapper/dozer/8efd82f65da118abfa4a5c953bd8dc1bda3bb112/docs/asciidoc/images/logos/build-by-maven-black.png -------------------------------------------------------------------------------- /docs/asciidoc/images/logos/build-by-maven-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DozerMapper/dozer/8efd82f65da118abfa4a5c953bd8dc1bda3bb112/docs/asciidoc/images/logos/build-by-maven-white.png -------------------------------------------------------------------------------- /docs/asciidoc/images/logos/maven-feather.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DozerMapper/dozer/8efd82f65da118abfa4a5c953bd8dc1bda3bb112/docs/asciidoc/images/logos/maven-feather.png -------------------------------------------------------------------------------- /docs/asciidoc/images/network-server.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DozerMapper/dozer/8efd82f65da118abfa4a5c953bd8dc1bda3bb112/docs/asciidoc/images/network-server.png -------------------------------------------------------------------------------- /docs/asciidoc/images/package-x-generic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DozerMapper/dozer/8efd82f65da118abfa4a5c953bd8dc1bda3bb112/docs/asciidoc/images/package-x-generic.png -------------------------------------------------------------------------------- /docs/asciidoc/images/profiles/pre-release.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DozerMapper/dozer/8efd82f65da118abfa4a5c953bd8dc1bda3bb112/docs/asciidoc/images/profiles/pre-release.png -------------------------------------------------------------------------------- /docs/asciidoc/images/profiles/retired.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DozerMapper/dozer/8efd82f65da118abfa4a5c953bd8dc1bda3bb112/docs/asciidoc/images/profiles/retired.png -------------------------------------------------------------------------------- /docs/asciidoc/images/profiles/sandbox.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DozerMapper/dozer/8efd82f65da118abfa4a5c953bd8dc1bda3bb112/docs/asciidoc/images/profiles/sandbox.png -------------------------------------------------------------------------------- /docs/asciidoc/images/remove.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DozerMapper/dozer/8efd82f65da118abfa4a5c953bd8dc1bda3bb112/docs/asciidoc/images/remove.gif -------------------------------------------------------------------------------- /docs/asciidoc/images/rss.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DozerMapper/dozer/8efd82f65da118abfa4a5c953bd8dc1bda3bb112/docs/asciidoc/images/rss.png -------------------------------------------------------------------------------- /docs/asciidoc/images/scenario1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DozerMapper/dozer/8efd82f65da118abfa4a5c953bd8dc1bda3bb112/docs/asciidoc/images/scenario1.jpg -------------------------------------------------------------------------------- /docs/asciidoc/images/scenario2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DozerMapper/dozer/8efd82f65da118abfa4a5c953bd8dc1bda3bb112/docs/asciidoc/images/scenario2.jpg -------------------------------------------------------------------------------- /docs/asciidoc/images/scenario3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DozerMapper/dozer/8efd82f65da118abfa4a5c953bd8dc1bda3bb112/docs/asciidoc/images/scenario3.jpg -------------------------------------------------------------------------------- /docs/asciidoc/images/scenario4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DozerMapper/dozer/8efd82f65da118abfa4a5c953bd8dc1bda3bb112/docs/asciidoc/images/scenario4.jpg -------------------------------------------------------------------------------- /docs/asciidoc/images/update.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DozerMapper/dozer/8efd82f65da118abfa4a5c953bd8dc1bda3bb112/docs/asciidoc/images/update.gif -------------------------------------------------------------------------------- /docs/asciidoc/images/window-new.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DozerMapper/dozer/8efd82f65da118abfa4a5c953bd8dc1bda3bb112/docs/asciidoc/images/window-new.png -------------------------------------------------------------------------------- /docs/asciidoc/img/glyphicons-halflings-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DozerMapper/dozer/8efd82f65da118abfa4a5c953bd8dc1bda3bb112/docs/asciidoc/img/glyphicons-halflings-white.png -------------------------------------------------------------------------------- /docs/asciidoc/img/glyphicons-halflings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DozerMapper/dozer/8efd82f65da118abfa4a5c953bd8dc1bda3bb112/docs/asciidoc/img/glyphicons-halflings.png -------------------------------------------------------------------------------- /docs/asciidoc/migration/v6-to-v7.adoc: -------------------------------------------------------------------------------- 1 | == Migration from v6.5.0 to v7 2 | 3 | See link:https://github.com/DozerMapper/dozer/releases/tag/7.0.0[for release notes]. 4 | 5 | === 1. OSGI support dropped 6 | === 2. Java 8 support dropped 7 | === 2. Proto support dropped 8 | -------------------------------------------------------------------------------- /docs/asciidoc/migration/v63-to-v64.adoc: -------------------------------------------------------------------------------- 1 | == Migration from v6.3.0 to v6.4.0 2 | See link:https://github.com/DozerMapper/dozer/releases/tag/6.4.0[for release notes]. 3 | 4 | === 1. Java 9 and 10 support 5 | Java9/10 are now tested against. However, no Java9/10 compiled JARs have been released. 6 | 7 | === 2. Java 8 datetime converters 8 | Support for Java8 datetime packages. 9 | -------------------------------------------------------------------------------- /docs/asciidoc/migration/v64-to-v65.adoc: -------------------------------------------------------------------------------- 1 | == Migration from v6.4.0 to v6.5.0 2 | See link:https://github.com/DozerMapper/dozer/releases/tag/6.5.0[for release notes]. 3 | 4 | === 1. Java 11 support 5 | Java11 are now tested against. However, no Java11 compiled JARs have been released. -------------------------------------------------------------------------------- /docs/build-gitbook.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # 3 | # Copyright 2005-2024 Dozer Project 4 | # 5 | # Licensed under the Apache License, Version 2.0 (the "License"); 6 | # you may not use this file except in compliance with the License. 7 | # You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License. 16 | # 17 | 18 | 19 | rm -rf gitbook/ user-guide.pdf 20 | gitbook build asciidoc/ gitbook/ 21 | gitbook pdf asciidoc/ user-guide.pdf 22 | -------------------------------------------------------------------------------- /docs/load-localy-gitbook.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # 3 | # Copyright 2005-2024 Dozer Project 4 | # 5 | # Licensed under the Apache License, Version 2.0 (the "License"); 6 | # you may not use this file except in compliance with the License. 7 | # You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License. 16 | # 17 | 18 | 19 | gitbook serve asciidoc/ gitbook/ --port 4000 20 | -------------------------------------------------------------------------------- /dozer-integrations/dozer-spring-support/dozer-spring-boot-autoconfigure/src/main/java/com/github/dozermapper/springboot/autoconfigure/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | /** 17 | * Extension classes to integrate Dozer with Springboot as a first-class-citizen 18 | */ 19 | package com.github.dozermapper.springboot.autoconfigure; 20 | -------------------------------------------------------------------------------- /dozer-integrations/dozer-spring-support/dozer-spring-boot-autoconfigure/src/main/resources/META-INF/spring.factories: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright 2005-2024 Dozer Project 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | 17 | org.springframework.boot.autoconfigure.EnableAutoConfiguration=\ 18 | com.github.dozermapper.springboot.autoconfigure.DozerAutoConfiguration 19 | -------------------------------------------------------------------------------- /dozer-integrations/dozer-spring-support/dozer-spring-boot-autoconfigure/src/test/resources/application.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright 2005-2024 Dozer Project 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | 17 | spring.main.banner-mode=off 18 | -------------------------------------------------------------------------------- /dozer-integrations/dozer-spring-support/dozer-spring-boot-autoconfigure/src/test/resources/log4j.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright 2005-2024 Dozer Project 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | 17 | log4j.rootLogger=ERROR, Console 18 | log4j.appender.Console=org.apache.log4j.ConsoleAppender 19 | log4j.appender.Console.layout=org.apache.log4j.PatternLayout 20 | log4j.appender.Console.layout.ConversionPattern=%d [%t] %-5p in [%l] - %m%n 21 | -------------------------------------------------------------------------------- /dozer-integrations/dozer-spring-support/dozer-spring4/src/main/java/com/github/dozermapper/spring/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2024 Dozer Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | /** 17 | * Extension classes to integrate Dozer with Spring as a first-class-citizen 18 | */ 19 | package com.github.dozermapper.spring; 20 | -------------------------------------------------------------------------------- /dozer-integrations/dozer-spring-support/dozer-spring4/src/main/resources/META-INF/spring.handlers: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright 2005-2024 Dozer Project 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | 17 | http\://dozermapper.github.io/schema/dozer-spring=com.github.dozermapper.spring.DozerNamespaceHandler 18 | -------------------------------------------------------------------------------- /dozer-integrations/dozer-spring-support/dozer-spring4/src/main/resources/META-INF/spring.schemas: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright 2005-2024 Dozer Project 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | 17 | http\://dozermapper.github.io/schema/dozer-spring.xsd=schema/dozer-spring.xsd 18 | https\://dozermapper.github.io/schema/dozer-spring.xsd=schema/dozer-spring.xsd 19 | -------------------------------------------------------------------------------- /renovate.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://docs.renovatebot.com/renovate-schema.json", 3 | "extends": [ 4 | "config:best-practices", 5 | "schedule:earlyMondays" 6 | ] 7 | } 8 | --------------------------------------------------------------------------------