Class ConfBinary

All Implemented Interfaces:
Serializable, Cloneable, Comparable<ConfBinary>
Direct Known Subclasses:
ConfHexList, ConfOctetList

public class ConfBinary extends ConfValue implements Cloneable, Serializable, Comparable<ConfBinary>
DATA_CONTAINER - Corresponds to the YANG tailf:hex-list and tailf:octet-list.
See Also:
  • Constructor Details

  • Method Details

    • bytesValue

      public byte[] bytesValue()
    • equals

      public boolean equals(Object o)
      Description copied from class: ConfValue
      Determine if two ConfValue are equal. In general, ConfObjects are equal if the components they consist of are equal.
      Specified by:
      equals in class ConfValue
      Parameters:
      o - The object to compare to.
      Returns:
      true if the objects are identical.
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in class ConfValue
    • setCSType

      public void setCSType(MaapiSchemas.CSType csType)
    • toOctetListString

      public String toOctetListString()
      Formats the Binary as a tailf::octet-list string.
    • toHexListString

      public String toHexListString()
      Formats the Binary as a tailf:hex-list string.
    • toString

      public String toString()
      Specified by:
      toString in class ConfValue
      Returns:
      the printable representation of the object.
    • encode

      public ConfEObject encode()
      Description copied from class: ConfValue
      encode value.
      Specified by:
      encode in class ConfValue
    • compareTo

      public int compareTo(ConfBinary o)
      Specified by:
      compareTo in interface Comparable<ConfBinary>