public abstract class AbstractImmutableDataContainerNode<K extends YangInstanceIdentifier.PathArgument> extends AbstractImmutableNormalizedNode<K,Collection<DataContainerChild<? extends YangInstanceIdentifier.PathArgument,?>>> implements Immutable, DataContainerNode<K>
| Constructor and Description |
|---|
AbstractImmutableDataContainerNode(Map<YangInstanceIdentifier.PathArgument,DataContainerChild<? extends YangInstanceIdentifier.PathArgument,?>> children,
K nodeIdentifier) |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.base.Optional<DataContainerChild<? extends YangInstanceIdentifier.PathArgument,?>> |
getChild(YangInstanceIdentifier.PathArgument child)
Returns child node identified by provided key.
|
Map<YangInstanceIdentifier.PathArgument,DataContainerChild<? extends YangInstanceIdentifier.PathArgument,?>> |
getChildren()
DO NOT USE THIS METHOD.
|
Collection<DataContainerChild<? extends YangInstanceIdentifier.PathArgument,?>> |
getValue()
Returns iteration of all child nodes
Order of returned child nodes may be defined by subinterfaces.
|
protected boolean |
valueEquals(AbstractImmutableNormalizedNode<?,?> other) |
protected int |
valueHashCode() |
addToStringAttributes, equals, getIdentifier, getNodeType, hashCode, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetIdentifiergetNodeTypepublic AbstractImmutableDataContainerNode(Map<YangInstanceIdentifier.PathArgument,DataContainerChild<? extends YangInstanceIdentifier.PathArgument,?>> children, K nodeIdentifier)
public final com.google.common.base.Optional<DataContainerChild<? extends YangInstanceIdentifier.PathArgument,?>> getChild(YangInstanceIdentifier.PathArgument child)
NormalizedNodeContainergetChild in interface NormalizedNodeContainer<K extends YangInstanceIdentifier.PathArgument,YangInstanceIdentifier.PathArgument,DataContainerChild<? extends YangInstanceIdentifier.PathArgument,?>>child - Path argument identifying child nodeOptional.absent() if child does not exists.public final Collection<DataContainerChild<? extends YangInstanceIdentifier.PathArgument,?>> getValue()
DataContainerNode
All nodes returned in this iterable, MUST also be accessible via
#getChild(PathArgument) using their associated identifier.
getValue in interface DataContainerNode<K extends YangInstanceIdentifier.PathArgument>getValue in interface NormalizedNode<K extends YangInstanceIdentifier.PathArgument,Collection<DataContainerChild<? extends YangInstanceIdentifier.PathArgument,?>>>getValue in interface NormalizedNodeContainer<K extends YangInstanceIdentifier.PathArgument,YangInstanceIdentifier.PathArgument,DataContainerChild<? extends YangInstanceIdentifier.PathArgument,?>>protected int valueHashCode()
valueHashCode in class AbstractImmutableNormalizedNode<K extends YangInstanceIdentifier.PathArgument,Collection<DataContainerChild<? extends YangInstanceIdentifier.PathArgument,?>>>public final Map<YangInstanceIdentifier.PathArgument,DataContainerChild<? extends YangInstanceIdentifier.PathArgument,?>> getChildren()
protected boolean valueEquals(AbstractImmutableNormalizedNode<?,?> other)
valueEquals in class AbstractImmutableNormalizedNode<K extends YangInstanceIdentifier.PathArgument,Collection<DataContainerChild<? extends YangInstanceIdentifier.PathArgument,?>>>Copyright © 2018 OpenDaylight. All rights reserved.