All Superinterfaces:
org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>, org.opendaylight.yangtools.binding.BindingObject, org.opendaylight.yangtools.binding.DataContainer, org.opendaylight.yangtools.binding.Grouping
All Known Subinterfaces:
AsGenerated, RouterIdGenerated

@Generated("mdsal-binding-generator") public interface LocalDiscriminator extends org.opendaylight.yangtools.binding.Grouping

This class represents the following YANG schema fragment defined in module odl-bgp-evpn

 grouping local-discriminator {
   leaf local-discriminator {
     type uint32;
   }
 }
 
  • Method Summary

    Modifier and Type
    Method
    Description
    org.opendaylight.yangtools.yang.common.Uint32
    Return localDiscriminator, or null if it is not present.
    default @NonNull org.opendaylight.yangtools.yang.common.Uint32
    Return localDiscriminator, guaranteed to be non-null.

    Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract

    implementedInterface
  • Method Details

    • getLocalDiscriminator

      org.opendaylight.yangtools.yang.common.Uint32 getLocalDiscriminator()
      Return localDiscriminator, or null if it is not present.
      Returns:
      Uint32 localDiscriminator, or null if it is not present.
    • requireLocalDiscriminator

      default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireLocalDiscriminator()
      Return localDiscriminator, guaranteed to be non-null.
      Returns:
      Uint32 localDiscriminator, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if localDiscriminator is not present