I have ComplexCustomerResponse (not persisted), it is composed of data from various sources - CheeseEntity, EmployeeEntity, VehicleEntity. The entities are hibernate entities and shared across multiple projects.
To map/convert the data, I want to create a TemporaryHoldingObject that will look like :
temporaryHoldingObject.setCheeseEntity();
temporaryHoldingObject.setEmployeeEntity();
temporaryHoldingObject.setVehicleEntity();
And have nothing else in it, is there a correct design pattern/name for this object ?
Aucun commentaire:
Enregistrer un commentaire