Enum Class QuestionType

java.lang.Object
java.lang.Enum<QuestionType>
io.goobi.viewer.model.crowdsourcing.questions.QuestionType
All Implemented Interfaces:
Serializable, Comparable<QuestionType>, Constable

public enum QuestionType extends Enum<QuestionType>
The QuestionType determines GUI element to use to create annotations for a Question, which also determines the type of body the generated annotations have
Author:
florian
  • Enum Constant Details

  • Method Details

    • values

      public static QuestionType[] 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 QuestionType 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