java.lang.Object
io.goobi.viewer.model.cms.pages.content.Option
All Implemented Interfaces:
Serializable

public class Option extends Object implements Serializable
Immutable value/label pair used as a selectable option within a CMSComponentAttribute, where value is the stored string and label is the human-readable display text.
See Also:
  • Constructor Details

    • Option

      public Option(String value, String label)
      Parameters:
      value - the option value
      label - the display label
  • Method Details

    • getValue

      public String getValue()
    • getLabel

      public String getLabel()