581 Commits

Author SHA1 Message Date
Gunnar Morling
a7be616ee9 #34 Fixing some typos; Removing Type#isAnnotatedMapper() in favor of the more generic isAnnotatedWith() method; Formatting 2014-01-08 22:26:51 +01:00
Andreas Gudian
aa3fa638b9 #34 Find best matching property mapping methods
#82 fix using Mappers factory to instanciate used mappers annotated with @Mapper
2014-01-07 22:55:46 +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
e325862448 #79 Formatting 2014-01-05 20:08:15 +01:00
Gunnar Morling
623acb6f10 #79 Some typo fixes, simplifications and comment improvements 2014-01-05 20:08:15 +01:00
sjaak
3bdc67f9ba Issue #79 Fixing @withClasses per test case 2014-01-05 20:08:15 +01:00
sjaak
b249c2ced1 Issue #79 Adding generics solution for custom mappers 2014-01-05 20:07:55 +01:00
Gunnar Morling
260a685f65 Merging test classes specified via @WithClasses on method and class level 2014-01-05 00:27:39 +01:00
Gunnar Morling
8426b1af34 Making processor a bit more robust against source files missing in compilation 2014-01-04 18:14:06 +01:00
Andreas Gudian
dddfdf1a70 Fix compile problem with jdk 6 2013-12-02 22:19:25 +01:00
Gunnar Morling
d38a72c534 #74 Adding support for generating methods from abstract classes 2013-11-30 23:05:01 +01:00
Gunnar Morling
ae8e4f4b81 #21 Adding conversions for BigDecimal 2013-08-16 20:38:24 +02:00
Gunnar Morling
c2a7853e4c #52 Moving Mappers class to package org.mapstruct.factory 2013-08-16 19:11:46 +02:00
Gunnar Morling
be3018b614 #61 Raising an error in case a collection/map attribute can't be propagated due to differently parameterized attributes in source and target 2013-08-15 23:53:52 +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
1e280f83c9 #61 Making sure attributes can be mapped if target attribute is of a super-type 2013-08-15 23:53:52 +02:00
Gunnar Morling
e82dd009f0 #61 Adding test for map mapping 2013-08-15 23:53:52 +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
1648375ede #31 Improving reporting in case actual diagnostics are different than expected ones 2013-08-15 23:53:51 +02:00
Gunnar Morling
305a2ec475 #58 Adding methods in test mapper 2013-07-22 22:31:43 +02:00
Gunnar Morling
45968f9fd7 #19 Requiring @MappingTarget annotation for target parameters for the sake of readability/explicitness; Improving test method names 2013-07-21 12:23:43 +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
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
f9343bdc3f #44 Adding tests for referencing map mapping methods for mapping properties 2013-07-14 22:45:22 +02:00
Gunnar Morling
ea436e061f #44 Adding support for specification of date formats in Map mapping methods 2013-07-14 22:31:47 +02:00
Gunnar Morling
346512cc82 #44 Generating Map mapping methods 2013-07-14 17:09:38 +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
63b90353a8 #26 Adding conversions for BigInteger 2013-07-06 11:34:19 +02:00
Gunnar Morling
b3654979ad #41 Adding test; Actual issue was fixed by previous refactorings 2013-07-06 10:30:56 +02:00
Gunnar Morling
1972f36ec1 #32 Simplifying messaging 2013-07-01 23:39:55 +02:00
Gunnar Morling
17f106c6ea #32 Some clean-up 2013-06-30 10:56:27 +02:00
Gunnar Morling
502780c441 #32 Support for CDI-based mapper implementations 2013-06-29 13:39:21 +02:00
Gunnar Morling
9a4e51801f #32 Making build work on JDK 6 2013-06-27 22:51:10 +02:00
Gunnar Morling
522c9e851a #35 Adding processor option for setting default target mapping policy 2013-06-16 23:23:21 +02:00
Gunnar Morling
04beaacbe1 #35 Allowing to specify processor options for processor tests 2013-06-16 23:23:21 +02:00
Gunnar Morling
bf5a4303b6 #35 Raising warning in case of unmapped target properties 2013-06-16 23:23:21 +02:00
Gunnar Morling
bc22e6ce15 #17 Fixing NPE in case of attribute without setter in source type 2013-06-16 23:23:21 +02:00
Gunnar Morling
9318adf7b7 #17 Mapping attributes inherited from super types (from Andreas) 2013-06-16 23:23:21 +02:00
Gunnar Morling
9f7db53bdd Fix tests that failed on Win+jdk6 (error messages are preceeded with source file path) (from Andreas) 2013-06-16 23:22:58 +02:00
Gunnar Morling
c0bd8c7b18 #36 Specifying expected diagnostic messages in processor tests 2013-06-09 21:16:45 +02:00
Gunnar Morling
60126183a3 #36 Allowing messages to be used in diagnostic expectations 2013-06-09 21:16:24 +02:00
Gunnar Morling
e53adbd817 #35 Making @WithClasses usable on the method level 2013-06-08 23:13:20 +02:00
Gunnar Morling
b3b90f7969 #11 Raising an error when referencing unknown attribute in @Mapping 2013-06-02 15:47:14 +02:00
Gunnar Morling
fd286e17ab #33 Fixing CheckStyle issues 2013-06-01 18:11:11 +02:00
Gunnar Morling
c41f47e03a Giving custom mapping methods precedence over built-in conversions 2013-05-27 21:05:37 +02:00
Gunnar Morling
0c6c28f13c Raising an error when trying to generate a mapping from primitive to reference type or vice versa 2013-05-20 12:55:15 +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