Interface TagSet

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

    @Generated("mdsal-binding-generator")
    public interface TagSet
    extends org.opendaylight.yangtools.yang.binding.DataObject
    Data definitions for a list of tags which can be matched in policies

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

     grouping tag-set {
       list tag-set {
         key tag-set-name;
         leaf tag-set-name {
           type string;
         }
         list tag {
           key value;
           leaf value {
             type pt:tag-type;
           }
         }
       }
     }
     
    The schema path to identify an instance is openconfig-routing-policy/tag-set
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        @Nullable Map<TagSetKey,​TagSet> getTagSet()
        Return tagSet, or null if it is not present.
             
                 Definitions for tag sets
             
         
        Returns:
        java.util.Map tagSet, or null if it is not present.
      • nonnullTagSet

        default @NonNull Map<TagSetKey,​TagSet> nonnullTagSet()
        Return tagSet, or an empty list if it is not present.
        Returns:
        java.util.Map tagSet, or an empty list if it is not present.