X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=yang%2Fyang-model-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fyangtools%2Fyang%2Fmodel%2Fapi%2FDeviation.java;h=e3d3663f1e115a4da887a81a1817448793f816e0;hb=3528dca5dec207aea587b846c2126a6b9bfecaf6;hp=75b20b192de21a826dfef440878a6543f48937a7;hpb=4fe39dd37465c2bb87f920317849ca5eb044fc3d;p=yangtools.git diff --git a/yang/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/Deviation.java b/yang/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/Deviation.java index 75b20b192d..e3d3663f1e 100644 --- a/yang/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/Deviation.java +++ b/yang/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/Deviation.java @@ -11,39 +11,47 @@ import java.util.List; /** * Interface describing YANG 'deviation' statement. + * *

* The 'deviation' statement defines a hierarchy of a module that the device * does not implement faithfully. Deviations define the way a device deviate * from a standard. - *

*/ public interface Deviation { /** + * Returns target schema path. + * * @return SchemaPath that identifies the node in the schema tree where a * deviation from the module occurs. */ SchemaPath getTargetPath(); /** + * Returns deviate children. * * @return List of all deviate statements defined in this deviation */ List getDeviates(); /** + * Returns the description text. * * @return textual description of this deviation */ String getDescription(); /** + * Returns reference. + * * @return textual cross-reference to an external document that provides * additional information relevant to this node. */ String getReference(); /** + * Returns unknown schema node children. + * * @return collection of all unknown nodes defined under this schema node. */ List getUnknownSchemaNodes();