[YANGTOOLS-52] 'units' statement should be reflected somewhere in the generated class Created: 05/Nov/13  Updated: 10/Apr/22  Resolved: 19/Nov/13

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

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

Operating System: All
Platform: All


External issue ID: 135

 Description   

A typedef can carry a 'units' statement, which is helpful for giving humans an idea what the number represents. It would be good to at least the string specified in a 'public static final String' field. Also consider adding this information into the toString() method – which opens the question of what is the relationship of the value, units and toString().



 Comments   
Comment by Martin Vitez [ 19/Nov/13 ]

Implemented.

https://git.opendaylight.org/gerrit/#/c/2821/

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