Interface LocalPref

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<LocalPref>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<Attributes>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject

    public interface LocalPref
    extends org.opendaylight.yangtools.yang.binding.ChildOf<Attributes>, org.opendaylight.yangtools.yang.binding.Augmentable<LocalPref>

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

     container local-pref {
       leaf pref {
         type uint32;
       }
     }
     
    The schema path to identify an instance is bgp-message/path-attributes/attributes/local-pref

    To create instances of this class use LocalPrefBuilder.

    See Also:
    LocalPrefBuilder
    • Field Detail

      • QNAME

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

      • implementedInterface

        default Class<LocalPref> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getPref

        @Nullable org.opendaylight.yangtools.yang.common.Uint32 getPref()
        Returns:
        org.opendaylight.yangtools.yang.common.Uint32 pref, or null if not present