Interface TagSet
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<TagSet>
,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<TagSetKey>
public interface TagSet extends org.opendaylight.yangtools.yang.binding.ChildOf<TagSet>, org.opendaylight.yangtools.yang.binding.Augmentable<TagSet>, org.opendaylight.yangtools.yang.binding.Identifiable<TagSetKey>
Definitions for tag setsThis class represents the following YANG schema fragment defined in module openconfig-routing-policy
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/tag-setTo create instances of this class use
TagSetBuilder
.- See Also:
TagSetBuilder
,TagSetKey
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description @Nullable List<Tag>
getTag()
list of tags that are part of the tag set@Nullable String
getTagSetName()
name / label of the tag set -- this is used to reference the set in match conditionsdefault Class<TagSet>
implementedInterface()
TagSetKey
key()
default @NonNull List<Tag>
nonnullTag()
-
-
-
Method Detail
-
implementedInterface
default Class<TagSet> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getTagSetName
@Nullable String getTagSetName()
name / label of the tag set -- this is used to reference the set in match conditions- Returns:
java.lang.String
tagSetName
, ornull
if not present
-
getTag
@Nullable List<Tag> getTag()
list of tags that are part of the tag set- Returns:
java.util.List
tag
, ornull
if not present
-
nonnullTag
default @NonNull List<Tag> nonnullTag()
- Returns:
java.util.List
tag
, or an empty list if it is not present
-
-