Esempio n. 1
0
 public static Builder newBuilder(Location copy) {
   Builder builder = new Builder();
   builder.id = copy.id;
   builder.address = copy.address;
   builder.channel = copy.channel;
   return builder;
 }
Esempio n. 2
0
 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;
 }
Esempio n. 3
0
 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;
 }