Remove obsolete DataTreeCandidateNode methods
[yangtools.git] / data / yang-data-tree-api / src / main / java / org / opendaylight / yangtools / yang / data / tree / api / DataTreeCandidateNode.java
index 71e514277452347a2c4e602f463c9353ed33b226..adac1c34610a95a5acd09a1e93b9a7528d81eb64 100644 (file)
@@ -30,18 +30,6 @@ public interface DataTreeCandidateNode {
      */
     @NonNull PathArgument name();
 
-    /**
-     * Get the node identifier.
-     *
-     * @implSpec Default implementation defers to {@link #name()}.
-     * @return The node identifier.
-     * @deprecated Use {@link #name()} instead.
-     */
-    @Deprecated(since = "11.0.0", forRemoval = true)
-    default @NonNull PathArgument getIdentifier() {
-        return name();
-    }
-
     /**
      * Get an unmodifiable collection of modified child nodes. Note that the collection may include
      * {@link ModificationType#UNMODIFIED} nodes, which the caller is expected to handle as if they were not present.
@@ -50,19 +38,6 @@ public interface DataTreeCandidateNode {
      */
     @NonNull Collection<DataTreeCandidateNode> childNodes();
 
-    /**
-     * Get an unmodifiable collection of modified child nodes. Note that the collection may include
-     * {@link ModificationType#UNMODIFIED} nodes, which the caller is expected to handle as if they were not present.
-     *
-     * @implSpec Default implementation defers to {@link #childNodes()}.
-     * @return Unmodifiable collection of modified child nodes.
-     * @deprecated Use {@link #childNodes()} instead.
-     */
-    @Deprecated(since = "11.0.0", forRemoval = true)
-    default @NonNull Collection<DataTreeCandidateNode> getChildNodes() {
-        return childNodes();
-    }
-
     /**
      * Returns modified child or empty. Note that this method may return an {@link ModificationType#UNMODIFIED} node
      * when there is evidence of the node or its parent being involved in modification which has turned out not to
@@ -111,18 +86,6 @@ public interface DataTreeCandidateNode {
      */
     @NonNull ModificationType modificationType();
 
-    /**
-     * Return the type of modification this node is undergoing.
-     *
-     * @implSpec Default implementation defers to {@link #modificationType()}.
-     * @return Node modification type.
-     * @deprecated Use {@link #modificationType()} instead.
-     */
-    @Deprecated(since = "11.0.0", forRemoval = true)
-    default @NonNull ModificationType getModificationType() {
-        return modificationType();
-    }
-
     /**
      * Return the before-image of data corresponding to the node.
      *