X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fsal%2Fyang-prototype%2Fyang%2Fyang-model-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fyang%2Fmodel%2Fapi%2FAugmentationSchema.java;h=31e0ad682d2b2b9e92473b103bb5d94191257bc1;hp=16e8b9e84639820d046e67b6b380ddadfb5f846a;hb=6f9523a8243defc7e0c9534274e2c41a4b89dc9e;hpb=8d0760923824b72f8279ea26b97377ae26a49bee diff --git a/opendaylight/sal/yang-prototype/yang/yang-model-api/src/main/java/org/opendaylight/controller/yang/model/api/AugmentationSchema.java b/opendaylight/sal/yang-prototype/yang/yang-model-api/src/main/java/org/opendaylight/controller/yang/model/api/AugmentationSchema.java index 16e8b9e846..31e0ad682d 100644 --- a/opendaylight/sal/yang-prototype/yang/yang-model-api/src/main/java/org/opendaylight/controller/yang/model/api/AugmentationSchema.java +++ b/opendaylight/sal/yang-prototype/yang/yang-model-api/src/main/java/org/opendaylight/controller/yang/model/api/AugmentationSchema.java @@ -7,20 +7,42 @@ */ package org.opendaylight.controller.yang.model.api; -import java.util.Set; - +/** + * AugmentationSchema represents augment definition. The "augment" statement + * allows a module or submodule to add to the schema tree defined in an external + * module, or the current module and its submodules, and to add to the nodes + * from a grouping in a "uses" statement. + */ public interface AugmentationSchema extends DataNodeContainer { + /** + * @return when statement + */ RevisionAwareXPath getWhenCondition(); + /** + * @return textual description of this augment. + */ String getDescription(); + /** + * @return textual cross-reference to an external document that provides + * additional information relevant to this node. + */ String getReference(); + /** + * @return actual status of this node. + */ Status getStatus(); + /** + * @return SchemaPath that identifies a node in the schema tree. This node + * is called the augment's target node. The target node MUST be + * either a container, list, choice, case, input, output, or + * notification node. It is augmented with the nodes defined as + * child nodes of this AugmentationSchema. + */ SchemaPath getTargetPath(); - Set getUses(); - }