public static interface InstanceIdentifier.InstanceIdentifierBuilder<T extends DataObject> extends org.opendaylight.yangtools.concepts.Builder<InstanceIdentifier<T>>
Modifier and Type | Method and Description |
---|---|
<N extends DataObject & Augmentation<? super T>> |
augmentation(Class<N> container)
Build an identifier which refers to a specific augmentation of the current InstanceIdentifier referenced by
the builder.
|
InstanceIdentifier<T> |
build()
Build the instance identifier.
|
<C extends ChoiceIn<? super T> & DataObject,N extends ChildOf<? super C>> |
child(Class<C> caze,
Class<N> container)
Append the specified container as a child of the current InstanceIdentifier referenced by the builder.
|
<C extends ChoiceIn<? super T> & DataObject,K extends Identifier<N>,N extends Identifiable<K> & ChildOf<? super C>> |
child(Class<C> caze,
Class<N> listItem,
K listKey)
Append the specified listItem as a child of the current InstanceIdentifier referenced by the builder.
|
<N extends ChildOf<? super T>> |
child(Class<N> container)
Append the specified container as a child of the current InstanceIdentifier referenced by the builder.
|
<N extends Identifiable<K> & ChildOf<? super T>,K extends Identifier<N>> |
child(Class<N> listItem,
K listKey)
Append the specified listItem as a child of the current InstanceIdentifier referenced by the builder.
|
<N extends ChildOf<? super T>> InstanceIdentifier.InstanceIdentifierBuilder<N> child(Class<N> container)
InstanceIdentifier.builder().child(Nodes.class).build();NOTE :- The above example is only for illustration purposes InstanceIdentifier.builder() has been deprecated and should not be used. Use InstanceIdentifier.builder(Nodes.class) instead
N
- Container typecontainer
- Container to appendNullPointerException
- if container
is null<C extends ChoiceIn<? super T> & DataObject,N extends ChildOf<? super C>> InstanceIdentifier.InstanceIdentifierBuilder<N> child(Class<C> caze, Class<N> container)
container
is defined in a grouping
used in a case
statement.C
- Case typeN
- Container typecaze
- Choice case classcontainer
- Container to appendNullPointerException
- if container
is null<N extends Identifiable<K> & ChildOf<? super T>,K extends Identifier<N>> InstanceIdentifier.InstanceIdentifierBuilder<N> child(Class<N> listItem, K listKey)
N
- List typeK
- Key typelistItem
- List to appendlistKey
- List keyNullPointerException
- if any argument is null<C extends ChoiceIn<? super T> & DataObject,K extends Identifier<N>,N extends Identifiable<K> & ChildOf<? super C>> InstanceIdentifier.InstanceIdentifierBuilder<N> child(Class<C> caze, Class<N> listItem, K listKey)
list
is defined in a grouping
used in a case
statement.C
- Case typeN
- List typeK
- Key typecaze
- Choice case classlistItem
- List to appendlistKey
- List keyNullPointerException
- if any argument is null<N extends DataObject & Augmentation<? super T>> InstanceIdentifier.InstanceIdentifierBuilder<N> augmentation(Class<N> container)
N
- augmentation typecontainer
- augmentation classNullPointerException
- if container
is nullInstanceIdentifier<T> build()
build
in interface org.opendaylight.yangtools.concepts.CheckedBuilder<InstanceIdentifier<T extends DataObject>,IllegalArgumentException>
Copyright © 2019 OpenDaylight. All rights reserved.