Populate data/ hierarchy
[yangtools.git] / data / yang-data-api / src / main / java / org / opendaylight / yangtools / yang / data / api / schema / UnkeyedListEntryNode.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 org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifier;
11
12 /**
13  * List entry node, which does not have value, but child nodes. Represents an instance of data, which schema is instance
14  * of {@link org.opendaylight.yangtools.yang.model.api.ListSchemaNode} with key undefined.
15  *
16  * <p>
17  * This nodes itself does not contain any ordering information, user supplied ordering is preserved by parent node,
18  * which is an instance of {@link UnkeyedListNode}.
19  */
20 public interface UnkeyedListEntryNode extends DataContainerNode {
21     @Override
22     default Class<UnkeyedListEntryNode> contract() {
23         return UnkeyedListEntryNode.class;
24     }
25
26     @Override
27     NodeIdentifier getIdentifier();
28 }