Interface Tag

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<Tag>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<TagSet>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, org.opendaylight.yangtools.yang.binding.Identifiable<TagKey>

    public interface Tag
    extends org.opendaylight.yangtools.yang.binding.ChildOf<TagSet>, org.opendaylight.yangtools.yang.binding.Augmentable<Tag>, org.opendaylight.yangtools.yang.binding.Identifiable<TagKey>
    list of tags that are part of the tag set

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

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

    To create instances of this class use TagBuilder.

    See Also:
    TagBuilder, TagKey
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        @Nullable TagType getValue()
        Value of the tag set member
        Returns:
        org.opendaylight.yang.gen.v1.http.openconfig.net.yang.policy.types.rev151009.TagType value, or null if not present
      • key

        TagKey key()
        Specified by:
        key in interface org.opendaylight.yangtools.yang.binding.Identifiable<TagKey>