@Test public void getSolrFields() { Assert.assertNotEquals (service.getSolrFields().size(),0); }
public Map<String, SolrField> getSolrFields() { Map<String, SolrField>fields = new HashMap<>(); for (ItemClassMetadataTypes icmt: this.mapItemClassByUri.values()) { Collection<MetadataType> mts = icmt.getAllMetadataTypes(); if (mts == null) { continue; } for (MetadataType mt: mts) { SolrField sf = mt.getSolrField(); if (sf == null) { continue; } fields.put(sf.getName(), sf); } } return fields; }
MetadataTypeService { public Map<String, SolrField> getSolrFields() { Map<String, SolrField>fields = new HashMap<>(); for (ItemClassMetadataTypes icmt: this.mapItemClassByUri.values()) { Collection<MetadataType> mts = icmt.getAllMetadataTypes(); if (mts == null) { continue; } for (MetadataType mt: mts) { SolrField sf = mt.getSolrField(); if (sf == null) { continue; } fields.put(sf.getName(), sf); } } return fields; } }
MetadataTypeService { public Map<String, SolrField> getSolrFields() { Map<String, SolrField>fields = new HashMap<>(); for (ItemClassMetadataTypes icmt: this.mapItemClassByUri.values()) { Collection<MetadataType> mts = icmt.getAllMetadataTypes(); if (mts == null) { continue; } for (MetadataType mt: mts) { SolrField sf = mt.getSolrField(); if (sf == null) { continue; } fields.put(sf.getName(), sf); } } return fields; } MetadataTypeService(); }
MetadataTypeService { public Map<String, SolrField> getSolrFields() { Map<String, SolrField>fields = new HashMap<>(); for (ItemClassMetadataTypes icmt: this.mapItemClassByUri.values()) { Collection<MetadataType> mts = icmt.getAllMetadataTypes(); if (mts == null) { continue; } for (MetadataType mt: mts) { SolrField sf = mt.getSolrField(); if (sf == null) { continue; } fields.put(sf.getName(), sf); } } return fields; } MetadataTypeService(); MetadataType getMetadataTypeById(final String item_class_uri,
         final String type_identifier); MetadataType getMetadataTypeByName(final String item_class_uri,
         final String type_name); Map<String, SolrField> getSolrFields(); }
MetadataTypeService { public Map<String, SolrField> getSolrFields() { Map<String, SolrField>fields = new HashMap<>(); for (ItemClassMetadataTypes icmt: this.mapItemClassByUri.values()) { Collection<MetadataType> mts = icmt.getAllMetadataTypes(); if (mts == null) { continue; } for (MetadataType mt: mts) { SolrField sf = mt.getSolrField(); if (sf == null) { continue; } fields.put(sf.getName(), sf); } } return fields; } MetadataTypeService(); MetadataType getMetadataTypeById(final String item_class_uri,
         final String type_identifier); MetadataType getMetadataTypeByName(final String item_class_uri,
         final String type_name); Map<String, SolrField> getSolrFields(); final static String DHUS_NAMESPACE; final static String METADATA_TYPES_PROPERTY; final static String METADATA_TYPES_ELEMENT_NAME; }