Interface Error

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, OfHeader
    All Known Subinterfaces:
    ErrorMessage

    @Generated("mdsal-binding-generator")
    public interface Error
    extends org.opendaylight.yangtools.yang.binding.DataObject, OfHeader

    This class represents the following YANG schema fragment defined in module openflow-protocol

     grouping error {
       uses ofHeader;
       leaf type {
         type uint16;
       }
       leaf code {
         type uint16;
       }
       leaf type-string {
         type string;
       }
       leaf code-string {
         type string;
       }
       leaf data {
         type binary;
       }
     }
     
    The schema path to identify an instance is openflow-protocol/error
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static @NonNull org.opendaylight.yangtools.yang.common.QName QNAME  
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
    • Method Detail

      • implementedInterface

        Class<? extends Error> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
        Specified by:
        implementedInterface in interface OfHeader
      • getType

        org.opendaylight.yangtools.yang.common.Uint16 getType()
        Return type, or null if it is not present.
        Returns:
        org.opendaylight.yangtools.yang.common.Uint16 type, or null if it is not present.
      • getCode

        org.opendaylight.yangtools.yang.common.Uint16 getCode()
        Return code, or null if it is not present.
        Returns:
        org.opendaylight.yangtools.yang.common.Uint16 code, or null if it is not present.
      • getTypeString

        String getTypeString()
        Return typeString, or null if it is not present.
        Returns:
        java.lang.String typeString, or null if it is not present.
      • getCodeString

        String getCodeString()
        Return codeString, or null if it is not present.
        Returns:
        java.lang.String codeString, or null if it is not present.
      • getData

        byte[] getData()
        Return data, or null if it is not present.
        Returns:
        byte[] data, or null if it is not present.