281 Commits

Author SHA1 Message Date
Gunnar Morling
79615b12b0 [maven-release-plugin] prepare release 1.0.0.Beta1 1.0.0.Beta1 2014-03-05 20:40:22 +01:00
Gunnar Morling
c15503f47b #163 Raising error in case wrong decorator type is given 2014-03-05 00:50:52 +01:00
Gunnar Morling
e0da882540 #163 Adding support for decorators 2014-03-05 00:50:52 +01:00
Gunnar Morling
427cc16390 #163 Preparations for generating other top-level types then mappers themselves 2014-03-05 00:50:52 +01:00
Gunnar Morling
6cbccdb36d Updating readme 2014-03-05 00:50:22 +01:00
Gunnar Morling
8a260bf659 #162 Making sure only actual enum constants are mapped in enum mapping when using the Eclipse compiler 2014-03-04 20:12:40 +01:00
Gunnar Morling
fd3aa63e2d #119 Formatting 2014-03-04 20:12:37 +01:00
sjaakd
859c51368d #119 Added Test Code, adding shipping address to trigger use of the 2nd object factory 2014-03-04 11:58:38 +01:00
sjaakd
6d2120c1bc #119 setup jaxb XSDs, DTOs, mapper and test 2014-03-04 11:34:23 +01:00
Gunnar Morling
ab7641731f #153 Formatting of generated code 2014-03-04 00:23:30 +01:00
Andreas Gudian
84902318f9 #153 Use clear() / addAll(..) for collection properties in @MappingTarget mappings 2014-03-02 23:19:03 +01:00
Gunnar Morling
cfa2dc0bd0 #142 Fixing time zone dependent tests 2014-03-02 19:17:28 +01:00
Andreas Gudian
16112a6156 #136 Add additional test to verify compatibility of @TargetType with nested mapping methods 2014-02-28 23:09:19 +01:00
Andreas Gudian
1db853137c #136 Some clean-up/documentation 2014-02-28 22:43:56 +01:00
Andreas Gudian
4372e726ee #136 Introduce @TargetType to pass the target type of a custom property mapping method or factory method as parameter to the method 2014-02-28 22:40:53 +01:00
Gunnar Morling
8ddb2a9fb3 #134 Formatting 2014-02-28 19:54:47 +01:00
Gunnar Morling
53ff1b7e13 #134 Some clean-up:
* Removing obsolete method
* Using more descriptive method and test name
* Some comments
2014-02-28 19:54:36 +01:00
sjaakd
27c85d8f97 #134 adding nested method match functionality including UT after merge with #135 2014-02-27 23:11:11 +01:00
sjaakd
a9e1438c1e #151 improving UT for #120 and fixing some missing imports 2014-02-27 00:12:15 +01:00
Gunnar Morling
f8aa758ecf #135 Simplifying XmlElementDeclSelector a bit 2014-02-26 23:14:23 +01:00
Gunnar Morling
40ed18af0b #135 Adding some JavaDocs; Removing unused method 2014-02-26 22:05:17 +01:00
Gunnar Morling
03dca9a8d4 #135 Formatting and typo fix 2014-02-26 20:03:21 +01:00
sjaakd
b84a5df84e #135 applied list of MethodSelectors idea. 2014-02-26 19:45:16 +01:00
sjaakd
4d22ff7abd #135 first attempt, UT based on scope AND name now 2014-02-26 19:45:16 +01:00
sjaakd
093019b5d9 Merge branch '146' of github.com:gunnarmorling/mapstruct into gunnarmorling_146 2014-02-26 07:28:42 +01:00
Gunnar Morling
a6bb427d86 #146 Making sure result type of bean mapping method and exception types from conversions are properly referenced if they are not imported 2014-02-26 01:45:39 +01:00
Gunnar Morling
76783edc1c #128 Raising an error in case source enum constant without corresponding constant in target is not mapped 2014-02-23 17:40:22 +01:00
Gunnar Morling
d8df52dbc0 #128 Raising an error in case mapped enum constants don't exist 2014-02-23 17:40:22 +01:00
Gunnar Morling
033def2054 #128 Raising an error in case an enum constant is mapped more than once 2014-02-23 17:40:21 +01:00
Gunnar Morling
f0f3335e28 #128 Adding support for enum mapping methods 2014-02-23 17:40:19 +01:00
Gunnar Morling
5e19394e69 #120 Removing unused constructor 2014-02-22 23:14:43 +01:00
Gunnar Morling
9b8e22462f #120 Consolidating method reference look-up in MapperCreationProcessor 2014-02-22 23:08:40 +01:00
Gunnar Morling
40669a0f8a #120 Minor doc improvements 2014-02-22 23:08:40 +01:00
Gunnar Morling
2398d94752 #120 Don't hold a reference to TypeFactory in built-in method types 2014-02-22 23:07:59 +01:00
Gunnar Morling
52ccedb0e1 #120 Moving built-in methods to o.m.a.model.source.builtin 2014-02-22 23:07:59 +01:00
Gunnar Morling
bc5dda82f8 #120 Making built-in methods null-safe 2014-02-22 23:07:30 +01:00
Gunnar Morling
32f0bc0e22 #120 Formatting and commenting 2014-02-22 23:07:30 +01:00
Gunnar Morling
47ecc23fa0 #120 Propagate built-in methods as MappingMethod implementation to the Mapper in order to avoid the need for specific handling in the template 2014-02-22 23:06:53 +01:00
sjaakd
34484c6686 #120 Renaming BasicMethod to Method 2014-02-22 23:05:05 +01:00
sjaakd
06b4220af8 #120 Renaming Method to SourceMethod 2014-02-22 23:05:04 +01:00
sjaakd
bab8c2bb9b #120 Moving BuildInMethod to the source model 2014-02-22 23:05:04 +01:00
sjaakd
2471edcf69 #120 Method and BuiltInMethod implement a common interface that can be used for matching. 2014-02-22 23:02:44 +01:00
sjaakd
08b6008ed1 #120, solving cyclic packaging dependencies, Moved Context (as inner class) to ConversionContext in model.common, corrected BuildIn to BuiltIn, all requested built-in methods added 2014-02-22 22:56:47 +01:00
sjaakd
6531d995b0 #120 reintroducing lost generics selection check and making sure MapperCreationProcessor state is cleared. 2014-02-22 22:53:27 +01:00
sjaakd
5cdcc88b62 #120 refactoring first attempt after feedback. Making a clean overview by squashing earlier commits on 120. Rebasing master. 2014-02-22 22:53:27 +01:00
Gunnar Morling
8c8f27ca6b #103 Formatting, added a todo 2014-02-22 10:43:46 +01:00
Andreas Gudian
8fe7a846c8 #103 keep defined accessibility modifier of mapper and mapping methods in the generated code 2014-02-16 22:26:31 +01:00
Andreas Gudian
ace47f7e67 extend current classloader instead of creating a classloader chain. 2014-02-16 22:24:59 +01:00
Gunnar Morling
f69069c2f8 #127 Working around broken Eclipse implementation of Types#asMemberOf() 2014-02-12 23:47:52 +01:00
Gunnar Morling
cce558827d #34 Adding concerned method to reported diagnostic in case a mapping is ambiguous 2014-02-09 19:19:09 +01:00