Expose ReusableStreamReceiver
[yangtools.git] / yang / yang-data-api / src / main / java / org / opendaylight / yangtools / yang / data / api / schema / DataContainerChild.java
index f0520eed9bde3ecf1f550416e601fe1d30f987f6..5d2a788a28eb07055542ff5e8a95c0b20031b93c 100644 (file)
@@ -7,27 +7,28 @@
  */
 package org.opendaylight.yangtools.yang.data.api.schema;
 
-import org.opendaylight.yangtools.yang.data.api.InstanceIdentifier.PathArgument;
+import javax.annotation.Nonnull;
+import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument;
 
 /**
- *
  * Marker interface for direct children of {@link DataContainerNode}.
  *
- * Implementation notes:
+ * <h3>Implementation notes</h3>
  * This interface should not be implemented directly, but rather using one
  * of its subinterfaces:
  *
+ * <ul>
+ * <li>{@link LeafNode}
+ * <li>{@link ContainerNode}
+ * <li>{@link ChoiceNode}
+ * <li>{@link MapNode}
+ * <li>{@link AugmentationNode}
+ * </ul>
  *
- * {@link LeafNode}
- * {@link ContainerNode}
- * {@link ChoiceNode}
- * {@link MapNode}
- * {@link AugmentationNode}
- *
- * @param <K>
- * @param <V>
+ * @param <K> Path Argument Type which is used to identify node
+ * @param <V> Value type
  */
 public interface DataContainerChild<K extends PathArgument,V> extends NormalizedNode<K, V> {
     @Override
-    K getIdentifier();
+    @Nonnull K getIdentifier();
 }