All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
All Known Subinterfaces:
Bandwidth, BandwidthUsage, Bnc, BranchNodeList, CClose, ClassType, CNotification, EndpointsObj, Ero, ErrorObject, Gc, Iro, LoadBalancing, Lsp, Lspa, Metric, Monitoring, NonBranchNodeList, NoPath, NoPathObject, Object, Of, Open, Overload, PathKey, PccIdReq, PceId, ProcTime, ReoptimizationBandwidth, Rp, Rro, Sero, Srp, Srro, Svec, UnreachDestinationObj, VendorInformationObject, Xro
All Known Implementing Classes:
ObjectHeaderImpl, UnknownObject

@Generated("mdsal-binding-generator") public interface ObjectHeader extends org.opendaylight.yangtools.yang.binding.DataObject
Common Object Header

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

 grouping object-header {
   leaf processing-rule {
     type boolean;
     default false;
   }
   leaf ignore {
     type boolean;
     default false;
   }
 }
 
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final @NonNull org.opendaylight.yangtools.yang.common.QName
    YANG identifier of the statement represented by this class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Return ignore, or null if it is not present.
    Return processingRule, or null if it is not present.
    Class<? extends ObjectHeader>
     
    default @NonNull Boolean
    Return ignore, guaranteed to be non-null.
    default @NonNull Boolean
    Return processingRule, guaranteed to be non-null.
  • Field Details

    • QNAME

      static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
      YANG identifier of the statement represented by this class.
  • Method Details

    • implementedInterface

      Class<? extends ObjectHeader> implementedInterface()
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
    • getProcessingRule

      Boolean getProcessingRule()
      Return processingRule, or null if it is not present.
      Returns:
      Boolean processingRule, or null if it is not present.
    • requireProcessingRule

      default @NonNull Boolean requireProcessingRule()
      Return processingRule, guaranteed to be non-null.
      Returns:
      Boolean processingRule, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if processingRule is not present
    • getIgnore

      Boolean getIgnore()
      Return ignore, or null if it is not present.
      Returns:
      Boolean ignore, or null if it is not present.
    • requireIgnore

      default @NonNull Boolean requireIgnore()
      Return ignore, guaranteed to be non-null.
      Returns:
      Boolean ignore, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if ignore is not present