public abstract class AbstractImmutableDataContainerAttrNode<K extends YangInstanceIdentifier.PathArgument> extends AbstractImmutableDataContainerNode<K> implements AttributesContainer
| Constructor and Description |
|---|
AbstractImmutableDataContainerAttrNode(Map<YangInstanceIdentifier.PathArgument,DataContainerChild<? extends YangInstanceIdentifier.PathArgument,?>> children,
K nodeIdentifier,
Map<QName,String> attributes) |
| Modifier and Type | Method and Description |
|---|---|
protected com.google.common.base.MoreObjects.ToStringHelper |
addToStringAttributes(com.google.common.base.MoreObjects.ToStringHelper toStringHelper) |
Map<QName,String> |
getAttributes()
Returns immutable map of QName and value of the attribute.
|
Object |
getAttributeValue(QName value)
Returns attribute value by supplied QName
|
getChild, getChildren, getValue, valueEquals, valueHashCodeequals, getIdentifier, getNodeType, hashCode, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetIdentifiergetNodeTypepublic AbstractImmutableDataContainerAttrNode(Map<YangInstanceIdentifier.PathArgument,DataContainerChild<? extends YangInstanceIdentifier.PathArgument,?>> children, K nodeIdentifier, Map<QName,String> attributes)
public final Map<QName,String> getAttributes()
AttributesContainergetAttributes in interface AttributesContainerpublic final Object getAttributeValue(QName value)
AttributesContainergetAttributeValue in interface AttributesContainervalue - Attribute nameprotected com.google.common.base.MoreObjects.ToStringHelper addToStringAttributes(com.google.common.base.MoreObjects.ToStringHelper toStringHelper)
addToStringAttributes in class AbstractImmutableNormalizedNode<K extends YangInstanceIdentifier.PathArgument,Collection<DataContainerChild<? extends YangInstanceIdentifier.PathArgument,?>>>Copyright © 2018 OpenDaylight. All rights reserved.