Remove getSemanticVersion()
[yangtools.git] / model / yang-model-api / src / main / java / org / opendaylight / yangtools / yang / model / api / ModuleLike.java
index b275b1a845f86a019c38c8d57cbee7f53ac5cb06..dea9d3e3ef6c1c85c83269cbe4d5fc8a5d7f215e 100644 (file)
@@ -12,7 +12,6 @@ import java.util.Collection;
 import java.util.Optional;
 import org.eclipse.jdt.annotation.NonNull;
 import org.opendaylight.yangtools.concepts.Immutable;
-import org.opendaylight.yangtools.concepts.SemVer;
 import org.opendaylight.yangtools.yang.common.YangVersion;
 
 /**
@@ -28,17 +27,6 @@ public interface ModuleLike extends DataNodeContainer, DocumentedNode, Immutable
      */
     String getName();
 
-    /**
-     * Returns the semantic version of YANG module. If the semantic version is not specified, default semantic version
-     * of module is returned.
-     *
-     * @return SemVer semantic version of YANG module which is specified as argument of
-     *         {@code (urn:opendaylight:yang:extension:semantic-version?revision=2016-02-02)semantic-version} statement
-     * @deprecated Semantic version imports are deprecated.
-     */
-    @Deprecated(since = "8.0.4", forRemoval = true)
-    Optional<SemVer> getSemanticVersion();
-
     /**
      * Returns the prefix of the module.
      *