Interface NormalizedNode
- All Superinterfaces:
Identifiable<YangInstanceIdentifier.PathArgument>
,PrettyTreeAware
- All Known Subinterfaces:
AnydataNode<V>
,AnyxmlNode<V>
,AugmentationNode
,ChoiceNode
,ContainerNode
,DataContainerChild
,DataContainerNode
,DistinctNodeContainer<K,
,V> DOMSourceAnyxmlNode
,ForeignDataNode<V>
,LeafNode<T>
,LeafSetEntryNode<T>
,LeafSetNode<T>
,MapEntryNode
,MapNode
,MountPointNode
,NormalizedNodeContainer<V>
,OrderedNodeContainer<V>
,SystemLeafSetNode<T>
,SystemMapNode
,UnkeyedListEntryNode
,UnkeyedListNode
,UserLeafSetNode<T>
,UserMapNode
,ValueNode<V>
- All Known Implementing Classes:
AbstractImmutableDataContainerNode
,AbstractImmutableNormalizedSimpleValueNode
,AbstractImmutableNormalizedValueNode
,AbstractNormalizedNode
,ImmutableContainerNodeBuilder.ImmutableContainerNode
,ImmutableLeafSetNodeBuilder.ImmutableLeafSetNode
,ImmutableMapNodeBuilder.ImmutableMapNode
,ImmutableMountPointNode
,ImmutableUnkeyedListEntryNodeBuilder.ImmutableUnkeyedListEntryNode
,ImmutableUnkeyedListNodeBuilder.EmptyImmutableUnkeyedListNode
,ImmutableUnkeyedListNodeBuilder.ImmutableUnkeyedListNode
,ImmutableUserLeafSetNodeBuilder.ImmutableUserLeafSetNode
,ImmutableUserMapNodeBuilder.ImmutableUserMapNode
public interface NormalizedNode
extends Identifiable<YangInstanceIdentifier.PathArgument>, PrettyTreeAware
Node which is normalized according to the YANG schema
is identifiable by a
YangInstanceIdentifier
.
See subinterfaces of this interface for concretization of node.
-
Method Summary
Modifier and TypeMethodDescription@NonNull Object
body()
Returns the body of this node.@NonNull Class<? extends NormalizedNode>
contract()
Return the contract governing thisNormalizedNode
instance.Return this objects Identifier.Methods inherited from interface org.opendaylight.yangtools.concepts.PrettyTreeAware
prettyTree
-
Method Details
-
getIdentifier
YangInstanceIdentifier.PathArgument getIdentifier()Description copied from interface:Identifiable
Return this objects Identifier.- Specified by:
getIdentifier
in interfaceIdentifiable<YangInstanceIdentifier.PathArgument>
- Returns:
- Object's identifier, must not be null.
-
contract
@NonNull Class<? extends NormalizedNode> contract()Return the contract governing thisNormalizedNode
instance.- Returns:
- A class identifying the NormalizedNode contract.
- API Note:
- This method should be specialized in intermediate contracts like
MapNode
and implemented as a default method by interfaces which form the contracts themselves, for exampleContainerNode
,LeafNode
and similar.
-
body
@NonNull Object body()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.
-