Class AbstractAnydataNode<T>
java.lang.Object
org.opendaylight.yangtools.yang.data.api.schema.AbstractNormalizedNode<N>
org.opendaylight.yangtools.yang.data.api.schema.AbstractAnydataNode<T>
- All Implemented Interfaces:
Immutable
,PrettyTreeAware
,AnydataNode<T>
,DataContainerChild
,ForeignDataNode<T>
,NormalizedData
,NormalizedNode
public abstract non-sealed class AbstractAnydataNode<T>
extends AbstractNormalizedNode<N>
implements AnydataNode<T>
Abstract base class for
AnydataNode
implementations.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opendaylight.yangtools.yang.data.api.schema.AnydataNode
AnydataNode.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
Modifier and TypeMethodDescriptionfinal T
body()
Returns the body of this node.protected final Class<AnydataNode<T>>
protected abstract T
value()
protected final boolean
valueEquals
(AnydataNode<T> other) protected final int
protected abstract T
Methods inherited from class org.opendaylight.yangtools.yang.data.api.schema.AbstractNormalizedNode
addToStringAttributes, equals, hashCode, prettyTree, toString
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.AnydataNode
contract
Methods inherited from interface org.opendaylight.yangtools.yang.data.api.schema.DataContainerChild
name
Methods inherited from interface org.opendaylight.yangtools.yang.data.api.schema.ForeignDataNode
body, bodyObjectModel
Methods inherited from interface org.opendaylight.yangtools.concepts.PrettyTreeAware
prettyTree
-
Constructor Details
-
AbstractAnydataNode
public AbstractAnydataNode()
-
-
Method Details
-
implementedType
- Specified by:
implementedType
in classAbstractNormalizedNode<AnydataNode<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
-