Data Transfer Object Methods
DataTransferObjects (or DTOs) are transient objects meaning that changes to their state are not directly persisted. They provide a mechanism where the set of properties of an entity can be passed around in business logic without the implication that changes to their values will be transparently persisted to the database.
getFoo()/setFoo(Bar)-Get or set the value of the property "foo".
newEntity()-Create a new persistent entity based on the values currently held in the DTO.