Enum Class HitType

java.lang.Object
java.lang.Enum<HitType>
io.goobi.viewer.model.search.HitType
All Implemented Interfaces:
Serializable, Comparable<HitType>, Constable

public enum HitType extends Enum<HitType>
  • Enum Constant Details

    • ACCESSDENIED

      public static final HitType ACCESSDENIED
    • DOCSTRCT

      public static final HitType DOCSTRCT
    • PAGE

      public static final HitType PAGE
    • METADATA

      public static final HitType METADATA
    • UGC

      public static final HitType UGC
    • LOCATION

      public static final HitType LOCATION
    • SHAPE

      public static final HitType SHAPE
    • SUBJECT

      public static final HitType SUBJECT
    • PERSON

      public static final HitType PERSON
    • CORPORATION

      public static final HitType CORPORATION
    • ADDRESS

      public static final HitType ADDRESS
    • COMMENT

      public static final HitType COMMENT
    • EVENT

      public static final HitType EVENT
    • GROUP

      public static final HitType GROUP
    • CMS

      public static final HitType CMS
  • Method Details

    • values

      public static HitType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static HitType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getByName

      public static HitType getByName(String name)
      Parameters:
      name -
      Returns:
      HitType matching given name; null if none found
    • getLabel

      public String getLabel(Locale locale)