c74f9465bbcc3caf6360354426ca77c1a4c06cbd
[yangtools.git] / yang / yang-model-api / src / main / java / org / opendaylight / yangtools / yang / model / api / stmt / UnknownStatement.java
1 /*
2  * Copyright (c) 2015 Cisco Systems, Inc. and others.  All rights reserved.
3  *
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
7  */
8 package org.opendaylight.yangtools.yang.model.api.stmt;
9
10 import javax.annotation.Nullable;
11 import org.opendaylight.yangtools.yang.model.api.meta.DeclaredStatement;
12
13 /**
14  * A statement not covered by the base metamodel, e.g. it is not expressed directly in terms of concrete statement
15  * interfaces in this package. This interface is meant to be specialized by external semantic plugins, such that they
16  * are properly anchored in the metamodel.
17  *
18  * @param <A> Argument type ({@link Void} if statement does not have argument.)
19  */
20 public interface UnknownStatement<A> extends DeclaredStatement<A> {
21
22     @Nullable A getArgument();
23 }