boolean finish() { IPersonService service = (IPersonService) locator.getService(IPersonService.class); Person person = service.createPerson(getId()); if (person == null) { return false; } person.setGivenname(getGivenname()); person.setSurname(getSurname()); return true; }