...
The SchemaContext object generated by the Yang Parser from a list of Yang files provided by the developer contains 1 or more Module, with 1 or more Grouping with one or more ChildNode (leafin java has the following possible structures (java collections)
Gliffy macroId 8eafa348-6609-4eae-a733-beb5a2766488 name Yang Parser Java Object View pagePin 13
ChildNodes are implement as a Map <QName, DataSchemaNode>
Datatypes and constraints
Description | Yang | Java Object View | Notes |
---|---|---|---|
Basic String |
| ||
Mandatory Basic String |
| ||
Limited String | leaf pnf-name { type string { length "0..256"; } | Specialized class to hold length limitation | |
typedef (String) with pattern |
| ||
Limited unint64 | leaf cid { type string { length "0..52"; } | ||
boolean with default value |
| ||