Interface Inline

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<Inline>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChoiceIn<SetCommunity>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, SetCommunityMethod

    public interface Inline
    extends org.opendaylight.yangtools.yang.binding.DataObject, org.opendaylight.yangtools.yang.binding.Augmentable<Inline>, SetCommunityMethod

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

     case inline {
       list communities {
         uses bgp-t:community;
       }
     }
     
    The schema path to identify an instance is openconfig-bgp-policy/routing-policy/policy-definitions/policy-definition/statements/statement/actions/(http://openconfig.net/yang/bgp-policy?revision=2015-10-09)bgp-actions/set-community/set-community-method/inline
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        @Nullable List<Communities> getCommunities()
        Set the community values for the update inline with a list.
        Returns:
        java.util.List communities, or null if not present
      • nonnullCommunities

        default @NonNull List<Communities> nonnullCommunities()
        Returns:
        java.util.List communities, or an empty list if it is not present