896 Commits

Author SHA1 Message Date
sjaakd
81a4cb360d #981 Refactoring, move SourceRHS init to start of property build. 2016-12-05 22:17:34 +01:00
Pascal
075e763556 #469 Consider return values of BeforeMapping/AfterMapping methods
This allows to handle cycles in object graphs, as demonstrated in the
test case CallbacksWithReturnValuesTest
2016-12-04 16:15:19 +01:00
Filip Hrisafov
746f49fe3d #557 Provide a way to use direct field mappings within mapstruct 2016-12-03 21:57:13 +01:00
Filip Hrisafov
bfad22edf7 Merge branch '1.1-master' 2016-12-02 22:58:43 +01:00
Filip Hrisafov
a20b077150 #980 Add tests for the Strings class 2016-12-02 22:56:15 +01:00
Filip Hrisafov
3dac7d9f41 #978 make sure that the safe variable name does not contain dots in it, if it does split it and join and camelize the parts 2016-12-02 22:56:15 +01:00
Andreas Gudian
050c398da6 #966 Avoid missing newlines between methods and multiple newlines (generally) by adding a checkstyle rule, fixing current incarnations. 2016-12-01 21:52:58 +01:00
Remo
35b8972d76 #824 Target Bean Factory
Introduced @ObjectFactory annotation to distinguish between factory and
mapping methods. Until now this was decided based on the lack of
parameters. @ObjectFactory gives a factory access to source object by
defining them as parameters.
2016-12-01 10:38:37 +01:00
Filip Hrisafov
03e4840f10 Merge branch '1.1-master' 2016-11-30 01:38:30 +01:00
Filip Hrisafov
980acba2ac #971 Make sure that an Iterable or Map MapingMethod are equal if their source parameters are from the same type 2016-11-30 01:37:39 +01:00
sjaakd
afaca926ae #899 Refactoring adderwrapper, simplifying SourceRHS. 2016-11-27 22:47:17 +01:00
sjaakd
488eae2de2 #968 removing strange enters and spaces in formatting. 2016-11-26 17:38:10 +01:00
Andreas Gudian
62721b207b [maven-release-plugin] prepare for next development iteration 2016-11-18 21:45:42 +01:00
Andreas Gudian
b0b816f552 [maven-release-plugin] prepare release 1.1.0.Final 2016-11-18 21:45:41 +01:00
sjaakd
dc61079793 Merge branch '1.1-master' into master 2016-11-14 23:31:33 +01:00
sjaakd
4c4a9ea934 #954 cleanup 2016-11-14 22:49:47 +01:00
sjaakd
9186978e1f #954 Explicit set to null NOT for NVCS.ALWAYS and presence-checkers 2016-11-14 22:49:31 +01:00
sjaakd
48181ae09e #913 New property mapping collection handling, unit test extension 2016-11-14 22:49:08 +01:00
Andreas Gudian
f22eb766f2 Merge branch '1.1-master' into master 2016-11-14 22:32:46 +01:00
sjaakd
71a6ef4836 #955 Import type param type when call to upd. method for coll.impl type 2016-11-14 22:28:16 +01:00
Andreas Gudian
44f7070e75 Update version on master branch to 1.2.0-SNAPSHOT 2016-11-07 21:08:42 +01:00
Andreas Gudian
d83be86994 [maven-release-plugin] prepare for next development iteration 2016-11-07 20:52:04 +01:00
Andreas Gudian
4eb8fae8df [maven-release-plugin] prepare release 1.1.0.CR2 2016-11-07 20:52:03 +01:00
sjaakd
1fa0c4aa3b #913 New property mapping collection handling 2016-11-06 20:48:10 +01:00
Andreas Gudian
4832369148 #892 If multiple setters exist, don't override the setter if it doesn't match the property getters type. 2016-11-02 22:27:59 +01:00
Andreas Gudian
f8bb31f98d #900 Use "@Generated" only when it's available on the classpath. 2016-10-28 20:26:13 +02:00
sjaakd
c105630379 #689 Moving test to right spot and making it Locale independent. 2016-10-25 21:48:08 +02:00
sjaakd
a1131e68c9 #689 Joda LocalTime to XmlGregorianCalendar built in and vice versa 2016-10-25 21:48:08 +02:00
sjaakd
aec5922bd0 #689 Joda LocalDate to XmlGregorianCalendar built in and vice versa 2016-10-25 21:48:08 +02:00
sjaakd
e43b00d29c #689 Joda LocalDateTime to XmlGregorianCalendar built in and vice versa 2016-10-25 21:48:08 +02:00
sjaakd
13395f5958 #689 Joda DateTime to XmlGregorianCalendar built in and vice versa 2016-10-25 21:48:08 +02:00
sjaakd
b653c6b464 #931 nested forged methods return wrapped type when target is an object 2016-10-23 22:23:57 +02:00
Gunnar Morling
c64919829a #852 Adding explicit conversion for LocalDate <> XMLGregorianCalendar 2016-10-23 21:00:57 +02:00
Peter Larson
e13696172e #852 Expanding converters to cover java 8 LocalDate to java.util.Date 2016-10-23 21:00:47 +02:00
sjaakd
c36f4577ab #921 Avoid generation of duplicate local variable name 2016-10-20 21:03:42 +02:00
Andreas Gudian
d94d5857ce #919 Fix compilation error in map-mapping methods with non-generic maps as source 2016-10-10 20:04:44 +02:00
Gunnar Morling
7b0079c6be #915 Adding debug information to class files created during tests 2016-09-29 22:24:18 +02:00
Gunnar Morling
2bbc733932 #858 Deleting unused class 2016-09-29 19:20:14 +02:00
Gunnar Morling
75e3fe1e72 #909 Adding comment on workaround 2016-09-29 17:56:20 +02:00
Andreas Gudian
7bd1ed6180 #909 Avoid using 'values' as parameter name to work around a supsected issue in Freemarker. 2016-09-26 22:46:05 +02:00
Andreas Gudian
f822000f92 #853 Minor adjustments after review 2016-09-21 22:42:59 +02:00
stefan.may
1be3c4dbaa #853 Enable support for Iterable / Map classes which are not generic, like they are generated by JAXB (e.g. public class StringList extends List<String>) 2016-09-21 22:42:58 +02:00
Gunnar Morling
9753fdc17a #765 Omitting "return" key word when returning from decorated void method 2016-09-21 22:26:43 +02:00
Filip Hrisafov
ab159ed86a remove java.sql.Time and java.sql.Timestamp FQN 2016-09-21 19:55:21 +02:00
Filip Hrisafov
5fd0c3e3d4 remove builtin methods; remove test which is not needed anymore 2016-09-21 19:55:20 +02:00
Filip Hrisafov
c5dc2ccb92 use SimpleConversion for java.sql mappings 2016-09-21 19:55:20 +02:00
Filip Hrisafov
f88fd6ece9 #858: Add built in methods for java.sql.Time, java.sql.Timestamp and java.sql.Date 2016-09-21 19:55:20 +02:00
Andreas Gudian
5927431791 #895 Fix generating forged iterable methods for mapping multi-dimensional Array types 2016-09-17 11:58:27 +02:00
sjaakd
371e0884a4 #891 Cleanup and renaming of Direct and AssignmentFactory 2016-09-16 23:05:37 +02:00
sjaakd
750af10900 #891 Implementation and unit test 2016-09-16 23:05:37 +02:00