[YANGTOOLS-1513] Modernize DataTreeCandidateNode methods Created: 28/May/23  Updated: 29/May/23  Resolved: 29/May/23

Status: Resolved
Project: yangtools
Component/s: data-api
Affects Version/s: None
Fix Version/s: 11.0.0

Type: 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   

DataTreeCandidateNode uses 'get' prefix, which results in either a straight value or an Optional. Modernize parlance to reflect non-null attributes, with find() methods returning Optional.

This will allow downstream users to select what kind of API they want: @Nullable or Optional, and it paves the way for having some implementations to be backed by simple records with no fuss.


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