public static Builder newBuilder(Location copy) { Builder builder = new Builder(); builder.id = copy.id; builder.address = copy.address; builder.channel = copy.channel; return builder; }
public static Builder newBuilder(UserDataSet copy) { Builder builder = new Builder(); builder.id = copy.getId(); builder.email = copy.getEmail(); builder.firstName = copy.getFirstName(); builder.lastName = copy.getLastName(); builder.password = copy.getPassword(); builder.birthdate = copy.getBirthDate(); builder.balance = copy.getBalance(); return builder; }
public static Builder newBuilder(UserDto copy) { Builder builder = new Builder(); builder.id = copy.id; builder.email = copy.email; builder.firstName = copy.firstName; builder.lastName = copy.lastName; builder.password = copy.password; builder.birthdate = copy.birthdate; builder.balance = copy.balance; return builder; }