e92bbecaee84531ed1dfd052eb82f3dd3f1d1e03
[mdsal.git] / yang / yang-binding / src / main / java / org / opendaylight / yangtools / yang / binding / annotations / ModuleQName.java
1 /*
2  * Copyright (c) 2013 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.binding.annotations;
9
10 import java.lang.annotation.ElementType;
11 import java.lang.annotation.Retention;
12 import java.lang.annotation.RetentionPolicy;
13 import java.lang.annotation.Target;
14
15 /**
16  * Maintains information about yang module from which class using this annotation was generated.
17  */
18 @Retention(RetentionPolicy.RUNTIME)
19 @Target({ElementType.TYPE, ElementType.PACKAGE})
20 public @interface ModuleQName {
21     String namespace();
22     String revision();
23     String name();
24 }