osglworks / java-tool

Some simple common Java utilities
Apache License 2.0
52 stars 18 forks source link

Mapping framework - Add MERGE_MAPPING semantic #100

Closed greenlaw110 closed 6 years ago

greenlaw110 commented 6 years ago

Right now (osgl-tool-1.12.0) has four semantic of Mapping:

MAPPING is now behave like MERGE and with value type convert support. It lack the semantic for the case when developer want DEEP_COPY plus value type convert.

Hence it could be good to introduce new semantic: MERGE_MAPPING to replace current MAPPING, and get current MAPPING implement the DEEP_COPY plus value type convert behavior.