Add a few more utilities to EffectiveModelContext 63/97163/2
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 30 Sep 2021 14:02:06 +0000 (16:02 +0200)
committerRobert Varga <nite@hq.sk>
Tue, 5 Oct 2021 12:22:27 +0000 (12:22 +0000)
commit336780bf295545e3e6154a47173cd90c6e88d3ab
tree8f77ebcebbadfa566a94035a0972134c93d59b77
parent4d6b74384358af27dacb9c99e85b2f8dba1fec17
Add a few more utilities to EffectiveModelContext

Locating modules by name/namespace is useful, provide a simple bridge on
top of SchemaContext.findModules().

JIRA: YANGTOOLS-1337
Change-Id: I08968d6aebb1569ab8990cd69352c56ddcfe5cc3
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit ca3189d0b22aa7fd30a055e7cdd1e604502e620f)
model/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/EffectiveModelContext.java