2 * Copyright (c) 2018 Pantheon Technologies, s.r.o. 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.xpath.api;
10 import com.google.common.annotations.Beta;
11 import org.opendaylight.yangtools.concepts.Identifiable;
12 import org.opendaylight.yangtools.yang.common.QName;
15 * Common interface for all YANG XPath constant expressions. Each constant has a unique {@link QName}, which acts as its
16 * globally-unique identifier.
18 * @author Robert Varga
21 public interface YangConstantExpr<T> extends YangExpr, Identifiable<QName> {
23 * Return this constant's value.
25 * @return this constant's value.
27 // FIXME: this seems dicey w.r.t. empty nodeset constant.