Fix minor bug in FRM proactive flow code path
[controller.git] / opendaylight / sal / yang-prototype / yang / yang-model-api / src / main / java / org / opendaylight / controller / yang / model / api / ModuleImport.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 import java.util.Date;\r
11 \r
12 /**\r
13  * Interface describing YANG 'import' statement.\r
14  * <p>\r
15  * The import statement makes definitions from one module available inside\r
16  * another module or submodule.\r
17  * </p>\r
18  */\r
19 public interface ModuleImport {\r
20 \r
21     /**\r
22      * @return Name of the module to import\r
23      */\r
24     String getModuleName();\r
25 \r
26     /**\r
27      * @return Revision of module to import\r
28      */\r
29     Date getRevision();\r
30 \r
31     /**\r
32      * @return Prefix used to point to imported module\r
33      */\r
34     String getPrefix();\r
35 \r
36 }\r