Class ArchiveEntryMetadataList

java.lang.Object
io.goobi.viewer.model.archives.ArchiveEntryMetadataList

public class ArchiveEntryMetadataList extends Object
Metadata list for archive entries. This is delegated to its own class so it can live in a different scope than the actual entries. Specifically, this is stored in ArchiveMetadataBean so changes to the metadata list config are updated within the scope of that bean
  • Constructor Details

    • ArchiveEntryMetadataList

      public ArchiveEntryMetadataList(String id, org.apache.solr.common.SolrDocument doc, List<Metadata> metadataList)
  • Method Details

    • getIdentityStatementAreaList

      public List<Metadata> getIdentityStatementAreaList()
      Returns:
      the identityStatementAreaList
    • getContextAreaList

      public List<Metadata> getContextAreaList()
      Returns:
      the contextAreaList
    • getContentAndStructureAreaAreaList

      public List<Metadata> getContentAndStructureAreaAreaList()
      Returns:
      the contentAndStructureAreaAreaList
    • getAccessAndUseAreaList

      public List<Metadata> getAccessAndUseAreaList()
      Returns:
      the accessAndUseAreaList
    • getAlliedMaterialsAreaList

      public List<Metadata> getAlliedMaterialsAreaList()
      Returns:
      the alliedMaterialsAreaList
    • getNotesAreaList

      public List<Metadata> getNotesAreaList()
      Returns:
      the notesAreaList
    • getDescriptionControlAreaList

      public List<Metadata> getDescriptionControlAreaList()
      Returns:
      the descriptionControlAreaList
    • getAreaList

      public List<Metadata> getAreaList(int index)
      Parameters:
      index - Area list index
      Returns:
      Appropriate metadata list for the given index
    • getAllAreaLists

      public List<Metadata> getAllAreaLists()
    • getFirstValue

      public String getFirstValue(String metadataLabel, int metadataType)
    • getFirstValue

      public String getFirstValue(String metadataLabel)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object