Interface GenericDefinedSets
- 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:
DefinedSets
@Generated("mdsal-binding-generator")
public interface GenericDefinedSets
extends org.opendaylight.yangtools.yang.binding.DataObject
Data definitions for pre-defined sets of attributes used in policy match
conditions. These sets are generic and can be used in matching conditions in
different routing protocols.
This class represents the following YANG schema fragment defined in module openconfig-routing-policy
grouping generic-defined-sets { container prefix-sets { uses prefix-set; } container neighbor-sets { uses neighbor-set; } container tag-sets { uses tag-set; } }
-
Field Summary
Modifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QName
YANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptionReturn neighborSets, ornull
if it is not present.Return prefixSets, ornull
if it is not present.Return tagSets, ornull
if it is not present.Class<? extends GenericDefinedSets>
@NonNull NeighborSets
Return neighborSets, or an empty instance if it is not present.@NonNull PrefixSets
Return prefixSets, or an empty instance if it is not present.@NonNull TagSets
Return tagSets, or an empty instance if it is not present.
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
Class<? extends GenericDefinedSets> implementedInterface()- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getPrefixSets
PrefixSets getPrefixSets()Return prefixSets, ornull
if it is not present.Enclosing container for defined prefix sets for matching
- Returns:
PrefixSets
prefixSets, ornull
if it is not present.
-
nonnullPrefixSets
@NonNull PrefixSets nonnullPrefixSets()Return prefixSets, or an empty instance if it is not present.- Returns:
PrefixSets
prefixSets, or an empty instance if it is not present.
-
getNeighborSets
NeighborSets getNeighborSets()Return neighborSets, ornull
if it is not present.Enclosing container for defined neighbor sets for matching
- Returns:
NeighborSets
neighborSets, ornull
if it is not present.
-
nonnullNeighborSets
@NonNull NeighborSets nonnullNeighborSets()Return neighborSets, or an empty instance if it is not present.- Returns:
NeighborSets
neighborSets, or an empty instance if it is not present.
-
getTagSets
TagSets getTagSets()Return tagSets, ornull
if it is not present.Enclosing container for defined tag sets for matching
- Returns:
TagSets
tagSets, ornull
if it is not present.
-
nonnullTagSets
@NonNull TagSets nonnullTagSets()Return tagSets, or an empty instance if it is not present.- Returns:
TagSets
tagSets, or an empty instance if it is not present.
-