Beispiel #1
0
 @Override
 protected Person createInstance() {
   Person person = new Person();
   person.setId(getId());
   return person;
 }
Beispiel #2
0
 @Override
 protected void configureInstance(Person person) {
   person.setFName(_fname);
   person.setLName(_lname);
   person.setStreet(_street);
   person.setHouseNumber(_houseNumber);
   person.setPostalCode(_postalCode);
   person.setCity(_city);
   person.setEmail(_email);
   person.setBirthdate(_birthdate);
   person.setPaid(_paid);
   person.setRosters(_rosters);
   person.setTeams(_teams);
   person.setTrainedTeams(_trainedTeams);
 }