@SuppressWarnings("deprecation") @Test public void getEnabledNonIdentifiableFieldNames() { this.component.setSections(this.sections); final List<String> fields = this.component.getEnabledNonIdentifiableFieldNames(); Assert.assertEquals(2, fields.size()); List<String> expected = Arrays.asList("d", "e"); Assert.assertEquals(expected, fields); }
@SuppressWarnings("deprecation") @Override public List<String> getEnabledNonIdentifiableFieldNames() { List<String> result = new LinkedList<>(); for (RecordSection section : getEnabledSections()) { for (RecordElement element : section.getEnabledElements()) { if (!element.containsPrivateIdentifiableInformation()) { result.addAll(element.getDisplayedFields()); } } } return Collections.unmodifiableList(result); }
DefaultRecordConfiguration implements RecordConfiguration { @SuppressWarnings("deprecation") @Override public List<String> getEnabledNonIdentifiableFieldNames() { List<String> result = new LinkedList<>(); for (RecordSection section : getEnabledSections()) { for (RecordElement element : section.getEnabledElements()) { if (!element.containsPrivateIdentifiableInformation()) { result.addAll(element.getDisplayedFields()); } } } return Collections.unmodifiableList(result); } }
DefaultRecordConfiguration implements RecordConfiguration { @SuppressWarnings("deprecation") @Override public List<String> getEnabledNonIdentifiableFieldNames() { List<String> result = new LinkedList<>(); for (RecordSection section : getEnabledSections()) { for (RecordElement element : section.getEnabledElements()) { if (!element.containsPrivateIdentifiableInformation()) { result.addAll(element.getDisplayedFields()); } } } return Collections.unmodifiableList(result); }  }
DefaultRecordConfiguration implements RecordConfiguration { @SuppressWarnings("deprecation") @Override public List<String> getEnabledNonIdentifiableFieldNames() { List<String> result = new LinkedList<>(); for (RecordSection section : getEnabledSections()) { for (RecordElement element : section.getEnabledElements()) { if (!element.containsPrivateIdentifiableInformation()) { result.addAll(element.getDisplayedFields()); } } } return Collections.unmodifiableList(result); }  @Override List<RecordSection> getAllSections(); @Override List<RecordSection> getEnabledSections(); @Override void setSections(List<RecordSection> sections); @Override List<String> getEnabledFieldNames(); @SuppressWarnings("deprecation") @Override List<String> getEnabledNonIdentifiableFieldNames(); @Override List<String> getAllFieldNames(); @Override DocumentReference getPhenotypeMapping(); @Override void setPhenotypeMapping(DocumentReference mapping); @Override String getISODateFormat(); @Override String getDateOfBirthFormat(); @Override void setDateOfBirthFormat(String format); @Override String toString(); }
DefaultRecordConfiguration implements RecordConfiguration { @SuppressWarnings("deprecation") @Override public List<String> getEnabledNonIdentifiableFieldNames() { List<String> result = new LinkedList<>(); for (RecordSection section : getEnabledSections()) { for (RecordElement element : section.getEnabledElements()) { if (!element.containsPrivateIdentifiableInformation()) { result.addAll(element.getDisplayedFields()); } } } return Collections.unmodifiableList(result); }  @Override List<RecordSection> getAllSections(); @Override List<RecordSection> getEnabledSections(); @Override void setSections(List<RecordSection> sections); @Override List<String> getEnabledFieldNames(); @SuppressWarnings("deprecation") @Override List<String> getEnabledNonIdentifiableFieldNames(); @Override List<String> getAllFieldNames(); @Override DocumentReference getPhenotypeMapping(); @Override void setPhenotypeMapping(DocumentReference mapping); @Override String getISODateFormat(); @Override String getDateOfBirthFormat(); @Override void setDateOfBirthFormat(String format); @Override String toString();  }