[YANGTOOLS-1472] Add data.api.schema.NormalizedYangData Created: 16/Dec/22 Updated: 21/Jun/23 Resolved: 21/Jun/23 |
|
| Status: | Resolved |
| Project: | yangtools |
| Component/s: | data-api |
| Affects Version/s: | None |
| Fix Version/s: | 11.0.0 |
| Type: | New Feature | Priority: | Highest |
| Reporter: | Robert Varga | Assignee: | Robert Varga |
| Resolution: | Done | Votes: | 0 |
| Labels: | pt | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Epic Link: | Subscribed notifications | ||||||||
| Description |
|
rc:yang-data extension, as delivered in We really want something like this: public interface NormalizedYangData extends DataContainerNode, Identifiable<YangDataName> { // The single element as per spec DataContainerChild child(); @Override default Set<DataContainerChild> body() { return ImmutableSet.of(child()); } } For this to happen we need to disconnect DataContainerNode from Identifiable<PathArgument> and also have to figure out what to do about NormalizationResult, as that carries a NormalizedNode as the data component, whereas we want to hold either a NormalizedYangData. |