67 Commits

Author SHA1 Message Date
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
Andreas Gudian
7d9b42cf35 #82 Use Mappers factory to instanciate used mappers annotated with @Mapper 2014-01-03 20:43:31 +01:00
Gunnar Morling
d38a72c534 #74 Adding support for generating methods from abstract classes 2013-11-30 23:05:01 +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
b8f7c50a03 #64 Removing redundant empty lines 2013-08-17 12:38:08 +02:00
Gunnar Morling
186c127ebd #61 Instantiating collections/maps also if implementation type is used as target type 2013-08-15 23:53:52 +02:00
Gunnar Morling
4f44cea112 #61 Making sure type parameters are correctly specified when instantiating collection types 2013-08-15 23:53:52 +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
b61f0ce915 #31 Improving formatting of generated code 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
346512cc82 #44 Generating Map mapping methods 2013-07-14 17:09:38 +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
Andreas Gudian
1fc36d1415 Correct indentation of property mappings with conversion 2013-07-11 21:57:20 +02:00
Andreas Gudian
a265c14d39 #49 Add componentModel "jsr330"
o Refactor the other component model implementations to reduce code-duplication
2013-07-11 21:50:44 +02:00
Andreas Gudian
e6869f20f1 #47 Support Spring as component model
o Add processor option to set a default component model
2013-07-09 23:42:50 +02:00
Gunnar Morling
97e1848887 #26 Template clean-up 2013-07-07 16:32:57 +02:00
Gunnar Morling
9dd8c179e3 #26 Mapping between String iterables and Date iterables 2013-07-07 14:45:51 +02:00
Gunnar Morling
abba4fb716 #26 Adding support for mappings between Date and String, optionally applying a format string 2013-07-07 14:45:47 +02:00
Gunnar Morling
53597469ad #32 Loading model element processors via service loader 2013-06-29 13:51:37 +02:00
Gunnar Morling
502780c441 #32 Support for CDI-based mapper implementations 2013-06-29 13:39:21 +02:00
Gunnar Morling
a565bed0c7 #32 Establishing processing chain for model creation and transformation 2013-06-27 22:56:49 +02:00
Gunnar Morling
cd0306683f #32 Replacing BeanMapping with plain list of mapping methods 2013-06-23 10:07:49 +02:00
Gunnar Morling
335b9d77ac #32 Extracting template for property mappings 2013-06-22 18:47:32 +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
Gunnar Morling
517817fbfc #32 Creating dedicated template for MappingMethod 2013-06-18 21:27:44 +02:00
Gunnar Morling
c071434c6e #32 Creating dedicated template for BeanMapping 2013-06-16 23:43:26 +02:00
Gunnar Morling
781f698a8a #32 Preparing aggregated model to allow nodes to write out themselves using specific templates 2013-06-16 23:43:26 +02:00
Gunnar Morling
c41f47e03a Giving custom mapping methods precedence over built-in conversions 2013-05-27 21:05:37 +02:00
Gunnar Morling
b826304d4c #10 Raising error in case a property can not be mapped 2013-05-19 20:38:01 +02:00
Gunnar Morling
f4a2260d80 #1 Supporting "is" prefix for boolean getter methods 2013-05-19 18:40:35 +02:00
Gunnar Morling
5a8e34c893 #1 Improving formatting of generated code 2013-05-17 00:25:51 +02:00
Gunnar Morling
da6cdf5d3d #1 Adding conversions for number types 2013-05-17 00:25:51 +02:00
Gunnar Morling
4b1862f52e #9 Passing source bean name into macro, re-ordering parameters 2013-05-16 21:56:40 +02:00
Andreas Gudian
0eee784bd9 #9 Add a macro for performing the non-iterable mappings 2013-05-15 22:40:31 +02:00
Gunnar Morling
289286cdda #2 Generating import statements for used types; Restructuring "complex" test case to make use of imports 2013-05-14 23:32:14 +02:00
Gunnar Morling
d88cc1086a Updating copyright headers to reference contributor file 2013-05-14 22:11:11 +02:00
Andreas Gudian
1d52cb434e o Add option to suppress timestamp in @Generated 2013-05-13 21:09:06 +02:00
Gunnar Morling
ae4655a2ba #6 Making primitive conversions usable for iterable types 2013-05-05 19:12:19 +02:00