Populate data/ hierarchy
[yangtools.git] / yang / yang-model-api / src / main / java / org / opendaylight / yangtools / yang / model / api / stmt / Rfc6020AbnfRule.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 java.lang.annotation.Documented;
11 import java.lang.annotation.Retention;
12 import java.lang.annotation.RetentionPolicy;
13
14 /**
15  * References ABNF rule defined in RFC6020 - YANG Specification.
16  *
17  * <p>
18  * An interface / class annotated with this annotation
19  * is Java representation of data represented by ABNF rule
20  * provided as {@link #value()}. Java representation
21  * does not need to be direct,
22  * but must retain all information in some, publicly
23  * accessible form for consumers.
24  * </p>
25  * <p>
26  * Note that this annotation is used currently only for documentation
27  * and does not affect any runtime behaviour.
28  * </p>
29  */
30 @Documented
31 @Retention(RetentionPolicy.SOURCE)
32 @interface Rfc6020AbnfRule {
33
34     String[] value();
35 }