Enum Class AccuracyMode

java.lang.Object
java.lang.Enum<AccuracyMode>
com.basistech.rosette.apimodel.AccuracyMode
All Implemented Interfaces:
Serializable, Comparable<AccuracyMode>, java.lang.constant.Constable

public enum AccuracyMode extends Enum<AccuracyMode>
Rosette API relationship accuracy mode
  • Enum Constant Details

  • Method Details

    • values

      public static AccuracyMode[] 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 AccuracyMode 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
    • getLabel

      public String getLabel()
      get the label
      Returns:
      the label
    • forValue

      public static AccuracyMode forValue(String value) throws IllegalArgumentException
      checks if value is a valid AccuracyMode enum
      Parameters:
      value - input value
      Returns:
      AccuracyMode corresponding to input value
      Throws:
      IllegalArgumentException - invalid input string.
    • toValue

      public String toValue()
      get the label
      Returns:
      the label