Package io.goobi.viewer.model.metadata
Class MetadataParameter
java.lang.Object
io.goobi.viewer.model.metadata.MetadataParameter
- All Implemented Interfaces:
Serializable
MetadataParameter class.
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic MetadataParametercreateFromConfig(org.apache.commons.configuration2.HierarchicalConfiguration<org.apache.commons.configuration2.tree.ImmutableNode> config, boolean topstructValueFallbackDefaultValue) booleanGetter for the fielddefaultValue.getKey()Getter for the fieldkey.Getter for the fieldmasterValueFragment.Getter for the fieldprefix.Getter for the fieldreplaceRules.getScope()Getter for the fieldsource.Getter for the fieldsuffix.getType()Getter for the fieldtype.inthashCode()booleanisAddUrl()isAddUrl.booleanbooleanisTopstructValueFallback.setAddUrl(boolean addUrl) setCondition(String condition) setDefaultValue(String defaultValue) setDestination(String destination) setInputPattern(String inputPattern) setMasterValueFragment(String masterValueFragment) setOutputPattern(String outputPattern) setRemoveHighlighting(boolean removeHighlighting) setReplaceRules(List<MetadataReplaceRule> replaceRules) setTopstructValueFallback(boolean topstructValueFallback) Setter for the fieldtype.toString()
-
Constructor Details
-
MetadataParameter
public MetadataParameter() -
MetadataParameter
-
MetadataParameter
-
-
Method Details
-
hashCode
public int hashCode() -
equals
-
getSource
Getter for the field
source.- Returns:
- the source
-
setSource
- Parameters:
source- the source to set- Returns:
- this
-
getDestination
- Returns:
- the destination
-
setDestination
- 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
Getter for the field
key.- Returns:
- the key
-
setKey
- Parameters:
key- the key to set- Returns:
- this
-
getAltKey
- Returns:
- the altKey
-
setAltKey
- Parameters:
altKey- the altKey to set- Returns:
- this
-
getMasterValueFragment
Getter for the field
masterValueFragment.- Returns:
- the masterValueFragment
-
setMasterValueFragment
- Parameters:
masterValueFragment- the masterValueFragment to set- Returns:
- this
-
getDefaultValue
Getter for the field
defaultValue.- Returns:
- the defaultValue
-
setDefaultValue
- Parameters:
defaultValue- the defaultValue to set- Returns:
- this
-
getPrefix
Getter for the field
prefix.- Returns:
- the prefix
-
setPrefix
- Parameters:
prefix- the prefix to set- Returns:
- this
-
getSuffix
Getter for the field
suffix.- Returns:
- the suffix
-
setSuffix
- Parameters:
suffix- the suffix to set- Returns:
- this
-
setScope
-
getScope
-
getCondition
- Returns:
- the condition
-
setCondition
- Parameters:
condition- the condition to set- Returns:
- this
-
getInputPattern
- Returns:
- the inputPattern
-
setInputPattern
- Parameters:
inputPattern- the inputPattern to set- Returns:
- this
-
getOutputPattern
- Returns:
- the outputPattern
-
setOutputPattern
- Parameters:
outputPattern- the outputPattern to set- Returns:
- this
-
isAddUrl
public boolean isAddUrl()isAddUrl.
- Returns:
- the addUrl
-
setAddUrl
- Parameters:
addUrl- the addUrl to set- Returns:
- this
-
isTopstructValueFallback
public boolean isTopstructValueFallback()isTopstructValueFallback.
- Returns:
- the dontUseTopstructValue
-
setTopstructValueFallback
- Parameters:
topstructValueFallback- the topstructValueFallback to set- Returns:
- this
-
isRemoveHighlighting
public boolean isRemoveHighlighting()- Returns:
- the removeHighlighting
-
setRemoveHighlighting
- Parameters:
removeHighlighting- the removeHighlighting to set- Returns:
- this
-
getReplaceRules
Getter for the field
replaceRules.- Returns:
- the replaceRules
-
setReplaceRules
- Parameters:
replaceRules- the replaceRules to set- Returns:
MetadataParameter
-
toString
-
createFromConfig
public static MetadataParameter createFromConfig(org.apache.commons.configuration2.HierarchicalConfiguration<org.apache.commons.configuration2.tree.ImmutableNode> config, boolean topstructValueFallbackDefaultValue) - Parameters:
config-topstructValueFallbackDefaultValue-- Returns:
MetadataParameter
-