X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=yang%2Fyang-parser-impl%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fyangtools%2Fyang%2Fparser%2Fbuilder%2Fapi%2FAugmentationSchemaBuilder.java;h=6b1e49e1ed1d954a2d53b13be978c454a416b2b2;hb=c2bbf5ea78b943a43f7ca1e2f802e8fd82119335;hp=93344149cda1ccab54724b76f6e750ae6248db1b;hpb=c87589087031a10996e0c11740d8a9f41b991c05;p=yangtools.git diff --git a/yang/yang-parser-impl/src/main/java/org/opendaylight/yangtools/yang/parser/builder/api/AugmentationSchemaBuilder.java b/yang/yang-parser-impl/src/main/java/org/opendaylight/yangtools/yang/parser/builder/api/AugmentationSchemaBuilder.java index 93344149cd..6b1e49e1ed 100644 --- a/yang/yang-parser-impl/src/main/java/org/opendaylight/yangtools/yang/parser/builder/api/AugmentationSchemaBuilder.java +++ b/yang/yang-parser-impl/src/main/java/org/opendaylight/yangtools/yang/parser/builder/api/AugmentationSchemaBuilder.java @@ -32,16 +32,56 @@ public interface AugmentationSchemaBuilder extends DataNodeContainerBuilder { void setStatus(Status status); + /** + * Get path to target node as single string. + * + * @return path to target node as String + */ String getTargetPathAsString(); + /** + * Get path to target node. + *

+ * Note that individual parts of path contain only prefix relative to + * current context and name of node. + *

+ * + * @return path to target node as SchemaPath + */ SchemaPath getTargetPath(); - void setTargetPath(SchemaPath path); + /** + * Get schema path of target node. + * + * @return SchemaPath of target node + */ + SchemaPath getTargetNodeSchemaPath(); + + /** + * Set schema path of target node. + * + * @param path + * SchemaPath of target node + */ + void setTargetNodeSchemaPath(SchemaPath path); AugmentationSchema build(); + /** + * Get information about augmentation process. + * + * @return true, if augmentation process was performed already, false + * otherwise + */ boolean isResolved(); + /** + * Set information about augmentation process. + * + * @param resolved + */ void setResolved(boolean resolved); + int getOrder(); + }