Added support to generate types from Choices and Cases added by augmentation. 66/666/1
authorlsedlak <lsedlak@cisco.com>
Wed, 3 Jul 2013 15:37:59 +0000 (17:37 +0200)
committerMartin Vitez <mvitez@cisco.com>
Wed, 24 Jul 2013 11:44:53 +0000 (13:44 +0200)
commitd236a9d6baa7cce7999b1afc44b832c4ecdaa078
tree143a83dafe8e06c9244e4b7fcc8e62b248fbea06
parentb44b8196d7a6c01fc0c348fbc26f7156f134e0b9
Added support to generate types from Choices and Cases added by augmentation.

Added implementation into BindingGeneratorImpl to suppor of generating Generated Types for Choices and Cases from augmentations;
Extended ChoiceNode API and ChoiceNodeBuilder to getCaseNodeByName methods;
Fixed findSchemaNodeForGivenPath in SchemaContextUtil to support of traversal through Choice and Case nodes in data schema tree;

Signed-off-by: Lukas Sedlak <lsedlak@cisco.com>
yang-model-api/src/main/java/org/opendaylight/controller/yang/model/api/ChoiceNode.java
yang-model-util/src/main/java/org/opendaylight/controller/yang/model/util/SchemaContextUtil.java