Class MetadataView

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

public class MetadataView extends Object
A MetadataView represents a single record metadata view page within a record (along with an own link in the views widget).
  • Constructor Details

    • MetadataView

      public MetadataView()
  • Method Details

    • isVisible

      public boolean isVisible(StructElement se)
      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

      public MetadataView setIndex(int index)
      Parameters:
      index - the index to set
      Returns:
      this
    • getLabel

      public String getLabel()
      Returns:
      the label
    • setLabel

      public MetadataView setLabel(String label)
      Parameters:
      label - the label to set
      Returns:
      this
    • getUrl

      public String getUrl()
      Returns:
      the url
    • setUrl

      public MetadataView setUrl(String url)
      Parameters:
      url - the url to set
      Returns:
      this
    • getCondition

      public String getCondition()
      Returns:
      the condition
    • setCondition

      public MetadataView setCondition(String condition)
      Parameters:
      condition - the condition to set
      Returns:
      this
    • getLocation

      public MetadataView.MetadataViewLocation getLocation()
      Returns:
      the location
    • setLocation

      public MetadataView setLocation(MetadataView.MetadataViewLocation location)
      Parameters:
      location - the location to set
      Returns:
      this