Do not pretty-print body class
[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 /**
11  * Containment node, which contains {@link UnkeyedListEntryNode} of the same type, which may be quickly retrieved using
12  * key. This node maps to the <code>list</code> statement in YANG schema, which did not define {@code key} substatement.
13  *
14  * <p>
15  * Ordering of the elements is user-defined during construction of instance of this interface. Ordered view of elements
16  * (iteration) is provided by {@link #body()} call.
17  */
18 public interface UnkeyedListNode extends OrderedNodeContainer<UnkeyedListEntryNode>, DataContainerChild {
19     @Override
20     default Class<UnkeyedListNode> contract() {
21         return UnkeyedListNode.class;
22     }
23 }