Package | Description |
---|---|
org.opendaylight.yangtools.yang.data.api | |
org.opendaylight.yangtools.yang.data.api.schema |
Definition of normalized YANG DOM Model
Normalized DOM Model brings more direct mapping between YANG Model, DOM
representation of data
|
org.opendaylight.yangtools.yang.data.api.schema.tree | |
org.opendaylight.yangtools.yang.data.api.schema.tree.spi | |
org.opendaylight.yangtools.yang.data.impl.codec | |
org.opendaylight.yangtools.yang.data.impl.schema | |
org.opendaylight.yangtools.yang.data.impl.schema.builder.api | |
org.opendaylight.yangtools.yang.data.impl.schema.builder.impl | |
org.opendaylight.yangtools.yang.data.impl.schema.builder.impl.valid | |
org.opendaylight.yangtools.yang.data.impl.schema.nodes | |
org.opendaylight.yangtools.yang.data.util |
Modifier and Type | Class and Description |
---|---|
static class |
YangInstanceIdentifier.AugmentationIdentifier
Composite path argument identifying a
AugmentationNode
node in particular subtree. |
static class |
YangInstanceIdentifier.NodeIdentifier
Simple path argument identifying a
ContainerNode or
LeafNode leaf in particular subtree. |
static class |
YangInstanceIdentifier.NodeIdentifierWithPredicates
Composite path argument identifying a
MapEntryNode leaf
overall data tree. |
static class |
YangInstanceIdentifier.NodeWithValue<T>
Simple path argument identifying a
LeafSetEntryNode leaf
overall data tree. |
Modifier and Type | Method and Description |
---|---|
abstract YangInstanceIdentifier.PathArgument |
YangInstanceIdentifier.getLastPathArgument()
Returns the last PathArgument.
|
Modifier and Type | Method and Description |
---|---|
abstract List<YangInstanceIdentifier.PathArgument> |
YangInstanceIdentifier.getPathArguments()
Returns an ordered iteration of path arguments.
|
abstract List<YangInstanceIdentifier.PathArgument> |
YangInstanceIdentifier.getReversePathArguments()
Returns an iterable of path arguments in reverse order.
|
Modifier and Type | Method and Description |
---|---|
default YangInstanceIdentifier.InstanceIdentifierBuilder |
YangInstanceIdentifier.InstanceIdentifierBuilder.append(YangInstanceIdentifier.PathArgument... args)
Adds a collection of
YangInstanceIdentifier.PathArgument s to path arguments of resulting instance identifier. |
int |
YangInstanceIdentifier.AugmentationIdentifier.compareTo(YangInstanceIdentifier.PathArgument o) |
static YangInstanceIdentifier |
YangInstanceIdentifier.create(YangInstanceIdentifier.PathArgument... path) |
YangInstanceIdentifier |
YangInstanceIdentifier.node(YangInstanceIdentifier.PathArgument arg)
Constructs a new Instance Identifier with new
YangInstanceIdentifier.PathArgument added to the end of path arguments. |
YangInstanceIdentifier.InstanceIdentifierBuilder |
YangInstanceIdentifier.InstanceIdentifierBuilder.node(YangInstanceIdentifier.PathArgument arg)
Adds a
YangInstanceIdentifier.PathArgument to path arguments of resulting instance identifier. |
String |
YangInstanceIdentifier.PathArgument.toRelativeString(YangInstanceIdentifier.PathArgument previous)
Return the string representation of this object for use in context
provided by a previous object.
|
String |
YangInstanceIdentifier.NodeIdentifierWithPredicates.toRelativeString(YangInstanceIdentifier.PathArgument previous) |
String |
YangInstanceIdentifier.NodeWithValue.toRelativeString(YangInstanceIdentifier.PathArgument previous) |
String |
YangInstanceIdentifier.AugmentationIdentifier.toRelativeString(YangInstanceIdentifier.PathArgument previous) |
Modifier and Type | Method and Description |
---|---|
YangInstanceIdentifier.InstanceIdentifierBuilder |
YangInstanceIdentifier.InstanceIdentifierBuilder.append(Collection<? extends YangInstanceIdentifier.PathArgument> args)
Adds a collection of
YangInstanceIdentifier.PathArgument s to path arguments of resulting instance identifier. |
static YangInstanceIdentifier |
YangInstanceIdentifier.create(Iterable<? extends YangInstanceIdentifier.PathArgument> path) |
Modifier and Type | Interface and Description |
---|---|
interface |
DataContainerChild<K extends YangInstanceIdentifier.PathArgument,V>
Marker interface for direct children of
DataContainerNode . |
interface |
DataContainerNode<K extends YangInstanceIdentifier.PathArgument>
Abstract node which does not have value but contains valid
DataContainerChild nodes. |
interface |
NormalizedNode<K extends YangInstanceIdentifier.PathArgument,V>
Node which is normalized according to the YANG schema
is identifiable by a
YangInstanceIdentifier . |
interface |
NormalizedNodeContainer<I extends YangInstanceIdentifier.PathArgument,K extends YangInstanceIdentifier.PathArgument,V extends NormalizedNode<? extends K,?>>
Node which is not leaf, but has child
NormalizedNode s as its valzue. |
interface |
NormalizedNodeContainer<I extends YangInstanceIdentifier.PathArgument,K extends YangInstanceIdentifier.PathArgument,V extends NormalizedNode<? extends K,?>>
Node which is not leaf, but has child
NormalizedNode s as its valzue. |
interface |
ValueNode<K extends YangInstanceIdentifier.PathArgument,V>
Interface holding the common trait of
LeafSetEntryNode and LeafNode , which both hold a value. |
Modifier and Type | Method and Description |
---|---|
Collection<DataContainerChild<? extends YangInstanceIdentifier.PathArgument,?>> |
DataContainerNode.getValue()
Returns iteration of all child nodes.
|
Modifier and Type | Method and Description |
---|---|
static Optional<NormalizedNode<?,?>> |
NormalizedNodes.findNode(NormalizedNode<?,?> parent,
YangInstanceIdentifier.PathArgument... relativePath) |
static Optional<NormalizedNode<?,?>> |
NormalizedNodes.findNode(Optional<NormalizedNode<?,?>> parent,
YangInstanceIdentifier.PathArgument... relativePath) |
static Optional<NormalizedNode<?,?>> |
NormalizedNodes.getDirectChild(NormalizedNode<?,?> node,
YangInstanceIdentifier.PathArgument pathArg) |
Modifier and Type | Method and Description |
---|---|
static Optional<NormalizedNode<?,?>> |
NormalizedNodes.findNode(NormalizedNode<?,?> parent,
Iterable<YangInstanceIdentifier.PathArgument> relativePath) |
static Optional<NormalizedNode<?,?>> |
NormalizedNodes.findNode(Optional<NormalizedNode<?,?>> parent,
Iterable<YangInstanceIdentifier.PathArgument> relativePath) |
Modifier and Type | Method and Description |
---|---|
YangInstanceIdentifier.PathArgument |
DataTreeCandidateNode.getIdentifier()
Get the node identifier.
|
Modifier and Type | Method and Description |
---|---|
static @Nullable DataTreeCandidateNode |
DataTreeCandidateNodes.containerDelta(@Nullable NormalizedNodeContainer<?,YangInstanceIdentifier.PathArgument,NormalizedNode<?,?>> oldData,
@Nullable NormalizedNodeContainer<?,YangInstanceIdentifier.PathArgument,NormalizedNode<?,?>> newData,
@NonNull YangInstanceIdentifier.PathArgument child)
Return a collection of
DataTreeCandidateNode s summarizing the change in a child, identified by a
YangInstanceIdentifier.PathArgument , between two NormalizedNodeContainer s. |
void |
DataTreeModificationCursor.delete(YangInstanceIdentifier.PathArgument child)
Delete the specified child.
|
static @NonNull DataTreeCandidateNode |
DataTreeCandidateNodes.empty(YangInstanceIdentifier.PathArgument identifier)
Return an empty
DataTreeCandidateNode identified by specified YangInstanceIdentifier.PathArgument . |
void |
DataTreeSnapshotCursor.enter(YangInstanceIdentifier.PathArgument... path)
Move the cursor to the specified child of the current position.
|
void |
DataTreeSnapshotCursor.enter(YangInstanceIdentifier.PathArgument child)
Move the cursor to the specified child of the current position.
|
static <T extends StoreTreeNode<T>> |
StoreTreeNodes.getChild(Optional<T> parent,
YangInstanceIdentifier.PathArgument child) |
@NonNull Optional<C> |
StoreTreeNode.getChild(YangInstanceIdentifier.PathArgument child)
Returns a direct child of the node.
|
DataTreeCandidateNode |
DataTreeCandidateNode.getModifiedChild(YangInstanceIdentifier.PathArgument childIdentifier)
Returns modified child or null if child was not modified
/ does not exists.
|
void |
DataTreeModificationCursor.merge(YangInstanceIdentifier.PathArgument child,
NormalizedNode<?,?> data)
Merge the specified data with the currently-present data
at specified path.
|
Optional<NormalizedNode<?,?>> |
DataTreeSnapshotCursor.readNode(YangInstanceIdentifier.PathArgument child)
Read a particular node from the snapshot.
|
void |
DataTreeModificationCursor.write(YangInstanceIdentifier.PathArgument child,
NormalizedNode<?,?> data)
Replace the data at specified path with supplied data.
|
Modifier and Type | Method and Description |
---|---|
void |
DataTreeSnapshotCursor.enter(Iterable<YangInstanceIdentifier.PathArgument> path)
Move the cursor to the specified child of the current position.
|
Modifier and Type | Method and Description |
---|---|
void |
MutableTreeNode.removeChild(YangInstanceIdentifier.PathArgument id)
Remove a child node.
|
Modifier and Type | Method and Description |
---|---|
void |
SchemaTracker.startList(YangInstanceIdentifier.PathArgument name) |
void |
SchemaTracker.startListItem(YangInstanceIdentifier.PathArgument name) |
Modifier and Type | Method and Description |
---|---|
NormalizedNodeContainerBuilder |
ImmutableNormalizedNodeStreamWriter.NormalizedNodeResultBuilder.removeChild(YangInstanceIdentifier.PathArgument key) |
NormalizedNodeContainerBuilder |
ImmutableNormalizedNodeStreamWriter.NormalizedNodeResultBuilder.withNodeIdentifier(YangInstanceIdentifier.PathArgument nodeIdentifier) |
Modifier and Type | Method and Description |
---|---|
@NonNull DataContainerNodeBuilder<I,R> |
DataContainerNodeBuilder.withoutChild(YangInstanceIdentifier.PathArgument key) |
@NonNull CollectionNodeBuilder<V,R> |
CollectionNodeBuilder.withoutChild(YangInstanceIdentifier.PathArgument key) |
ListNodeBuilder<T,V> |
ListNodeBuilder.withoutChild(YangInstanceIdentifier.PathArgument key) |
Modifier and Type | Method and Description |
---|---|
DataContainerNodeBuilder<I,R> |
DataContainerNodeBuilder.withValue(Collection<DataContainerChild<? extends YangInstanceIdentifier.PathArgument,?>> value) |
DataContainerNodeAttrBuilder<I,R> |
DataContainerNodeAttrBuilder.withValue(Collection<DataContainerChild<? extends YangInstanceIdentifier.PathArgument,?>> value) |
Modifier and Type | Field and Description |
---|---|
protected Map<QName,YangInstanceIdentifier.PathArgument> |
ImmutableMapEntryNodeBuilder.childrenQNamesToPaths |
Modifier and Type | Method and Description |
---|---|
DataContainerNodeAttrBuilder<YangInstanceIdentifier.NodeIdentifierWithPredicates,MapEntryNode> |
ImmutableMapEntryNodeBuilder.withValue(Collection<DataContainerChild<? extends YangInstanceIdentifier.PathArgument,?>> withValue) |
Modifier and Type | Method and Description |
---|---|
static void |
DataValidationException.checkLegalChild(boolean isLegal,
YangInstanceIdentifier.PathArgument child,
ChoiceSchemaNode schema) |
static void |
DataValidationException.checkLegalChild(boolean isLegal,
YangInstanceIdentifier.PathArgument child,
DataNodeContainer schema,
Set<QName> childNodes,
Set<YangInstanceIdentifier.AugmentationIdentifier> augments) |
static void |
DataValidationException.checkLegalChild(boolean isLegal,
YangInstanceIdentifier.PathArgument child,
DataSchemaNode schema,
Set<QName> childNodes) |
void |
DataNodeContainerValidator.validateChild(YangInstanceIdentifier.PathArgument child) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractImmutableDataContainerAttrNode<K extends YangInstanceIdentifier.PathArgument> |
class |
AbstractImmutableDataContainerNode<K extends YangInstanceIdentifier.PathArgument> |
class |
AbstractImmutableNormalizedNode<K extends YangInstanceIdentifier.PathArgument,V> |
class |
AbstractImmutableNormalizedValueAttrNode<K extends YangInstanceIdentifier.PathArgument,V> |
class |
AbstractImmutableNormalizedValueNode<K extends YangInstanceIdentifier.PathArgument,V> |
Modifier and Type | Method and Description |
---|---|
Optional<DataContainerChild<? extends YangInstanceIdentifier.PathArgument,?>> |
AbstractImmutableDataContainerNode.getChild(YangInstanceIdentifier.PathArgument child) |
Map<YangInstanceIdentifier.PathArgument,DataContainerChild<? extends YangInstanceIdentifier.PathArgument,?>> |
AbstractImmutableDataContainerNode.getChildren()
DO NOT USE THIS METHOD.
|
Map<YangInstanceIdentifier.PathArgument,DataContainerChild<? extends YangInstanceIdentifier.PathArgument,?>> |
AbstractImmutableDataContainerNode.getChildren()
DO NOT USE THIS METHOD.
|
Collection<DataContainerChild<? extends YangInstanceIdentifier.PathArgument,?>> |
AbstractImmutableDataContainerNode.getValue() |
Modifier and Type | Method and Description |
---|---|
Optional<DataContainerChild<? extends YangInstanceIdentifier.PathArgument,?>> |
AbstractImmutableDataContainerNode.getChild(YangInstanceIdentifier.PathArgument child) |
Constructor and Description |
---|
AbstractImmutableDataContainerAttrNode(Map<YangInstanceIdentifier.PathArgument,DataContainerChild<? extends YangInstanceIdentifier.PathArgument,?>> children,
K nodeIdentifier,
Map<QName,String> attributes) |
AbstractImmutableDataContainerAttrNode(Map<YangInstanceIdentifier.PathArgument,DataContainerChild<? extends YangInstanceIdentifier.PathArgument,?>> children,
K nodeIdentifier,
Map<QName,String> attributes) |
AbstractImmutableDataContainerNode(Map<YangInstanceIdentifier.PathArgument,DataContainerChild<? extends YangInstanceIdentifier.PathArgument,?>> children,
K nodeIdentifier) |
AbstractImmutableDataContainerNode(Map<YangInstanceIdentifier.PathArgument,DataContainerChild<? extends YangInstanceIdentifier.PathArgument,?>> children,
K nodeIdentifier) |
Modifier and Type | Class and Description |
---|---|
class |
DataSchemaContextNode<T extends YangInstanceIdentifier.PathArgument>
Schema derived data providing necessary information for mapping between
NormalizedNode and serialization format defined in RFC6020,
since the mapping is not one-to-one. |
Modifier and Type | Method and Description |
---|---|
abstract @Nullable DataSchemaContextNode<?> |
DataSchemaContextNode.getChild(YangInstanceIdentifier.PathArgument child)
Find a child node identifier by its
YangInstanceIdentifier.PathArgument . |
Copyright © 2019 OpenDaylight. All rights reserved.