*/
package org.opendaylight.yangtools.yang.data.api.schema.tree;
-import org.opendaylight.yangtools.yang.data.api.InstanceIdentifier;
+import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier;
/**
* An encapsulation of a validated data tree modification. This candidate
*
* @return Relative path of the root node
*/
- InstanceIdentifier getRootPath();
+ YangInstanceIdentifier getRootPath();
+
+ /**
+ * {@inheritDoc}
+ *
+ * {@link DataTreeCandidate} implementations must not override the default identity hashCode method.
+ */
+ @Override
+ int hashCode();
+
+ /**
+ * {@inheritDoc}
+ *
+ * {@link DataTreeCandidate} implementations must not override the default identity hashCode method, meaning their
+ * equals implementation must result in identity comparison.
+ */
+ @Override
+ boolean equals(Object obj);
}