Interface SourceAsExtendedCommunityGrouping

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

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

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

     grouping source-as-extended-community-grouping {
       leaf global-administrator {
         type bgp-t:short-as-number;
       }
     }
     
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        ShortAsNumber getGlobalAdministrator()
        Return globalAdministrator, or null if it is not present.
        Returns:
        ShortAsNumber globalAdministrator, or null if it is not present.
      • requireGlobalAdministrator

        default @NonNull ShortAsNumber requireGlobalAdministrator()
        Return globalAdministrator, guaranteed to be non-null.
        Returns:
        ShortAsNumber globalAdministrator, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if globalAdministrator is not present