35 Commits

Author SHA1 Message Date
Andreas Gudian
bcb722e2e9 #291 add test to verify that the simple case (target type with type arguments) already works, clean-up unnecessary "raw" definitions in templates 2015-03-28 10:48:27 +01:00
sjaakd
776bc3d157 #160 Refactoring into targetReadAccessor and targetWriteAccessor and making them available to ftl templates 2015-03-04 21:58:33 +01:00
Gunnar Morling
13f9a5027a #213 Updating license header 2015-01-07 20:11:59 +01:00
sjaakd
668f66eb73 #405 Fixing factory methods, not using raw type for @TargetType and superfluous implementation classes imports 2015-01-06 21:14:25 +01:00
Andreas Gudian
3e81651455 Minor formatting fixes of generated code 2014-12-28 21:13:09 +01:00
sjaakd
08cf60e46a #108 Aligning Array and Itterable mapping. Added ArrayCopyWrapper. 2014-12-28 20:52:01 +01:00
sjaakd
9b8076eff3 #374 non-compilable code for @NullValueMapping.RETURN_DEFAULT in combination with @MappingTarget 2014-12-13 17:53:16 +01:00
sjaakd
403995af9a #361 returning mutable objects iso immutable objects when RETURN_DEFAULT 2014-11-26 23:01:20 +01:00
sjaakd
94d8158bca #295 NullValueMapping for IterableMapping on mapping method level 2014-11-24 21:11:14 +01:00
sjaakd
5cd90ae6cf #307 fix non used imports in adder functionality 2014-10-04 11:27:34 +02:00
sjaakd
7472f5e946 #3 and #4 automatically generated iterable- and map-mappings 2014-08-16 20:06:20 +02:00
sjaakd
6d682c5118 #214 addressing superfluous NPE checks and adding NPE rudimentary unit tests 2014-06-18 22:02:28 +02:00
sjaakd
51e33cb343 #198 fixing comments @agudian and applying throws clause to all MappingMethods 2014-04-21 12:11:08 +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
fbd06315a0 #157 refactoring, adding ParameterAssignment Freemarker template and using it. 2014-04-14 12:56:19 +02: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
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
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
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
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
Gunnar Morling
3e8ba36774 #64 Removing superfluous indentations from templates; Each template can start with an indentation of 0 as it will be correctly indented automatically later on 2013-08-18 00:30:46 +02:00
Gunnar Morling
88011a91a3 #61 Simplifying template a bit 2013-08-15 23:53:51 +02:00
Gunnar Morling
585f944574 #61 Refactoring Type into a wrapper around TypeMirror 2013-08-15 23:53:51 +02:00
Gunnar Morling
86a8e72692 #31 Providing support for bean mapping methods with several source parameters 2013-08-15 23:53:51 +02:00
Gunnar Morling
9e5fc2af8e #19 Adding template for Parameter, simplifying PropertyMapping by passing source and target bean via template 2013-07-21 11:59:02 +02:00
Gunnar Morling
a931cff0e5 Merge branch 'agudian_19'
# By Andreas Gudian (2) and Gunnar Morling (1)
* agudian_19:
  #19 Simplifying creation of MappingMethod objects
  #19 Map into existing instances. - Either defined explicitly with @MappingTarget, or implicitly as last parameter in a void method.
  Have spaces on empty for iterator pads
2013-07-21 11:41:49 +02:00
Gunnar Morling
476f147078 #19 Simplifying creation of MappingMethod objects 2013-07-21 10:45:53 +02:00
Andreas Gudian
466a640ced #19 Map into existing instances.
- Either defined explicitly with @MappingTarget, or implicitly as last parameter in a void method.
2013-07-16 23:09:57 +02:00
Gunnar Morling
1b0447d404 #53 Avoiding conlicting variable names 2013-07-15 23:43:11 +02:00
Gunnar Morling
592371e562 #44 Fixing some issues around iterable methods 2013-07-14 17:09:38 +02:00
Gunnar Morling
6e9abacdd6 #44 Creating template for writing MappingMethodReferences, enhancing templating mechanism to pass additional objects to <includeModel/> directive 2013-07-13 16:30:31 +02:00
Gunnar Morling
ac9859c38d #44 Enabling types with more than one type parameter 2013-07-13 14:42:12 +02:00
Gunnar Morling
9dd8c179e3 #26 Mapping between String iterables and Date iterables 2013-07-07 14:45:51 +02:00
Gunnar Morling
eeb811e450 #32 Splitting up simple and iterable mapping methods into separate classes/templates 2013-06-22 18:47:32 +02:00