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, valueHashCode
equals, getIdentifier, getNodeType, hashCode, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getIdentifier
getNodeType
public AbstractImmutableDataContainerAttrNode(Map<YangInstanceIdentifier.PathArgument,DataContainerChild<? extends YangInstanceIdentifier.PathArgument,?>> children, K nodeIdentifier, Map<QName,String> attributes)
public final Map<QName,String> getAttributes()
AttributesContainer
getAttributes
in interface AttributesContainer
public final Object getAttributeValue(QName value)
AttributesContainer
getAttributeValue
in interface AttributesContainer
value
- 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 © 2019 OpenDaylight. All rights reserved.