Interface ErrorObject

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<ErrorObject>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<PcepErrorObject>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, Object, ObjectHeader

    public interface ErrorObject
    extends org.opendaylight.yangtools.yang.binding.ChildOf<PcepErrorObject>, org.opendaylight.yangtools.yang.binding.Augmentable<ErrorObject>, Object

    This class represents the following YANG schema fragment defined in module pcep-types

     container error-object {
       uses object;
       container tlvs {
         when "../type = 7";
         uses req-missing-tlv;
         uses vendor-information-tlvs;
       }
       leaf type {
         type uint8;
       }
       leaf value {
         type uint8;
       }
     }
     
    The schema path to identify an instance is pcep-types/pcep-error-object/error-object

    To create instances of this class use ErrorObjectBuilder.

    See Also:
    ErrorObjectBuilder
    • Field Detail

      • QNAME

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

      • implementedInterface

        default Class<ErrorObject> 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 Object
        Specified by:
        implementedInterface in interface ObjectHeader
      • getTlvs

        @Nullable Tlvs getTlvs()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev181109.pcep.error.object.error.object.Tlvs tlvs, or null if not present
      • getType

        @Nullable org.opendaylight.yangtools.yang.common.Uint8 getType()
        Returns:
        org.opendaylight.yangtools.yang.common.Uint8 type, or null if not present
      • getValue

        @Nullable org.opendaylight.yangtools.yang.common.Uint8 getValue()
        Returns:
        org.opendaylight.yangtools.yang.common.Uint8 value, or null if not present