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%2Ftype%2FInstanceIdentifierTypeDefinition.java;h=e5f80de1934332a99df91a4898f768f2b04f138c;hb=f68ad38abee919ad9da200637318d4a813d39955;hp=3b5f5e0d3fc4e206f147c8c6c7122812a736a635;hpb=d2faa2a51d1945ebbb92a5dbfdb500b5820bf014;p=yangtools.git diff --git a/yang/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/type/InstanceIdentifierTypeDefinition.java b/yang/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/type/InstanceIdentifierTypeDefinition.java index 3b5f5e0d3f..e5f80de193 100644 --- a/yang/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/type/InstanceIdentifierTypeDefinition.java +++ b/yang/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/type/InstanceIdentifierTypeDefinition.java @@ -11,27 +11,26 @@ import org.opendaylight.yangtools.yang.model.api.RevisionAwareXPath; import org.opendaylight.yangtools.yang.model.api.TypeDefinition; /** - * * Contains methods for getting data from the instance-identifier * YANG built-in type. */ public interface InstanceIdentifierTypeDefinition extends TypeDefinition { /** - * Returns XPath for instance of - * InstanceIdentifierTypeDefinition. - * + * Returns XPath for instance of InstanceIdentifierTypeDefinition. + * * @return instance of type RevisionAwareXPath + * @deprecated This method is deprecated because it is not defined in YANG metamodel. It is scheduled for removal + * in Boron release cycle. */ - public RevisionAwareXPath getPathStatement(); + @Deprecated + RevisionAwareXPath getPathStatement(); /** - * Returns true|false which represents argument of - * require-instance statement. This statement is the + * Returns true|false which represents argument of require-instance statement. This statement is the * substatement of the type statement. - * - * @return boolean value which is true if the require-instance - * statement is true and vice versa + * + * @return boolean value which is true if the require-instance statement is true and vice versa */ - public boolean requireInstance(); + boolean requireInstance(); }