@Override public String getSubjectPhone() { if (!StringUtils.isBlank(request.getSubject().getAdult().getHomePhone())) { return request.getSubject().getAdult().getHomePhone(); } else if (!StringUtils.isBlank(request.getSubject().getAdult().getMobilePhone())) { return request.getSubject().getAdult().getMobilePhone(); } else if (!StringUtils.isBlank(request.getSubject().getAdult().getOfficePhone())) { return request.getSubject().getAdult().getOfficePhone(); } return ""; }
@Override public String getSubjectEmail() { return request.getSubject().getAdult().getEmail(); }
@Override public String getSubjectEdemandeId() { return request.getSubject().getAdult().getExternalId(); }
@Override public String getSubjectBirthCity() { return request.getSubject().getAdult().getBirthPlace() != null ? request.getSubject().getAdult().getBirthPlace().getCity() : null; }
@Override public AddressType getSubjectAddress() { return request.getSubject().getAdult().getAddress(); }
@Override public void setSubjectEdemandeId(String id) { request.getSubject().getAdult().setExternalId(id); }
@Override public Long getSubjectId() { return request.getSubject().getAdult().getId(); }
@Override public TitleType.Enum getSubjectTitle() { return request.getSubject().getAdult().getTitle(); }
@Override public String getSubjectLastName() { return request.getSubject().getAdult().getLastName(); }