Class CompoundLabeledLink

java.lang.Object
io.goobi.viewer.model.viewer.LabeledLink
io.goobi.viewer.model.viewer.CompoundLabeledLink
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CollectionLabeledLink

public class CompoundLabeledLink extends LabeledLink

CompoundLabeledLink class.

Author:
Florian Alpers
See Also:
  • Field Details

    • field

      protected final String field
    • hierarchy

      protected final List<String> hierarchy
  • Constructor Details

    • CompoundLabeledLink

      public CompoundLabeledLink(String name, String url, String field, int weight)

      Constructor for CompoundLabeledLink.

      Parameters:
      name - a String object.
      url - a String object.
      weight - a int.
      field - a String object.
    • CompoundLabeledLink

      public CompoundLabeledLink(String name, String url, String field, List<String> hierarchy, int weight)

      Constructor for CompoundLabeledLink.

      Parameters:
      name - a String object.
      url - a String object.
      field - a String object.
      hierarchy - a List object.
      weight - a int.
  • Method Details

    • getSubLinks

      public List<LabeledLink> getSubLinks()

      getSubLinks.

      Returns:
      List of labeled links, one for each hierarchy level