+ public static NormalizedNode<?, ?> newPersonMapNode() {
+ return ImmutableNodes.mapNodeBuilder(PERSON_QNAME).build();
+ }
+
+ public static MapEntryNode newPersonEntry(final String name) {
+ return ImmutableNodes.mapEntryBuilder(PERSON_QNAME, PERSON_NAME_QNAME, name)
+ .withChild(ImmutableNodes.leafNode(PERSON_NAME_QNAME, name)).build();
+ }
+
+ public static YangInstanceIdentifier newPersonPath(final String name) {
+ return YangInstanceIdentifier.builder(PERSON_LIST_PATH)
+ .nodeWithKey(PERSON_QNAME, PERSON_NAME_QNAME, name).build();
+ }