package org.opendaylight.yangtools.yang.data.impl.schema.builder.api;
import java.util.List;
+import java.util.Map;
-import org.opendaylight.yangtools.yang.data.api.InstanceIdentifier;
+import org.opendaylight.yangtools.yang.common.QName;
+import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier;
+import org.opendaylight.yangtools.yang.data.api.schema.LeafSetEntryNode;
import org.opendaylight.yangtools.yang.data.api.schema.LeafSetNode;
public interface ListNodeBuilder<T, V>
- extends CollectionNodeBuilder<V, LeafSetNode<T>> {
+ extends CollectionNodeBuilder<LeafSetEntryNode<T>, LeafSetNode<T>> {
@Override
- ListNodeBuilder<T, V> withNodeIdentifier(InstanceIdentifier.NodeIdentifier nodeIdentifier);
+ ListNodeBuilder<T, V> withNodeIdentifier(YangInstanceIdentifier.NodeIdentifier nodeIdentifier);
@Override
- ListNodeBuilder<T, V> withValue(List<V> value);
+ ListNodeBuilder<T, V> withValue(List<LeafSetEntryNode<T>> value);
@Override
- ListNodeBuilder<T, V> withChild(V child);
+ ListNodeBuilder<T, V> withChild(LeafSetEntryNode<T> child);
+
+ @Override
+ ListNodeBuilder<T, V> withoutChild(YangInstanceIdentifier.PathArgument key);
ListNodeBuilder<T, V> withChildValue(T child);
+
+ ListNodeBuilder<T, LeafSetEntryNode<T>> withChildValue(T value, Map<QName, String> attributes);
}