Interface TwoLevelList
- 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:
GetTopOutput,PutTopInput,Top,TwoLevelListChanged
@Generated("mdsal-binding-generator")
public interface TwoLevelList
extends org.opendaylight.yangtools.yang.binding.DataObject
This class represents the following YANG schema fragment defined in module opendaylight-mdsal-list-test
grouping two-level-list {
list top-level-list {
key name;
leaf name {
type string;
}
list nested-list {
key name;
leaf name {
type string;
}
leaf type {
type string;
}
ordered-by user;
}
}
}
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QNameYANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescription@Nullable Map<TopLevelListKey,TopLevelList> Return topLevelList, ornullif it is not present.Class<? extends TwoLevelList>default @NonNull Map<TopLevelListKey,TopLevelList> Return topLevelList, or an empty list 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 TwoLevelList> implementedInterface()- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getTopLevelList
@Nullable Map<TopLevelListKey,TopLevelList> getTopLevelList()Return topLevelList, ornullif it is not present.Top Level List- Returns:
Map<TopLevelListKey, TopLevelList>topLevelList, ornullif it is not present.
-
nonnullTopLevelList
Return topLevelList, or an empty list if it is not present.- Returns:
Map<TopLevelListKey, TopLevelList>topLevelList, or an empty list if it is not present.
-