intellij-generateAllSetMethod
intellij-generateAllSetMethod copied to clipboard
Support configuring type conversion
trafficstars
The objects that we are mapping don't always have the same types of fields. For example, sometimes it's needed to perform type conversions:
- from UUID to String
- from Date/LocalDate to Long
- between enum types
Would be best if such mappings would be configurable either in project properties (settings) or using some configuration file (whatever is easier)
so what about the field names, like from Date/LocalDate to Long, does they have the same field names? If they got same field names. i think this can be done automatically.