public class ImmutableLeafSetNodeBuilder<T> extends Object implements ListNodeBuilder<T,LeafSetEntryNode<T>>
Modifier and Type | Class and Description |
---|---|
protected static class |
ImmutableLeafSetNodeBuilder.ImmutableLeafSetNode<T> |
Modifier | Constructor and Description |
---|---|
protected |
ImmutableLeafSetNodeBuilder() |
protected |
ImmutableLeafSetNodeBuilder(ImmutableLeafSetNodeBuilder.ImmutableLeafSetNode<T> node) |
protected |
ImmutableLeafSetNodeBuilder(int sizeHint) |
protected ImmutableLeafSetNodeBuilder()
protected ImmutableLeafSetNodeBuilder(int sizeHint)
protected ImmutableLeafSetNodeBuilder(ImmutableLeafSetNodeBuilder.ImmutableLeafSetNode<T> node)
public static <T> ListNodeBuilder<T,LeafSetEntryNode<T>> create()
public static <T> ListNodeBuilder<T,LeafSetEntryNode<T>> create(int sizeHint)
public static <T> ListNodeBuilder<T,LeafSetEntryNode<T>> create(LeafSetNode<T> node)
public ListNodeBuilder<T,LeafSetEntryNode<T>> withChild(LeafSetEntryNode<T> child)
withChild
in interface CollectionNodeBuilder<LeafSetEntryNode<T>,LeafSetNode<T>>
withChild
in interface ListNodeBuilder<T,LeafSetEntryNode<T>>
public ListNodeBuilder<T,LeafSetEntryNode<T>> withoutChild(YangInstanceIdentifier.PathArgument key)
withoutChild
in interface CollectionNodeBuilder<LeafSetEntryNode<T>,LeafSetNode<T>>
withoutChild
in interface ListNodeBuilder<T,LeafSetEntryNode<T>>
public LeafSetNode<T> build()
build
in interface NormalizedNodeBuilder<YangInstanceIdentifier.NodeIdentifier,Collection<LeafSetEntryNode<T>>,LeafSetNode<T>>
public ListNodeBuilder<T,LeafSetEntryNode<T>> withNodeIdentifier(YangInstanceIdentifier.NodeIdentifier nodeIdentifier)
withNodeIdentifier
in interface CollectionNodeBuilder<LeafSetEntryNode<T>,LeafSetNode<T>>
withNodeIdentifier
in interface ListNodeBuilder<T,LeafSetEntryNode<T>>
withNodeIdentifier
in interface NormalizedNodeBuilder<YangInstanceIdentifier.NodeIdentifier,Collection<LeafSetEntryNode<T>>,LeafSetNode<T>>
withNodeIdentifier
in interface NormalizedNodeContainerBuilder<YangInstanceIdentifier.NodeIdentifier,YangInstanceIdentifier.PathArgument,LeafSetEntryNode<T>,LeafSetNode<T>>
public ListNodeBuilder<T,LeafSetEntryNode<T>> withValue(Collection<LeafSetEntryNode<T>> value)
withValue
in interface CollectionNodeBuilder<LeafSetEntryNode<T>,LeafSetNode<T>>
withValue
in interface ListNodeBuilder<T,LeafSetEntryNode<T>>
withValue
in interface NormalizedNodeBuilder<YangInstanceIdentifier.NodeIdentifier,Collection<LeafSetEntryNode<T>>,LeafSetNode<T>>
withValue
in interface NormalizedNodeContainerBuilder<YangInstanceIdentifier.NodeIdentifier,YangInstanceIdentifier.PathArgument,LeafSetEntryNode<T>,LeafSetNode<T>>
public ListNodeBuilder<T,LeafSetEntryNode<T>> withChildValue(T value, Map<QName,String> attributes)
withChildValue
in interface ListNodeBuilder<T,LeafSetEntryNode<T>>
public ListNodeBuilder<T,LeafSetEntryNode<T>> withChildValue(T value)
withChildValue
in interface ListNodeBuilder<T,LeafSetEntryNode<T>>
public NormalizedNodeContainerBuilder<YangInstanceIdentifier.NodeIdentifier,YangInstanceIdentifier.PathArgument,LeafSetEntryNode<T>,LeafSetNode<T>> addChild(LeafSetEntryNode<T> child)
addChild
in interface NormalizedNodeContainerBuilder<YangInstanceIdentifier.NodeIdentifier,YangInstanceIdentifier.PathArgument,LeafSetEntryNode<T>,LeafSetNode<T>>
public NormalizedNodeContainerBuilder<YangInstanceIdentifier.NodeIdentifier,YangInstanceIdentifier.PathArgument,LeafSetEntryNode<T>,LeafSetNode<T>> removeChild(YangInstanceIdentifier.PathArgument key)
removeChild
in interface NormalizedNodeContainerBuilder<YangInstanceIdentifier.NodeIdentifier,YangInstanceIdentifier.PathArgument,LeafSetEntryNode<T>,LeafSetNode<T>>
Copyright © 2017 OpenDaylight. All rights reserved.