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%2FExtensionDefinition.java;h=965ae9339fb1cb8cf51c9b5e7ac5b2b67243e23d;hb=3331469543a13b705d3fb97f23da3cab23416512;hp=c65200c7e86d7bc40192ff92de74fbc31310ea1d;hpb=16d198e69a05520776c25daf6949107042928a60;p=yangtools.git diff --git a/yang/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/ExtensionDefinition.java b/yang/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/ExtensionDefinition.java index c65200c7e8..965ae9339f 100644 --- a/yang/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/ExtensionDefinition.java +++ b/yang/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/ExtensionDefinition.java @@ -8,13 +8,10 @@ package org.opendaylight.yangtools.yang.model.api; /** - * * Contains the methods for getting the data which are part of the YANG * extensoion statement. - * */ public interface ExtensionDefinition extends SchemaNode { - /** * Returns the String that is the name of argument to the * Keyword. If no argument statement is present the method will return @@ -22,12 +19,12 @@ public interface ExtensionDefinition extends SchemaNode { * The argument statement is defined in [RFC-6020] The * argument Statement - * + * * @return the String that is the name of argument to the * Keyword. If no argument statement is present the method will * return null */ - public String getArgument(); + String getArgument(); /** * This statement indicates if the argument is mapped to an XML element in @@ -35,16 +32,15 @@ public interface ExtensionDefinition extends SchemaNode { * By contract if implementation of ExtensionDefinition does not specify the * yin-element statement the return value is by default set to * false - * - *
- *
+ * + *

* For more specific definition please look into [RFC-6020] * The yin-element Statement - * + * * @return true if the argument is mapped to an XML element in * YIN or returns false if the argument is mapped to an * XML attribute. */ - public boolean isYinElement(); + boolean isYinElement(); }