Пример #1
0
  private List<ValInfo> validationInfo() {
    final List<ValInfo> list = new ArrayList<ValInfo>();

    for (Metadata m : service.metadata().findAll()) {
      if (m.isNotPathwayData()) continue;

      ValInfo vi = new ValInfo();
      vi.setIdentifier(m.getIdentifier());

      for (Content pd : m.getContent()) vi.getFiles().put(pd.getFilename(), pd.toString());

      list.add(vi);
    }

    return list;
  }