Enum Class AnswerType

java.lang.Object
java.lang.Enum<AnswerType>
com.almis.awe.model.type.AnswerType
All Implemented Interfaces:
Serializable, Comparable<AnswerType>, Constable

public enum AnswerType extends Enum<AnswerType>
AnswerType Enumerated List of allowed web service types
Author:
Pablo GARCIA - 23/NOV/2010
  • Enum Constant Details

  • Method Details

    • values

      public static AnswerType[] 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 AnswerType 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
    • getEnum

      public static AnswerType getEnum(String value)
      Retrieve enumerated value
      Parameters:
      value - enumerated value
      Returns:
      Answer type
    • toString

      public String toString()
      Override toString method to return property value
      Overrides:
      toString in class Enum<AnswerType>
      Returns:
      Property value (if defined)