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

nel_h2
Enterprise-grade ITSM, for every business Icon
Enterprise-grade ITSM, for every business

Give your IT, operations, and business teams the ability to deliver exceptional services—without the complexity.

Freshservice is an intuitive, AI-powered platform that helps IT, operations, and business teams deliver exceptional service without the usual complexity. Automate repetitive tasks, resolve issues faster, and provide seamless support across the organization. From managing incidents and assets to driving smarter decisions, Freshservice makes it easy to stay efficient and scale with confidence.
Try it 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