Enum Condition

java.lang.Object
java.lang.Enum<Condition>
com.amilesend.discogs.model.marketplace.type.Condition
All Implemented Interfaces:
Serializable, Comparable<Condition>

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

    • MINT

      public static final Condition MINT
    • NEAR_MINT

      public static final Condition NEAR_MINT
    • VERY_GOOD_PLUS

      public static final Condition VERY_GOOD_PLUS
    • VERY_GOOD

      public static final Condition VERY_GOOD
    • GOOD_PLUS

      public static final Condition GOOD_PLUS
    • GOOD

      public static final Condition GOOD
    • FAIR

      public static final Condition FAIR
    • POOR

      public static final Condition POOR
  • Field Details

    • VALUES

      public static List<String> VALUES
      The list of possible values.
  • Method Details

    • values

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

      public static Condition valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      Overrides:
      toString in class Enum<Condition>
    • fromValue

      public static Condition fromValue(String value)
      Gets the Condition enum from the given value.
      Parameters:
      value - the value
      Returns:
      the condition, or null
    • getValue

      public String getValue()