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 / RevisionAwareXPath.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 public interface RevisionAwareXPath {\r
11     \r
12     \r
13     /**\r
14      * Returns <code>true</code> if the XPapth starts in root of Yang model, otherwise returns <code>false</cdoe>.\r
15      * \r
16      * @return <code>true</code> if the XPapth starts in root of Yang model, otherwise returns <code>false</cdoe>\r
17      */\r
18     public boolean isAbsolute();\r
19     \r
20     /**\r
21      * Returns the XPath formatted string as is defined in model. \r
22      * <br>\r
23      * For example: /prefix:container/prefix:container::cond[when()=foo]/prefix:leaf\r
24      * \r
25      * @return the XPath formatted string as is defined in model.\r
26      */\r
27     public String toString();\r
28 }\r