01: /**
02: * EasyBeans
03: * Copyright (C) 2006 Bull S.A.S.
04: * Contact: easybeans@objectweb.org
05: *
06: * This library is free software; you can redistribute it and/or
07: * modify it under the terms of the GNU Lesser General Public
08: * License as published by the Free Software Foundation; either
09: * version 2.1 of the License, or any later version.
10: *
11: * This library is distributed in the hope that it will be useful,
12: * but WITHOUT ANY WARRANTY; without even the implied warranty of
13: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14: * Lesser General Public License for more details.
15: *
16: * You should have received a copy of the GNU Lesser General Public
17: * License along with this library; if not, write to the Free Software
18: * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
19: * USA
20: *
21: * --------------------------------------------------------------------------
22: * $Id: Generated.java 1100 2006-08-16 13:05:31Z benoitf $
23: * --------------------------------------------------------------------------
24: */package javax.annotation;
25:
26: import static java.lang.annotation.ElementType.METHOD;
27: import static java.lang.annotation.ElementType.PACKAGE;
28: import static java.lang.annotation.ElementType.TYPE;
29: import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
30: import static java.lang.annotation.ElementType.CONSTRUCTOR;
31: import static java.lang.annotation.ElementType.FIELD;
32: import static java.lang.annotation.ElementType.LOCAL_VARIABLE;
33: import static java.lang.annotation.ElementType.PARAMETER;
34:
35: import static java.lang.annotation.RetentionPolicy.SOURCE;
36:
37: import java.lang.annotation.Documented;
38: import java.lang.annotation.Retention;
39: import java.lang.annotation.Target;
40:
41: /**
42: * Used to indicate that a code was generated.
43: * @author Florent Benoit
44: * @see <a href="http://www.jcp.org/en/jsr/detail?id=220">EJB 3.0 specification</a>
45: * @author Florent Benoit
46: * @since EJB 3.0 version.
47: */
48: @Documented
49: @Target({PACKAGE,TYPE,ANNOTATION_TYPE,METHOD,CONSTRUCTOR,FIELD,LOCAL_VARIABLE,PARAMETER})
50: @Retention(SOURCE)
51: public @interface Generated {
52:
53: /**
54: * Used by code generator.
55: */
56: String[] value();
57:
58: /**
59: * Date to use.
60: */
61: String date() default "";
62:
63: /**
64: * Commment.
65: */
66: String comments() default "";
67: }
|