Class MetadataParameter

java.lang.Object
io.goobi.viewer.model.metadata.MetadataParameter
All Implemented Interfaces:
Serializable

public class MetadataParameter extends Object implements Serializable

MetadataParameter class.

See Also:
  • Constructor Details

    • MetadataParameter

      public MetadataParameter()
  • Method Details

    • hashCode

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

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

      public String getSource()

      Getter for the field source.

      Returns:
      the source
    • setSource

      public MetadataParameter setSource(String source)
      Parameters:
      source - the source to set
      Returns:
      this
    • getDestination

      public String getDestination()
      Returns:
      the destination
    • setDestination

      public MetadataParameter setDestination(String destination)
      Parameters:
      destination - the destination to set
      Returns:
      this
    • getType

      Getter for the field type.

      Returns:
      the type
    • setType

      Setter for the field type.

      Parameters:
      type - the type to set
      Returns:
      this
    • getKey

      public String getKey()

      Getter for the field key.

      Returns:
      the key
    • setKey

      public MetadataParameter setKey(String key)
      Parameters:
      key - the key to set
      Returns:
      this
    • getAltKey

      public String getAltKey()
      Returns:
      the altKey
    • setAltKey

      public MetadataParameter setAltKey(String altKey)
      Parameters:
      altKey - the altKey to set
      Returns:
      this
    • getMasterValueFragment

      public String getMasterValueFragment()

      Getter for the field masterValueFragment.

      Returns:
      the masterValueFragment
    • setMasterValueFragment

      public MetadataParameter setMasterValueFragment(String masterValueFragment)
      Parameters:
      masterValueFragment - the masterValueFragment to set
      Returns:
      this
    • getDefaultValue

      public String getDefaultValue()

      Getter for the field defaultValue.

      Returns:
      the defaultValue
    • setDefaultValue

      public MetadataParameter setDefaultValue(String defaultValue)
      Parameters:
      defaultValue - the defaultValue to set
      Returns:
      this
    • getPrefix

      public String getPrefix()

      Getter for the field prefix.

      Returns:
      the prefix
    • setPrefix

      public MetadataParameter setPrefix(String prefix)
      Parameters:
      prefix - the prefix to set
      Returns:
      this
    • getSuffix

      public String getSuffix()

      Getter for the field suffix.

      Returns:
      the suffix
    • setSuffix

      public MetadataParameter setSuffix(String suffix)
      Parameters:
      suffix - the suffix to set
      Returns:
      this
    • getCondition

      public String getCondition()
      Returns:
      the condition
    • setCondition

      public MetadataParameter setCondition(String condition)
      Parameters:
      condition - the condition to set
      Returns:
      this
    • getPattern

      public String getPattern()
      Returns:
      the pattern
    • setPattern

      public MetadataParameter setPattern(String pattern)
      Parameters:
      pattern - the pattern to set
      Returns:
      this
    • isAddUrl

      public boolean isAddUrl()

      isAddUrl.

      Returns:
      the addUrl
    • setAddUrl

      public MetadataParameter setAddUrl(boolean addUrl)
      Parameters:
      addUrl - the addUrl to set
      Returns:
      this
    • isTopstructValueFallback

      public boolean isTopstructValueFallback()

      isTopstructValueFallback.

      Returns:
      the dontUseTopstructValue
    • setTopstructValueFallback

      public MetadataParameter setTopstructValueFallback(boolean topstructValueFallback)
      Parameters:
      topstructValueFallback - the topstructValueFallback to set
      Returns:
      this
    • isRemoveHighlighting

      public boolean isRemoveHighlighting()
      Returns:
      the removeHighlighting
    • setRemoveHighlighting

      public MetadataParameter setRemoveHighlighting(boolean removeHighlighting)
      Parameters:
      removeHighlighting - the removeHighlighting to set
      Returns:
      this
    • getReplaceRules

      public List<MetadataReplaceRule> getReplaceRules()

      Getter for the field replaceRules.

      Returns:
      the replaceRules
    • setReplaceRules

      public MetadataParameter setReplaceRules(List<MetadataReplaceRule> replaceRules)
      Parameters:
      replaceRules - the replaceRules to set
      Returns:
      MetadataParameter
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • createFromConfig

      public static MetadataParameter createFromConfig(org.apache.commons.configuration2.HierarchicalConfiguration<org.apache.commons.configuration2.tree.ImmutableNode> config, boolean topstructValueFallbackDefaultValue)
      Parameters:
      config -
      topstructValueFallbackDefaultValue -
      Returns:
      MetadataParameter