Search in sources :

Example 1 with UnorderedListBuilder

use of org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.md.sal.test.store.rev140422.lists.unordered.container.UnorderedListBuilder in project controller by opendaylight.

the class DataServiceIT method createNode.

private static UnorderedList createNode(final String string) {
    UnorderedListBuilder ret = new UnorderedListBuilder();
    UnorderedListKey nodeKey = new UnorderedListKey(string);
    ret.setKey(nodeKey);
    ret.setName("name of " + string);
    ret.setName("value of " + string);
    return ret.build();
}
Also used : UnorderedListBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.md.sal.test.store.rev140422.lists.unordered.container.UnorderedListBuilder) UnorderedListKey(org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.md.sal.test.store.rev140422.lists.unordered.container.UnorderedListKey)

Aggregations

UnorderedListBuilder (org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.md.sal.test.store.rev140422.lists.unordered.container.UnorderedListBuilder)1 UnorderedListKey (org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.md.sal.test.store.rev140422.lists.unordered.container.UnorderedListKey)1