*/
package org.opendaylight.yangtools.yang.data.api.schema;
-import org.opendaylight.yangtools.yang.data.api.InstanceIdentifier.NodeIdentifier;
-import org.opendaylight.yangtools.yang.data.api.InstanceIdentifier.NodeWithValue;
-
-import com.google.common.base.Optional;
+import java.util.Collection;
+import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifier;
+import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeWithValue;
+/**
+ * Node representing set of simple leaf nodes.
+ *
+ * Node containing instances of {@link LeafSetEntryNode}
+ *
+ * Schema and semantics of this node are described by instance of {@link org.opendaylight.yangtools.yang.model.api.LeafListSchemaNode}.
+ *
+ * @param <T> Type of leaf node values.
+ */
public interface LeafSetNode<T> extends
MixinNode, //
- DataContainerChild<NodeIdentifier, Iterable<LeafSetEntryNode<T>>>, //
+ DataContainerChild<NodeIdentifier, Collection<LeafSetEntryNode<T>>>, //
NormalizedNodeContainer<NodeIdentifier, NodeWithValue,LeafSetEntryNode<T>> {
- @Override
- NodeIdentifier getIdentifier();
-
- @Override
- Iterable<LeafSetEntryNode<T>> getValue();
-
- @Override
- Optional<LeafSetEntryNode<T>> getChild(NodeWithValue child);
}