Package io.goobi.viewer.model.metadata
Class MetadataView
java.lang.Object
io.goobi.viewer.model.metadata.MetadataView
A MetadataView represents a single record metadata view page within a record (along with an own link in the views widget).
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getIndex()
getLabel()
getUrl()
boolean
boolean
boolean
Checks link visibility conditions.setCondition
(String condition) setIndex
(int index) setLocation
(MetadataView.MetadataViewLocation location)
-
Constructor Details
-
MetadataView
public MetadataView()
-
-
Method Details
-
isVisible
Checks link visibility conditions.- Parameters:
se
-- Returns:
- true if conditions empty or satisfied; false otherwise
-
isDisplayInSidebar
public boolean isDisplayInSidebar() -
isDisplayInObjectView
public boolean isDisplayInObjectView() -
getIndex
public int getIndex()- Returns:
- the index
-
setIndex
- Parameters:
index
- the index to set- Returns:
- this
-
getLabel
- Returns:
- the label
-
setLabel
- Parameters:
label
- the label to set- Returns:
- this
-
getUrl
- Returns:
- the url
-
setUrl
- Parameters:
url
- the url to set- Returns:
- this
-
getCondition
- Returns:
- the condition
-
setCondition
- Parameters:
condition
- the condition to set- Returns:
- this
-
getLocation
- Returns:
- the location
-
setLocation
- Parameters:
location
- the location to set- Returns:
- this
-