Enum Class CJ1ItemColumn

java.lang.Object
java.lang.Enum<CJ1ItemColumn>
com.io7m.cardant.protocol.inventory.json.internal.CJ1ItemColumn
All Implemented Interfaces:
CJ1ValueType, Serializable, Comparable<CJ1ItemColumn>, Constable

public enum CJ1ItemColumn extends Enum<CJ1ItemColumn> implements CJ1ValueType
The item columns that can be used for ordering.
  • Enum Constant Details

    • BY_ID

      public static final CJ1ItemColumn BY_ID
      Order by item ID.
    • BY_NAME

      public static final CJ1ItemColumn BY_NAME
      Order by item name.
  • Method Details

    • values

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