public abstract class AbstractImmutableNormalizedValueAttrNode<K extends YangInstanceIdentifier.PathArgument,V> extends AbstractImmutableNormalizedValueNode<K,V> implements AttributesContainer
Modifier | Constructor and Description |
---|---|
protected |
AbstractImmutableNormalizedValueAttrNode(K nodeIdentifier,
V value,
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.
|
protected boolean |
valueEquals(AbstractImmutableNormalizedNode<?,?> other) |
protected int |
valueHashCode() |
getValue, value, wrapValue
equals, getIdentifier, getNodeType, hashCode, toString
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,V>
protected int valueHashCode()
valueHashCode
in class AbstractImmutableNormalizedNode<K extends YangInstanceIdentifier.PathArgument,V>
protected boolean valueEquals(AbstractImmutableNormalizedNode<?,?> other)
valueEquals
in class AbstractImmutableNormalizedNode<K extends YangInstanceIdentifier.PathArgument,V>
Copyright © 2019 OpenDaylight. All rights reserved.