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:
IsisAdjFlags, OspfAdjFlags

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

This class represents the following YANG schema fragment defined in module bgp-segment-routing

 grouping ospf-adj-flags {
   leaf backup {
     type boolean;
   }
   leaf set {
     type boolean;
   }
 }
 
  • 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 backup, or null if it is not present.
    Return set, or null if it is not present.
    Class<? extends OspfAdjFlags>
     
    default @NonNull Boolean
    Return backup, guaranteed to be non-null.
    default @NonNull Boolean
    Return set, 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 OspfAdjFlags> 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
    • getBackup

      Boolean getBackup()
      Return backup, or null if it is not present.
      Returns:
      Boolean backup, or null if it is not present.
    • requireBackup

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

      Boolean getSet()
      Return set, or null if it is not present.
      Returns:
      Boolean set, or null if it is not present.
    • requireSet

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