Interface CommunitySets

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

    public interface CommunitySets
    extends org.opendaylight.yangtools.yang.binding.ChildOf<BgpDefinedSets>, org.opendaylight.yangtools.yang.binding.Augmentable<CommunitySets>
    Enclosing container for community sets

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

     container community-sets {
       list community-set {
         key community-set-name;
         leaf community-set-name {
           type string;
         }
         list communities {
           uses bgp-t:community;
         }
       }
     }
     
    The schema path to identify an instance is openconfig-bgp-policy/routing-policy/defined-sets/(http://openconfig.net/yang/bgp-policy?revision=2015-10-09)bgp-defined-sets/community-sets

    To create instances of this class use CommunitySetsBuilder.

    See Also:
    CommunitySetsBuilder
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        @Nullable List<CommunitySet> getCommunitySet()
        Definitions for community sets
        Returns:
        java.util.List communitySet, or null if not present
      • nonnullCommunitySet

        default @NonNull List<CommunitySet> nonnullCommunitySet()
        Returns:
        java.util.List communitySet, or an empty list if it is not present