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

Project Activity

See All Activity >

Follow Transformer4j

Transformer4j Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Transformer4j!

Additional Project Details

Registered

2013-08-08