2 * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
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
8 package org.opendaylight.yangtools.yang.model.api;
10 import java.util.List;
12 import org.opendaylight.yangtools.yang.common.QName;
15 * Interface describing YANG 'list' statement.
17 * The 'list' statement is used to define an interior data node in the schema
18 * tree. A list entry is uniquely identified by the values of the list's keys,
22 public interface ListSchemaNode extends DataNodeContainer, AugmentationTarget, DataSchemaNode {
25 * @return List of QNames of leaf identifiers of this list
27 List<QName> getKeyDefinition();
30 * YANG 'ordered-by' statement. It defines whether the order of entries
31 * within a list are determined by the user or the system. If not present,
34 * @return true if ordered-by argument is "user", false otherwise
36 boolean isUserOrdered();