Improve NamespaceBehaviour/NamespaceStorageNode interactions
(YANGTOOLS-1497)
|
|
| Status: | Resolved |
| Project: | yangtools |
| Component/s: | parser |
| Affects Version/s: | None |
| Fix Version/s: | 11.0.0 |
| Type: | Sub-task | Priority: | Medium |
| Reporter: | Robert Varga | Assignee: | Robert Varga |
| Resolution: | Done | Votes: | 0 |
| Labels: | pt | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
NamespaceBehaviour operates on NamespaceStorageNodes, but are implemented very separately – and therefore having NamespaceStorageNode as an inner class ties the two together more than it should. Split out NamespaceStorageNode and StorageNodeType to a topl-level NamespaceStorage and NamespaceStorage.StorageType. Also move OnDemandSchemaTreeStorageNode into a top-level class, OnDemandSchemaTreeStorage. |