Class MetadataBuilder

java.lang.Object
io.goobi.viewer.model.metadata.MetadataBuilder

public class MetadataBuilder extends Object
  • Constructor Details

    • MetadataBuilder

      public MetadataBuilder(MetadataContainer metadata)
    • MetadataBuilder

      public MetadataBuilder(org.apache.solr.common.SolrDocument doc)
      Parameters:
      doc -
    • MetadataBuilder

      public MetadataBuilder(StructElement doc)
    • MetadataBuilder

      public MetadataBuilder(ComplexMetadata metadata)
      Parameters:
      metadata -
    • MetadataBuilder

      public MetadataBuilder(Map<String,List<de.intranda.metadata.multilanguage.IMetadataValue>> values)
      Parameters:
      values -
  • Method Details

    • build

      public de.intranda.metadata.multilanguage.IMetadataValue build(Metadata metadataConfiguration)
    • getDateFieldValue

      public static de.intranda.metadata.multilanguage.IMetadataValue getDateFieldValue(MetadataParameter param, de.intranda.metadata.multilanguage.IMetadataValue keyValue, de.intranda.metadata.multilanguage.IMetadataValue altKeyValue)
      Parameters:
      param -
      keyValue -
      altKeyValue -
      Returns:
      IMetadataValue