Enum Class CAUVFile

java.lang.Object
java.lang.Enum<CAUVFile>
com.io7m.cardant.protocol.inventory.cb.internal.CAUVFile
All Implemented Interfaces:
CAProtocolMessageValidatorType<CAFileType,CAI1File>, Serializable, Comparable<CAUVFile>, Constable

public enum CAUVFile extends Enum<CAUVFile> implements CAProtocolMessageValidatorType<CAFileType,CAI1File>
A validator.
  • Enum Constant Details

    • FILE

      public static final CAUVFile FILE
      A validator.
  • Method Details

    • values

      public static CAUVFile[] 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 CAUVFile 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
    • convertToWire

      public CAI1File convertToWire(CAFileType message)
      Description copied from interface: CAProtocolMessageValidatorType
      Convert a core message to a wire message.
      Specified by:
      convertToWire in interface CAProtocolMessageValidatorType<CAFileType,CAI1File>
      Parameters:
      message - The core message
      Returns:
      The wire message
    • convertFromWire

      public CAFileType convertFromWire(CAI1File message)
      Description copied from interface: CAProtocolMessageValidatorType
      Convert a wire message to a core message.
      Specified by:
      convertFromWire in interface CAProtocolMessageValidatorType<CAFileType,CAI1File>
      Parameters:
      message - The wire message
      Returns:
      The core message