Interface AfiSafi

    • Field Detail

      • QNAME

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

      • bindingHashCode

        static int bindingHashCode​(@NonNull AfiSafi obj)
        Default implementation of Object.hashCode() contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent hashing results across all implementations.
        Parameters:
        obj - Object for which to generate hashCode() result.
        Returns:
        Hash code value of data modeled by this interface.
        Throws:
        NullPointerException - if obj is null
      • bindingEquals

        static boolean bindingEquals​(@NonNull AfiSafi thisObj,
                                     Object obj)
        Default implementation of Object.equals(Object) contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent equality results across all implementations.
        Parameters:
        thisObj - Object acting as the receiver of equals invocation
        obj - Object acting as argument to equals invocation
        Returns:
        True if thisObj and obj are considered equal
        Throws:
        NullPointerException - if thisObj is null
      • bindingToString

        static String bindingToString​(@NonNull AfiSafi obj)
        Default implementation of Object.toString() contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent string representations across all implementations.
        Parameters:
        obj - Object for which to generate toString() result.
        Returns:
        String value of data modeled by this interface.
        Throws:
        NullPointerException - if obj is null
      • key

        AfiSafiKey key()
        Specified by:
        key in interface org.opendaylight.yangtools.yang.binding.Identifiable<AfiSafiKey>
      • getAfiSafiName

        Class<? extends AfiSafiType> getAfiSafiName()
        Return afiSafiName, or null if it is not present.
             
                 Reference to the AFI-SAFI name used as a key for the AFI-SAFI list
             
         
        Returns:
        Class<? extends AfiSafiType> afiSafiName, or null if it is not present.
      • requireAfiSafiName

        default @NonNull Class<? extends AfiSafiType> requireAfiSafiName()
        Return afiSafiName, guaranteed to be non-null.
             
                 Reference to the AFI-SAFI name used as a key for the AFI-SAFI list
             
         
        Returns:
        Class<? extends AfiSafiType> afiSafiName, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if afiSafiName is not present
      • getGracefulRestart

        GracefulRestart getGracefulRestart()
        Return gracefulRestart, or null if it is not present.
             
                 Parameters relating to BGP graceful-restart
             
         
        Returns:
        GracefulRestart gracefulRestart, or null if it is not present.
      • getConfig

        Config getConfig()
        Return config, or null if it is not present.
             
                 Configuration parameters for the AFI-SAFI
             
         
        Returns:
        Config config, or null if it is not present.
      • getState

        State getState()
        Return state, or null if it is not present.
             
                 State information relating to the AFI-SAFI
             
         
        Returns:
        State state, or null if it is not present.