It happens often, you need to transfer an object or entity in another Object.
The simplest way is
targetObject.setMember(srcObject.getMember) etc..
Maybe Transformer4J helps you to save time and hunderts of none tested Code.
use something like
@TransMember
private String name;
or
@TransMember(targetMemberName = "speedValue.valueForCountry.vehicleType")
private VehicleType type;
Features
- Transfer a POJO into another POJO or entity
- Annotate Target or Source Classes and keep the important classes clean and readable
Follow Transformer4j
Other Useful Business Software
Get Avast Free Antivirus | Your top-rated shield against malware and online scams
Our antivirus software scans for security and performance issues and helps you to fix them instantly. It also protects you in real time by analyzing unknown files before they reach your desktop PC or laptop — all for free.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Transformer4j!