Interface StatefulPreferences

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

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

    This class represents the following YANG schema fragment defined in module odl-pcep-stateful-stats

     grouping stateful-preferences {
       leaf instantiation {
         type boolean;
         default false;
       }
       leaf stateful {
         type boolean;
         default false;
       }
       leaf active {
         type boolean;
         default false;
       }
     }
     
    The schema path to identify an instance is odl-pcep-stateful-statsstateful-preferences
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        Boolean getInstantiation()
        Return instantiation, or null if it is not present.
             
                 Represents peer's instantiation capability.
             
         
        Returns:
        Boolean instantiation, or null if it is not present.
      • requireInstantiation

        default @NonNull Boolean requireInstantiation()
        Return instantiation, guaranteed to be non-null.
             
                 Represents peer's instantiation capability.
             
         
        Returns:
        Boolean instantiation, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if instantiation is not present
      • getStateful

        Boolean getStateful()
        Return stateful, or null if it is not present.
             
                 Represents peer's stateful/stateless capability.
             
         
        Returns:
        Boolean stateful, or null if it is not present.
      • requireStateful

        default @NonNull Boolean requireStateful()
        Return stateful, guaranteed to be non-null.
             
                 Represents peer's stateful/stateless capability.
             
         
        Returns:
        Boolean stateful, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if stateful is not present
      • getActive

        Boolean getActive()
        Return active, or null if it is not present.
             
                 Represents peer's LSP update capability.
             
         
        Returns:
        Boolean active, or null if it is not present.
      • requireActive

        default @NonNull Boolean requireActive()
        Return active, guaranteed to be non-null.
             
                 Represents peer's LSP update capability.
             
         
        Returns:
        Boolean active, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if active is not present