Interface TopLevelList
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<TopLevelList>,org.opendaylight.yangtools.yang.binding.BindingObject,org.opendaylight.yangtools.yang.binding.ChildOf<TwoLevelList>,org.opendaylight.yangtools.yang.binding.DataContainer,org.opendaylight.yangtools.yang.binding.DataObject,org.opendaylight.yangtools.yang.binding.Identifiable<TopLevelListKey>
public interface TopLevelList extends org.opendaylight.yangtools.yang.binding.ChildOf<TwoLevelList>, org.opendaylight.yangtools.yang.binding.Augmentable<TopLevelList>, org.opendaylight.yangtools.yang.binding.Identifiable<TopLevelListKey>
Top Level ListThis class represents the following YANG schema fragment defined in module opendaylight-mdsal-list-test
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; } }The schema path to identify an instance is opendaylight-mdsal-list-test/two-level-list/top-level-listTo create instances of this class use
TopLevelListBuilder.- See Also:
TopLevelListBuilder,TopLevelListKey
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QNameQNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description @Nullable StringgetName()@Nullable List<NestedList>getNestedList()A list of service functions that compose the service chaindefault Class<TopLevelList>implementedInterface()TopLevelListKeykey()default @NonNull List<NestedList>nonnullNestedList()
-
-
-
Method Detail
-
implementedInterface
default Class<TopLevelList> implementedInterface()
- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataContainer- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getName
@Nullable String getName()
- Returns:
java.lang.Stringname, ornullif not present
-
getNestedList
@Nullable List<NestedList> getNestedList()
A list of service functions that compose the service chain- Returns:
java.util.ListnestedList, ornullif not present
-
nonnullNestedList
default @NonNull List<NestedList> nonnullNestedList()
- Returns:
java.util.ListnestedList, or an empty list if it is not present
-
key
TopLevelListKey key()
- Specified by:
keyin interfaceorg.opendaylight.yangtools.yang.binding.Identifiable<TopLevelListKey>
-
-