Class AbstractLeafNode<T>
java.lang.Object
org.opendaylight.yangtools.yang.data.api.schema.AbstractNormalizedNode<LeafNode<T>>
org.opendaylight.yangtools.yang.data.api.schema.AbstractLeafNode<T>
- All Implemented Interfaces:
Immutable
,PrettyTreeAware
,DataContainerChild
,LeafNode<T>
,NormalizedData
,NormalizedNode
,ValueNode<T>
- Direct Known Subclasses:
ImmutableLeafNode
public abstract non-sealed class AbstractLeafNode<T>
extends AbstractNormalizedNode<LeafNode<T>>
implements LeafNode<T>
Abstract base class for
LeafNode
implementations.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opendaylight.yangtools.yang.data.api.schema.LeafNode
LeafNode.Builder<V>
Nested classes/interfaces inherited from interface org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode
NormalizedNode.Builder, NormalizedNode.BuilderFactory
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.opendaylight.yangtools.yang.data.api.schema.AbstractNormalizedNode
addToStringAttributes, equals, hashCode, prettyTree, toString, toStringClass
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.opendaylight.yangtools.yang.data.api.schema.DataContainerChild
name
Methods inherited from interface org.opendaylight.yangtools.concepts.PrettyTreeAware
prettyTree
-
Constructor Details
-
AbstractLeafNode
public AbstractLeafNode()
-
-
Method Details
-
implementedType
- Specified by:
implementedType
in classAbstractNormalizedNode<LeafNode<T>>
-
valueHashCode
protected final int valueHashCode()- Specified by:
valueHashCode
in classAbstractNormalizedNode<N extends NormalizedNode>
-
valueEquals
- Specified by:
valueEquals
in classAbstractNormalizedNode<N extends NormalizedNode>
-
body
Description copied from interface:NormalizedData
Returns the body of this node. While the return value specifiesObject
, this method's return value has further semantics. The returned object must be a well-published contract, such asString
,Collection<NormalizedNode>
orDOMSource
.- Returns:
- Returned value of this node.
-
value
-
wrappedValue
-