if (metadata.getTechnical().getContactInformation() != null && metadata.getTechnical().getContactInformation().getContactEmail() != null) { ECD.setValue(metadata.getTechnical().getContactInformation().getContactEmail()); } else { ECD.fillEmptyValue();