X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fsal%2Fyang-prototype%2Fyang%2Fyang-model-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fyang%2Fmodel%2Fapi%2FUsesNode.java;h=e76f5e81318120f0af134446b1982ef3e1eef226;hb=refs%2Fchanges%2F65%2F365%2F2;hp=91fde5bd5c9bc17f1229a7405410500af1125aaa;hpb=626c9943156ed658f0a4cf11858ccc19b9c316cf;p=controller.git diff --git a/opendaylight/sal/yang-prototype/yang/yang-model-api/src/main/java/org/opendaylight/controller/yang/model/api/UsesNode.java b/opendaylight/sal/yang-prototype/yang/yang-model-api/src/main/java/org/opendaylight/controller/yang/model/api/UsesNode.java index 91fde5bd5c..e76f5e8131 100644 --- a/opendaylight/sal/yang-prototype/yang/yang-model-api/src/main/java/org/opendaylight/controller/yang/model/api/UsesNode.java +++ b/opendaylight/sal/yang-prototype/yang/yang-model-api/src/main/java/org/opendaylight/controller/yang/model/api/UsesNode.java @@ -12,11 +12,31 @@ import java.util.Set; public interface UsesNode { + /** + * @return path to 'grouping' on which this 'uses' statement points + */ SchemaPath getGroupingPath(); - + + /** + * @return Set of augment statements defined under this uses node + */ Set getAugmentations(); - + + /** + * Returns true if the data node was added by augmentation, + * otherwise returns false + * + * @return true if the data node was added by augmentation, + * otherwise returns false + */ boolean isAugmenting(); - + + /** + * Some of the properties of each node in the grouping can be refined with + * the "refine" statement. + * + * @return Map, where key is schema path of refined node and value is + * refined node + */ Map getRefines(); }