Enum Class CJ1ItemX

java.lang.Object
java.lang.Enum<CJ1ItemX>
com.io7m.cardant.protocol.inventory.json.internal.CJ1ItemX
All Implemented Interfaces:
CJ1SerialBijectionType<CJ1Item,CAItem>, Serializable, Comparable<CJ1ItemX>, Constable

public enum CJ1ItemX extends Enum<CJ1ItemX> implements CJ1SerialBijectionType<CJ1Item,CAItem>
  • Enum Constant Details

    • ITEM

      public static final CJ1ItemX ITEM
  • Method Details

    • values

      public static CJ1ItemX[] 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 CJ1ItemX 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
    • toCore

      public CAItem toCore(CJ1Item m)
      Specified by:
      toCore in interface CJ1SerialBijectionType<CJ1Item,CAItem>
    • toCJ1

      public CJ1Item toCJ1(CAItem m)
      Specified by:
      toCJ1 in interface CJ1SerialBijectionType<CJ1Item,CAItem>