public interface TopLevelList extends ChildOf<TwoLevelList>, Augmentable<TopLevelList>, Identifiable<TopLevelListKey>
This class represents the following YANG schema fragment defined in module opendaylight-mdsal-binding-test
list top-level-list { key name; leaf name { type string; } choice choice-in-list { case simple-case { leaf simple { 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-binding-test/two-level-list/top-level-list
To create instances of this class use TopLevelListBuilder
.
TopLevelListBuilder
,
TopLevelListKey
Modifier and Type | Field and Description |
---|---|
static org.opendaylight.yangtools.yang.common.QName |
QNAME |
Modifier and Type | Method and Description |
---|---|
@Nullable ChoiceInList |
getChoiceInList() |
@Nullable String |
getName() |
@Nullable List<NestedList> |
getNestedList()
A list of service functions that compose the service chain
|
TopLevelListKey |
key()
Returns an unique key for the object.
|
default @NonNull List<NestedList> |
nonnullNestedList() |
getImplementedInterface
augmentation
@Nullable String getName()
java.lang.String
name
, or null
if not present@Nullable ChoiceInList getChoiceInList()
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.mdsal.test.binding.rev140701.two.level.list.top.level.list.ChoiceInList
choiceInList
, or null
if not present@Nullable List<NestedList> getNestedList()
java.util.List
nestedList
, or null
if not presentdefault @NonNull List<NestedList> nonnullNestedList()
java.util.List
nestedList
, or an empty list if it is not presentTopLevelListKey key()
Identifiable
key
in interface Identifiable<TopLevelListKey>
Copyright © 2019 OpenDaylight. All rights reserved.