Populate model/ hierarchy
[yangtools.git] / model / rfc7952-model-api / src / main / java / org / opendaylight / yangtools / rfc7952 / model / api / AnnotationStatement.java
1 /*
2  * Copyright (c) 2017 Pantheon Technologies s.r.o. 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.rfc7952.model.api;
9
10 import com.google.common.annotations.Beta;
11 import org.opendaylight.yangtools.yang.common.QName;
12 import org.opendaylight.yangtools.yang.model.api.meta.StatementDefinition;
13 import org.opendaylight.yangtools.yang.model.api.stmt.DocumentedDeclaredStatement.WithStatus;
14 import org.opendaylight.yangtools.yang.model.api.stmt.IfFeatureAwareDeclaredStatement;
15 import org.opendaylight.yangtools.yang.model.api.stmt.TypeAwareDeclaredStatement;
16 import org.opendaylight.yangtools.yang.model.api.stmt.UnknownStatement;
17
18 /**
19  * Declared statement representation of 'annotation' extension defined in
20  * <a href="https://tools.ietf.org/html/rfc7952">RFC7952</a>.
21  */
22 @Beta
23 public interface AnnotationStatement extends UnknownStatement<QName>, WithStatus<QName>,
24         IfFeatureAwareDeclaredStatement<QName>, TypeAwareDeclaredStatement {
25     @Override
26     default StatementDefinition statementDefinition() {
27         return MetadataStatements.ANNOTATION;
28     }
29 }