Modifier and Type | Method and Description |
---|---|
InstanceIdentifier<T> |
DataTreeIdentifier.getRootIdentifier()
Return the
InstanceIdentifier of the root node. |
Modifier and Type | Method and Description |
---|---|
static <T extends TreeNode> |
DataTreeIdentifier.create(LogicalDatastoreType datastoreType,
InstanceIdentifier<T> rootIdentifier) |
void |
WriteTransaction.delete(LogicalDatastoreType store,
InstanceIdentifier<?> path)
Removes a piece of data from specified path.
|
Optional<MountPoint> |
MountPointService.getMountPoint(InstanceIdentifier<?> mountPoint)
Returns optional of mount point at given path represented by instance identifier.
|
<T extends TreeNode> |
WriteTransaction.merge(LogicalDatastoreType store,
InstanceIdentifier<T> path,
T data)
Merges a piece of data with the existing data at a specified path.
|
<T extends TreeNode> |
WriteTransaction.merge(LogicalDatastoreType store,
InstanceIdentifier<T> path,
T data,
boolean createMissingParents)
Merges a piece of data with the existing data at a specified path.
|
void |
MountPointListener.onMountPointCreated(InstanceIdentifier<?> path)
Invoked whenever mount point is created at given path represented by instance identifier.
|
void |
MountPointListener.onMountPointRemoved(InstanceIdentifier<?> path)
Invoked whenever mount point is removed from given path represented by instance identifier.
|
<T extends TreeNode> |
WriteTransaction.put(LogicalDatastoreType store,
InstanceIdentifier<T> path,
T data)
Stores a piece of data at the specified path.
|
<T extends TreeNode> |
WriteTransaction.put(LogicalDatastoreType store,
InstanceIdentifier<T> path,
T data,
boolean createMissingParents)
Stores a piece of data at the specified path.
|
<T extends TreeNode> |
ReadTransaction.read(LogicalDatastoreType store,
InstanceIdentifier<T> path,
BiConsumer<ReadFailedException,T> callback)
Reads data from the provided logical data store located at the provided path.
|
<T extends MountPointListener> |
MountPointService.registerListener(InstanceIdentifier<?> path,
T listener)
Register a
MountPointListener instance. |
Modifier and Type | Method and Description |
---|---|
<S extends Rpc<?,?>,T extends S> |
RpcActionProviderService.registerRpcImplementation(Class<S> type,
T implementation,
Set<InstanceIdentifier<?>> paths)
Returns class representing registration of global RPC for supported paths.
|
Modifier and Type | Method and Description |
---|---|
abstract InstanceIdentifier<? extends TreeNode> |
ContextReferenceExtractor.extract(TreeNode input)
Extract context-reference (Instance Identifier) from Binding TreeNode.
|
Modifier and Type | Method and Description |
---|---|
InstanceIdentifier<?> |
BindingMountPointAdapter.getIdentifier() |
Modifier and Type | Method and Description |
---|---|
Optional<MountPoint> |
BindingDOMMountPointServiceAdapter.getMountPoint(InstanceIdentifier<?> mountPoint) |
<T extends MountPointListener> |
BindingDOMMountPointServiceAdapter.registerListener(InstanceIdentifier<?> path,
T listener) |
Modifier and Type | Method and Description |
---|---|
<S extends Rpc<?,?>,T extends S> |
BindingDOMOperationProviderServiceAdapter.registerRpcImplementation(Class<S> type,
T implementation,
Set<InstanceIdentifier<?>> paths) |
Modifier and Type | Method and Description |
---|---|
void |
BindingDOMWriteTransactionAdapter.delete(LogicalDatastoreType store,
InstanceIdentifier<?> path) |
<U extends TreeNode> |
BindingDOMWriteTransactionAdapter.merge(LogicalDatastoreType store,
InstanceIdentifier<U> path,
U data) |
<U extends TreeNode> |
BindingDOMWriteTransactionAdapter.put(LogicalDatastoreType store,
InstanceIdentifier<U> path,
U data) |
<T extends TreeNode> |
BindingDOMReadTransactionAdapter.read(LogicalDatastoreType store,
InstanceIdentifier<T> path,
BiConsumer<ReadFailedException,T> callback) |
Modifier and Type | Method and Description |
---|---|
protected Set<InstanceIdentifier<?>> |
AbstractForwardedDataBroker.toBinding(InstanceIdentifier<?> path,
Set<org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier> normalized) |
protected Map<InstanceIdentifier<? extends TreeNode>,TreeNode> |
AbstractForwardedDataBroker.toBinding(InstanceIdentifier<? extends TreeNode> path,
Map<org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier,? extends org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?>> normalized) |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractWriteTransaction.doDelete(LogicalDatastoreType store,
InstanceIdentifier<?> path) |
protected <D extends TreeNode> |
AbstractForwardedTransaction.doRead(DOMDataTreeReadTransaction readTx,
LogicalDatastoreType store,
InstanceIdentifier<D> path) |
protected void |
AbstractWriteTransaction.ensureParentsByMerge(LogicalDatastoreType store,
org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier domPath,
InstanceIdentifier<?> path)
Subclasses of this class are required to implement creation of parent nodes based on behavior of their
underlying transaction.
|
<U extends TreeNode> |
AbstractWriteTransaction.merge(LogicalDatastoreType store,
InstanceIdentifier<U> path,
U data,
boolean createParents)
Merge Binding data with existing data on specific path via
DOMDataTreeWriteOperations.merge(LogicalDatastoreType, YangInstanceIdentifier, NormalizedNode) . |
<U extends TreeNode> |
AbstractWriteTransaction.put(LogicalDatastoreType store,
InstanceIdentifier<U> path,
U data,
boolean createParents)
Put Binding data to specific datastore via
DOMDataTreeWriteOperations.put(LogicalDatastoreType, YangInstanceIdentifier, NormalizedNode) . |
protected Set<InstanceIdentifier<?>> |
AbstractForwardedDataBroker.toBinding(InstanceIdentifier<?> path,
Set<org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier> normalized) |
protected Map<InstanceIdentifier<? extends TreeNode>,TreeNode> |
AbstractForwardedDataBroker.toBinding(InstanceIdentifier<? extends TreeNode> path,
Map<org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier,? extends org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?>> normalized) |
protected Optional<TreeNode> |
AbstractForwardedDataBroker.toBindingData(InstanceIdentifier<?> path,
org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?> data) |
Modifier and Type | Method and Description |
---|---|
<T extends TreeNode> |
BindingTreeCodec.getSubtreeCodec(InstanceIdentifier<T> path)
Get specific subtree serialization context by Binding path.
|
Modifier and Type | Method and Description |
---|---|
BindingStreamEventWriter |
BindingNormalizedNodeWriterFactory.newWriter(InstanceIdentifier<? extends TreeNode> path,
org.opendaylight.yangtools.yang.data.api.schema.stream.NormalizedNodeStreamWriter domWriter)
Creates a
BindingStreamEventWriter for data tree path which will
translate to NormalizedNode model and invoke proper events on supplied
NormalizedNodeStreamWriter . |
Map.Entry<org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier,BindingStreamEventWriter> |
BindingNormalizedNodeWriterFactory.newWriterAndIdentifier(InstanceIdentifier<? extends TreeNode> path,
org.opendaylight.yangtools.yang.data.api.schema.stream.NormalizedNodeStreamWriter domWriter)
Creates a
BindingStreamEventWriter for data tree path which will
translate to NormalizedNode model and invoke proper events on supplied
NormalizedNodeStreamWriter . |
Modifier and Type | Method and Description |
---|---|
InstanceIdentifier<? extends TreeNode> |
BindingNormalizedNodeSerializer.fromYangInstanceIdentifier(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier dom)
Translates supplied YANG Instance Identifier into Binding instance
identifier.
|
Modifier and Type | Method and Description |
---|---|
Map.Entry<InstanceIdentifier<? extends TreeNode>,TreeNode> |
BindingNormalizedNodeSerializer.fromNormalizedNode(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier path,
org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?> data)
Translates supplied YANG Instance Identifier and NormalizedNode into
Binding data.
|
Modifier and Type | Method and Description |
---|---|
<T extends TreeNode> |
BindingNormalizedNodeSerializer.toNormalizedNode(InstanceIdentifier<T> path,
T data)
Translates supplied Binding Instance Identifier and data into
NormalizedNode representation.
|
org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier |
BindingNormalizedNodeSerializer.toYangInstanceIdentifier(InstanceIdentifier<? extends TreeNode> binding)
Translates supplied Binding Instance Identifier into NormalizedNode
instance identifier.
|
Modifier and Type | Method and Description |
---|---|
InstanceIdentifier<?> |
InstanceIdentifierCodec.deserialize(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier input) |
InstanceIdentifier<?> |
BindingToNormalizedNodeCodec.fromYangInstanceIdentifier(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier dom) |
InstanceIdentifier<?> |
BindingNormalizedNodeCodecRegistry.fromYangInstanceIdentifier(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier dom) |
Modifier and Type | Method and Description |
---|---|
Map.Entry<InstanceIdentifier<?>,TreeNode> |
BindingToNormalizedNodeCodec.fromNormalizedNode(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier path,
org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?> data) |
Map.Entry<InstanceIdentifier<?>,TreeNode> |
BindingNormalizedNodeCodecRegistry.fromNormalizedNode(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier path,
org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?> data) |
Map.Entry<InstanceIdentifier<?>,BindingTreeNodeCodec<?>> |
BindingToNormalizedNodeCodec.getSubtreeCodec(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier domIdentifier)
Get subtree codec of DOM identifier.
|
Optional<Map.Entry<InstanceIdentifier<? extends TreeNode>,TreeNode>> |
BindingToNormalizedNodeCodec.toBinding(Map.Entry<org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier,? extends org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?>> normalized)
DOM to Binding.
|
Optional<InstanceIdentifier<? extends TreeNode>> |
BindingToNormalizedNodeCodec.toBinding(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier normalized)
Returns a Binding-Aware instance identifier from normalized instance-identifier if it is possible to
create representation.
|
Modifier and Type | Method and Description |
---|---|
<T extends TreeNode> |
BindingToNormalizedNodeCodec.deserializeFunction(InstanceIdentifier<T> path)
Prepare deserialize function of Binding identifier to DOM.
|
<T extends TreeNode> |
BindingNormalizedNodeCodecRegistry.deserializeFunction(InstanceIdentifier<T> path)
Deserialize function based on tree node codec context resolved by binding path.
|
BindingStreamEventWriter |
BindingNormalizedNodeCodecRegistry.newWriter(InstanceIdentifier<?> path,
org.opendaylight.yangtools.yang.data.api.schema.stream.NormalizedNodeStreamWriter domWriter) |
Map.Entry<org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier,BindingStreamEventWriter> |
BindingNormalizedNodeCodecRegistry.newWriterAndIdentifier(InstanceIdentifier<?> path,
org.opendaylight.yangtools.yang.data.api.schema.stream.NormalizedNodeStreamWriter domWriter) |
org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier |
InstanceIdentifierCodec.serialize(InstanceIdentifier<?> input) |
org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier |
BindingToNormalizedNodeCodec.toNormalized(InstanceIdentifier<? extends TreeNode> binding)
Translates supplied Binding Instance Identifier into NormalizedNode instance identifier.
|
<T extends TreeNode> |
BindingToNormalizedNodeCodec.toNormalizedNode(InstanceIdentifier<T> path,
T data) |
<T extends TreeNode> |
BindingNormalizedNodeCodecRegistry.toNormalizedNode(InstanceIdentifier<T> path,
T data) |
org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier |
BindingToNormalizedNodeCodec.toYangInstanceIdentifier(InstanceIdentifier<?> binding) |
org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier |
BindingNormalizedNodeCodecRegistry.toYangInstanceIdentifier(InstanceIdentifier<?> binding) |
org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier |
BindingToNormalizedNodeCodec.toYangInstanceIdentifierBlocking(InstanceIdentifier<? extends TreeNode> binding)
Translates supplied Binding Instance Identifier into NormalizedNode instance identifier with waiting
for schema.
|
org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier |
BindingToNormalizedNodeCodec.toYangInstanceIdentifierCached(InstanceIdentifier<?> binding)
Get cached DOM identifier of Binding identifier.
|
Modifier and Type | Method and Description |
---|---|
Map.Entry<org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier,org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?>> |
BindingToNormalizedNodeCodec.toNormalizedNode(Map.Entry<InstanceIdentifier<? extends TreeNode>,TreeNode> binding)
Converts Binding Map.Entry to DOM Map.Entry.
|
Modifier and Type | Method and Description |
---|---|
org.opendaylight.yangtools.concepts.Codec<org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier,InstanceIdentifier<?>> |
BindingCodecContext.getInstanceIdentifierCodec()
Get instance identifier codec.
|
Modifier and Type | Method and Description |
---|---|
DataContainerCodecContext<?,?> |
BindingCodecContext.getCodecContextNode(InstanceIdentifier<?> binding,
List<org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument> builder)
Prepare context from Binding and DOM path.
|
<T extends TreeNode> |
BindingCodecContext.getSubtreeCodec(InstanceIdentifier<T> path) |
Map.Entry<org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier,BindingStreamEventWriter> |
BindingCodecContext.newWriter(InstanceIdentifier<?> path,
org.opendaylight.yangtools.yang.data.api.schema.stream.NormalizedNodeStreamWriter domWriter)
Prepare specific writer for binding path.
|
BindingStreamEventWriter |
BindingCodecContext.newWriterWithoutIdentifier(InstanceIdentifier<?> path,
org.opendaylight.yangtools.yang.data.api.schema.stream.NormalizedNodeStreamWriter domWriter)
Prepare specific writer for binding path without DOM identifier.
|
Modifier and Type | Method and Description |
---|---|
static Optional<org.opendaylight.yangtools.yang.model.api.DataNodeContainer> |
BindingSchemaContextUtils.findDataNodeContainer(org.opendaylight.yangtools.yang.model.api.SchemaContext ctx,
InstanceIdentifier<?> path)
Find data node container by binding path in schema context.
|
Modifier and Type | Interface and Description |
---|---|
interface |
Action<P extends TreeNode,D extends InstanceIdentifier<P>,I extends Input<I> & Instantiable<I>,O extends Output<O> & Instantiable<O>>
The "action" statement is used to define an operation connected to a
specific container or list data node.
|
Modifier and Type | Class and Description |
---|---|
class |
KeyedInstanceIdentifier<T extends TreeNode,K>
An
InstanceIdentifier , which has a list key attached at its last path
element. |
Modifier and Type | Method and Description |
---|---|
<N extends TreeNode & Augmentation<? super T>> |
InstanceIdentifier.augmentation(Class<N> container) |
InstanceIdentifier<T> |
InstanceIdentifierBuilder.build()
Build the instance identifier.
|
<N extends TreeChildNode<? super T,?>> |
InstanceIdentifier.child(Class<N> container) |
static <T extends TreeNode> |
InstanceIdentifier.create(Class<T> type)
Create an instance identifier for a very specific object type.
|
static InstanceIdentifier<?> |
InstanceIdentifier.create(Iterable<? extends TreeArgument> pathArguments)
Create an instance identifier for a very specific object type.
|
<I extends TreeNode> |
InstanceIdentifier.firstIdentifierOf(Class<I> type)
Return an instance identifier trimmed at the first occurrence of a
specific component type.
|
InstanceIdentifier<T> |
InstanceIdentifierBuilder.toInstance()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static <T extends TreeNode> |
InstanceIdentifier.builder(InstanceIdentifier<T> base)
Deprecated.
Use
builder() instead. |
boolean |
InstanceIdentifier.contains(InstanceIdentifier<? extends TreeNode> other)
Check whether an identifier is contained in this identifier.
|
boolean |
InstanceIdentifier.containsWildcarded(InstanceIdentifier<?> other)
Check whether this instance identifier contains the other identifier after wildcard expansion.
|
protected boolean |
InstanceIdentifier.fastNonEqual(InstanceIdentifier<?> other)
Perform class-specific fast checks for non-equality.
|
protected boolean |
KeyedInstanceIdentifier.fastNonEqual(InstanceIdentifier<?> other) |
static <N extends TreeNode,K> |
InstanceIdentifier.keyOf(InstanceIdentifier<N> id)
Return the key associated with the last component of the specified identifier.
|
Modifier and Type | Method and Description |
---|---|
void |
ForwardingWriteTransaction.delete(LogicalDatastoreType store,
InstanceIdentifier<?> path) |
<T extends TreeNode> |
ForwardingWriteTransaction.merge(LogicalDatastoreType store,
InstanceIdentifier<T> path,
T data) |
<T extends TreeNode> |
ForwardingWriteTransaction.merge(LogicalDatastoreType store,
InstanceIdentifier<T> path,
T data,
boolean createMissingParents) |
<T extends TreeNode> |
ForwardingWriteTransaction.put(LogicalDatastoreType store,
InstanceIdentifier<T> path,
T data) |
<T extends TreeNode> |
ForwardingWriteTransaction.put(LogicalDatastoreType store,
InstanceIdentifier<T> path,
T data,
boolean createMissingParents) |
<T extends TreeNode> |
ForwardingReadTransaction.read(LogicalDatastoreType store,
InstanceIdentifier<T> path,
BiConsumer<ReadFailedException,T> callback) |
Modifier and Type | Method and Description |
---|---|
static InstanceIdentifier<Cont> |
Cont.getInstanceIdentifier() |
static InstanceIdentifier<ContInt32> |
ContInt32.getInstanceIdentifier() |
static InstanceIdentifier<TopInt> |
TopInt.getInstanceIdentifier() |
static InstanceIdentifier<Top> |
Top.getInstanceIdentifier() |
Modifier and Type | Method and Description |
---|---|
static InstanceIdentifier<MyCont> |
MyCont.getInstanceIdentifier() |
Modifier and Type | Method and Description |
---|---|
static InstanceIdentifier<Case1Container> |
Case1Container.getInstanceIdentifier() |
Modifier and Type | Method and Description |
---|---|
static InstanceIdentifier<Case11ChoiceCaseContainer> |
Case11ChoiceCaseContainer.getInstanceIdentifier() |
Modifier and Type | Method and Description |
---|---|
static InstanceIdentifier<Case2Container> |
Case2Container.getInstanceIdentifier() |
Modifier and Type | Method and Description |
---|---|
static InstanceIdentifier<ContainerWithUses> |
ContainerWithUses.getInstanceIdentifier(ChoiceListKey _choicelistkey) |
static InstanceIdentifier<ListViaUses> |
ListViaUses.getInstanceIdentifier(ChoiceListKey _choicelistkey,
ListViaUsesKey _listviauseskey) |
Modifier and Type | Method and Description |
---|---|
static InstanceIdentifier<ContainerWithUses> |
ContainerWithUses.getInstanceIdentifier(TopLevelListKey _toplevellistkey) |
static InstanceIdentifier<ListViaUses> |
ListViaUses.getInstanceIdentifier(TopLevelListKey _toplevellistkey,
ListViaUsesKey _listviauseskey) |
Modifier and Type | Method and Description |
---|---|
static InstanceIdentifier<ChoiceContainer> |
ChoiceContainer.getInstanceIdentifier() |
static InstanceIdentifier<Top> |
Top.getInstanceIdentifier() |
Modifier and Type | Method and Description |
---|---|
static InstanceIdentifier<ExtendedId> |
ExtendedId.getInstanceIdentifier() |
Modifier and Type | Method and Description |
---|---|
static InstanceIdentifier<SimpleId> |
SimpleId.getInstanceIdentifier() |
Modifier and Type | Method and Description |
---|---|
static InstanceIdentifier<ChoiceList> |
ChoiceList.getInstanceIdentifier(ChoiceListKey _choicelistkey) |
static InstanceIdentifier<TopLevelList> |
TopLevelList.getInstanceIdentifier(TopLevelListKey _toplevellistkey) |
Modifier and Type | Method and Description |
---|---|
static InstanceIdentifier<NestedList> |
NestedList.getInstanceIdentifier(TopLevelListKey _toplevellistkey,
NestedListKey _nestedlistkey) |
Modifier and Type | Method and Description |
---|---|
InstanceIdentifier<?> |
RpcContextRef.getContextInstance()
Pointer to the context.
|
Modifier and Type | Method and Description |
---|---|
void |
TestOperationServiceInCont2Action.invoke(InCont2Input input,
InstanceIdentifier<MyCont> ii,
RpcCallback<InCont2Output> callback) |
void |
TestOperationServiceInContAction.invoke(InContInput input,
InstanceIdentifier<MyCont> ii,
RpcCallback<InContOutput> callback) |
Modifier and Type | Method and Description |
---|---|
static InstanceIdentifier<MyList> |
MyList.getInstanceIdentifier() |
static InstanceIdentifier<MyCont> |
MyCont.getInstanceIdentifier() |
Modifier and Type | Method and Description |
---|---|
static InstanceIdentifier<Cont> |
Cont.getInstanceIdentifier() |
Modifier and Type | Method and Description |
---|---|
static InstanceIdentifier<MyCont> |
MyCont.getInstanceIdentifier() |
Modifier and Type | Method and Description |
---|---|
static InstanceIdentifier<MyList> |
MyList.getInstanceIdentifier() |
Modifier and Type | Method and Description |
---|---|
static InstanceIdentifier<TestCont> |
TestCont.getInstanceIdentifier() |
static InstanceIdentifier<DefaultPolicy> |
DefaultPolicy.getInstanceIdentifier() |
Modifier and Type | Method and Description |
---|---|
static InstanceIdentifier<MyCont> |
MyCont.getInstanceIdentifier() |
Copyright © 2019 OpenDaylight. All rights reserved.