A race condition occurs between ARPHandler and HostTracker if the ARP
[controller.git] / opendaylight / sal / yang-prototype / yang / yang-model-api / src / main / java / org / opendaylight / controller / yang / model / api / LeafListSchemaNode.java
1 /*\r
2  * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.\r
3  *\r
4  * This program and the accompanying materials are made available under the\r
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
6  * and is available at http://www.eclipse.org/legal/epl-v10.html\r
7  */\r
8 package org.opendaylight.controller.yang.model.api;\r
9 \r
10 /**\r
11  * Interface describing YANG 'leaf-list' statement.\r
12  */\r
13 public interface LeafListSchemaNode extends DataSchemaNode {\r
14 \r
15     TypeDefinition<? extends TypeDefinition<?>> getType();\r
16 \r
17     /**\r
18      * YANG 'ordered-by' statement. It defines whether the order of entries\r
19      * within this leaf-list are determined by the user or the system. If not\r
20      * present, default is false.\r
21      *\r
22      * @return true if ordered-by argument is "user", false otherwise\r
23      */\r
24     boolean isUserOrdered();\r
25 \r
26 }\r