Enum Class CAUVDottedNames

java.lang.Object
java.lang.Enum<CAUVDottedNames>
com.io7m.cardant.protocol.inventory.cb.internal.CAUVDottedNames
All Implemented Interfaces:
CAProtocolMessageValidatorType<com.io7m.lanark.core.RDottedName,com.io7m.cedarbridge.runtime.api.CBString>, Serializable, Comparable<CAUVDottedNames>, Constable

public enum CAUVDottedNames extends Enum<CAUVDottedNames> implements CAProtocolMessageValidatorType<com.io7m.lanark.core.RDottedName,com.io7m.cedarbridge.runtime.api.CBString>
A validator.
  • Enum Constant Details

    • DOTTED_NAMES

      public static final CAUVDottedNames DOTTED_NAMES
      A validator.
  • Method Details

    • values

      public static CAUVDottedNames[] 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 CAUVDottedNames 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 com.io7m.cedarbridge.runtime.api.CBString convertToWire(com.io7m.lanark.core.RDottedName message)
      Description copied from interface: CAProtocolMessageValidatorType
      Convert a core message to a wire message.
      Specified by:
      convertToWire in interface CAProtocolMessageValidatorType<com.io7m.lanark.core.RDottedName,com.io7m.cedarbridge.runtime.api.CBString>
      Parameters:
      message - The core message
      Returns:
      The wire message
    • convertFromWire

      public com.io7m.lanark.core.RDottedName convertFromWire(com.io7m.cedarbridge.runtime.api.CBString message)
      Description copied from interface: CAProtocolMessageValidatorType
      Convert a wire message to a core message.
      Specified by:
      convertFromWire in interface CAProtocolMessageValidatorType<com.io7m.lanark.core.RDottedName,com.io7m.cedarbridge.runtime.api.CBString>
      Parameters:
      message - The wire message
      Returns:
      The core message