Deprecate ClassBasedPropertyBuilder
[yangtools.git] / common / concepts / src / main / java / org / opendaylight / yangtools / concepts / ClassBasedPropertyBuilder.java
index 35187ba167ab9ad9ff0b11965ec6f68fa8f7f5c1..da41e71970ee49f13d57ed3fbe1c0877c2cb508a 100644 (file)
@@ -7,24 +7,25 @@
  */
 package org.opendaylight.yangtools.concepts;
 
-public interface ClassBasedPropertyBuilder<P,T extends ClassBasedPropertyBuilder<P,T>> extends Builder<P> {
-
+@Deprecated(since = "7.0.9", forRemoval = true)
+public interface ClassBasedPropertyBuilder<P, T extends ClassBasedPropertyBuilder<P, T>> extends Builder<P> {
     /**
-     * Sets a value of property uniquely identified by it's
+     * Sets a value of property uniquely identified by its
      * class.
-     * 
+     *
+     * @param <V> value type
      * @param type Type of property to set
-     * @param value Value of property 
-     * @return
+     * @param value Value of property
+     * @return Builder instance
      */
-    <V> T set(Class<V> type,V value);
-    
+    <V> T set(Class<V> type, V value);
+
     /**
-     * Gets a value of property based on it's type.
-     * 
-     * @param type
-     * @return
+     * Gets a value of property based on its type.
+     *
+     * @param <V> value type
+     * @param type Type of property to get
+     * @return Builder instance
      */
     <V> V get(Class<V> type);
-
 }