public class ImmutableLeafNodeBuilder<T> extends Object
Constructor and Description |
---|
ImmutableLeafNodeBuilder() |
Modifier and Type | Method and Description |
---|---|
LeafNode<T> |
build() |
static <T> NormalizedNodeAttrBuilder<YangInstanceIdentifier.NodeIdentifier,T,LeafNode<T>> |
create() |
protected Map<QName,String> |
getAttributes() |
protected I |
getNodeIdentifier() |
protected V |
getValue() |
NormalizedNodeAttrBuilder<I,V,R> |
withAttributes(Map<QName,String> attributes)
Attach a map of attributes.
|
NormalizedNodeAttrBuilder<I,V,R> |
withNodeIdentifier(I nodeIdentifier) |
NormalizedNodeAttrBuilder<I,V,R> |
withValue(V value) |
public static <T> NormalizedNodeAttrBuilder<YangInstanceIdentifier.NodeIdentifier,T,LeafNode<T>> create()
protected final I getNodeIdentifier()
protected final V getValue()
public NormalizedNodeAttrBuilder<I,V,R> withValue(V value)
withValue
in interface NormalizedNodeAttrBuilder<I extends YangInstanceIdentifier.PathArgument,V,R extends NormalizedNode<I,?>>
withValue
in interface NormalizedNodeBuilder<I extends YangInstanceIdentifier.PathArgument,V,R extends NormalizedNode<I,?>>
public NormalizedNodeAttrBuilder<I,V,R> withNodeIdentifier(I nodeIdentifier)
withNodeIdentifier
in interface NormalizedNodeAttrBuilder<I extends YangInstanceIdentifier.PathArgument,V,R extends NormalizedNode<I,?>>
withNodeIdentifier
in interface NormalizedNodeBuilder<I extends YangInstanceIdentifier.PathArgument,V,R extends NormalizedNode<I,?>>
public NormalizedNodeAttrBuilder<I,V,R> withAttributes(Map<QName,String> attributes)
AttributesBuilder
withAttributes
in interface AttributesBuilder<NormalizedNodeAttrBuilder<I extends YangInstanceIdentifier.PathArgument,V,R extends NormalizedNode<I,?>>>
attributes
- Attribute mapCopyright © 2018 OpenDaylight. All rights reserved.