[YANGTOOLS-198] org.opendaylight.yangtools.yang.model.api.Module should expose QNameModule Created: 01/Jul/14  Updated: 10/Apr/22  Resolved: 04/Jul/14

Status: Resolved
Project: yangtools
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement
Reporter: Robert Varga Assignee: Robert Varga
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All



 Description   

A lot of code interacting with Module ends up taking its namespace/revision, combines it with something local and create a QName out of it. This is overly verbose and misses a natural opportunity for QNameModule reuse (which QName uses internally).

Expose QNameModule to the outside world and deprecate the getters.



 Comments   
Comment by Robert Varga [ 03/Jul/14 ]

https://git.opendaylight.org/gerrit/#/c/8529/ and friends.

Comment by Robert Varga [ 03/Jul/14 ]

The getters are not deprecated, as they are still useful in a lot of contexts.

Generated at Wed Feb 07 20:52:32 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.