All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>, 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;
       }
     }
   }
 }
 
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final @NonNull org.opendaylight.yangtools.yang.common.QName
    YANG identifier of the statement represented by this class.
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable Map<TagSetKey,TagSet>
    Return tagSet, or null if it is not present.
    Class<? extends TagSet>
     
    default @NonNull Map<TagSetKey,TagSet>
    Return tagSet, or an empty list if it is not present.
  • Field Details

    • QNAME

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

    • implementedInterface

      Class<? extends TagSet> implementedInterface()
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.BindingContract<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:
      Map<TagSetKey, org.opendaylight.yang.gen.v1.http.openconfig.net.yang.routing.policy.rev151009.tag.set.TagSet> 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:
      Map<TagSetKey, org.opendaylight.yang.gen.v1.http.openconfig.net.yang.routing.policy.rev151009.tag.set.TagSet> tagSet, or an empty list if it is not present.