Update javadoc links
[controller.git] / opendaylight / md-sal / sal-common-api / src / main / java / org / opendaylight / controller / md / sal / common / api / data / DataReader.java
index 14731d688c964adaf264d8909a4c3e90ccc4484e..18ae7d348b74a9470e767c4d55acede2dbdef6e0 100644 (file)
@@ -12,19 +12,22 @@ import org.opendaylight.yangtools.concepts.Path;
 /**
  * Reader for reading YANG subtrees based on their path.
  *
+ * <p>
  * Reader is requested to return object at specified path and all it's subnodes
  * known to the reader or null if node is not found in this reader.
  *
  * @param <P> Path Type
  * @param <D> Data Type
+ * @deprecated Replaced by org.opendaylight.controller.sal.core.spi.data.DOMStore contract.
  */
-public interface DataReader<P extends Path<P> ,D> {
+@Deprecated
+public interface DataReader<P extends Path<P>, D> {
 
     /**
-     * Reads data from Operational data store located at provided path
+     * Reads data from Operational data store located at provided path.
      *
      * @param path Path to data
-     * @return
+     * @return the data
      */
     D readOperationalData(P path);