63ab2cd167bcdbe1f7e1a36256cb127e5cb6970e
[yangtools.git] / yang / yang-data-api / src / main / java / org / opendaylight / yangtools / yang / data / api / schema / UnkeyedListNode.java
1 /*
2  * Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8 package org.opendaylight.yangtools.yang.data.api.schema;
9
10 import java.util.Collection;
11 import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifier;
12
13 /**
14  * Containment node, which contains {@link UnkeyedListEntryNode} of the same type, which may
15  * be quickly retrieved using key.
16  *
17  * <p>
18  * This node maps to the <code>list</code> statement in YANG schema,
19  * which did not define <code>key</code> substatement.
20  *
21  * <p>
22  * Ordering of the elements is user-defined during construction of instance of this
23  * interface. Ordered view of elements (iteration)
24  * is provided by {@link #getValue()} call.
25  */
26 public interface UnkeyedListNode extends DataContainerChild<NodeIdentifier, Collection<UnkeyedListEntryNode>>,
27     OrderedNodeContainer<UnkeyedListEntryNode> {
28
29 }