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 / LeafSchemaNode.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' statement.\r
12  * <p>\r
13  * The 'leaf' statement is used to define a leaf node in the schema tree.\r
14  * </p>\r
15  */\r
16 public interface LeafSchemaNode extends DataSchemaNode {\r
17 \r
18     /**\r
19      * @return type of this leaf\r
20      */\r
21     TypeDefinition<?> getType();\r
22 \r
23     String getDefault();\r
24 \r
25     String getUnits();\r
26 \r
27 }\r