162 Commits

Author SHA1 Message Date
sjaakd
b5e18b54fc #255 avoid empty if check due to the introduction of constants in bean mapping 2014-07-06 11:16:32 +02:00
sjaakd
cd1037a663 #227 removing the new collection / map implementation from the addAll methods 2014-06-22 22:54:20 +02:00
sjaakd
6eed953fdf #227 small improvement, removing constructor argument from GetterCollectionOrMapWrapper 2014-06-22 20:54:39 +02:00
sjaakd
acfca6235d #207 adder method support for target collections and unit test 2014-06-19 21:42:02 +02:00
sjaakd
6d682c5118 #214 addressing superfluous NPE checks and adding NPE rudimentary unit tests 2014-06-18 22:02:28 +02:00
sjaakd
e701801ec5 #187 introducing constant mapping 2014-06-09 14:45:01 +02:00
sjaakd
51e33cb343 #198 fixing comments @agudian and applying throws clause to all MappingMethods 2014-04-21 12:11:08 +02:00
sjaakd
0ed14cd691 #198 fixed, exceptions thrown by used Mappers aren't properly handled in the generated code 2014-04-19 23:29:25 +02:00
sjaakd
649d48b8c4 #200 fixing comments @agudian 2014-04-18 12:51:40 +02:00
sjaakd
3e7e2e0443 #200 renaming Decorator to Wrapper, Adding Javadoc, Factory to FactoryMethod, cleanup 2014-04-15 21:42:23 +02:00
sjaakd
d412fd3e83 #200 refactoring model, common interface for SimpleAssignment, TypeConversion and MethodReference, introducing decorators 2014-04-14 21:47:18 +02:00
sjaakd
01e918b3e0 #157 introduction of conversionY( methodX ( parameter ) ) 2014-04-14 15:06:11 +02:00
sjaakd
23f3d4a3c1 #157 accomodating for conversionY( methodX ( parameter ) ) 2014-04-14 15:06:11 +02:00
sjaakd
3c58551649 #157 implementing mapping methodY( conversionX ( parameter ) ) 2014-04-14 13:04:31 +02:00
sjaakd
9c17909fd6 #157 renaming ParameterAssignment in the more suitable TargetAssignment, creating package creation in processor for creation helpers, refactor MappingResolver 2014-04-14 13:04:31 +02:00
sjaakd
fbd06315a0 #157 refactoring, adding ParameterAssignment Freemarker template and using it. 2014-04-14 12:56:19 +02:00
Andreas Gudian
c051741824 #156 correctly handle imports / fully qualified names for @TargetType class literals 2014-04-13 12:59:02 +02:00
Andreas Gudian
e5b9ee2cb1 #178 avoid unused imports in property-mappings 2014-04-13 12:59:02 +02:00
Gunnar Morling
c374f7c818 #191 Adding Christian to copyright.txt 2014-04-05 18:26:53 +02:00
Christian Schuster
9711d5615e #191 extend delegate template to avoid duplicate mapper instantiation 2014-04-04 21:18:11 +02: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
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
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
sjaakd
27c85d8f97 #134 adding nested method match functionality including UT after merge with #135 2014-02-27 23:11:11 +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
f0f3335e28 #128 Adding support for enum mapping methods 2014-02-23 17:40:19 +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
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
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
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
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
Gunnar Morling
f122daec6d #81 Formatting 2014-02-09 11:21:52 +01:00
sjaakd
aa06a767ac #81 adding implementation for Map and Iterable types, and adding unit test. NOTE a TODO is still in MapperCreationProcessor 2014-02-02 20:36:49 +01:00
sjaakd
11ba30f8a5 #81, removing empty lines after factory method from code generation 2014-02-02 17:15:45 +01:00
sjaakd
9c45c96d8d #81, removing FactoryMethod in favour of MethodReference 2014-02-02 17:15:07 +01:00
sjaakd
a9d2f788de #81, refactoring MappingMethodReference to MethodReference to accomodate for factory usage of this method 2014-02-02 16:49:35 +01:00
sjaakd
b456cc8b6b #81, remove isHasFactoryMethod construction in the Freemarker template in favour for the '??' 2014-02-02 16:40:17 +01:00
sjaakd
b565c6fe60 #81 making use of template FactoryMethod.ftl 2014-01-31 22:25:41 +01:00
sjaakd
c3df6d8572 squash issue 81 after rebase to issue 112 2014-01-30 23:09:36 +01:00
Gunnar Morling
e5668325f0 #112 Making sure not more than one type with the same simple name is imported 2014-01-29 21:03:20 +01:00
Gunnar Morling
e23ee852fa #109 Breaking up cycle between model and source model by extracting package with shared types 2014-01-26 12:38:27 +01:00
Gunnar Morling
e072826c9d #109 Removing package cycle around Options class 2014-01-26 11:46:48 +01:00
Gunnar Morling
d7864e0566 #92 Making generated code more null-safe and avoiding unnecessary collection instantiation 2014-01-21 00:13:10 +01:00
sjaakd
e5cfb07af5 issue 92 solution for list getter without setter 2014-01-20 22:37:31 +01:00
Gunnar Morling
3c8f969573 #86 Updating license header 2014-01-12 19:48:08 +01:00
Gunnar Morling
f9bfc4572e #87 Supporting iterable mapping methods where the target element type is the same as or a super-type of the source element type; Raising an error if iterable or map mapping methods can't be generated 2014-01-06 00:00:23 +01:00