1 /*
2 Spring-Annotation, an easy way to configre Spring-Framework without all that XML.
3 Copyright (C) 2007 Rodrigo Urubatan Ferreira Jardim (http://www.urubatan.com.br)
4
5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Lesser General Public
7 License as published by the Free Software Foundation; either
8 version 2.1 of the License, or (at your option) any later version.
9
10 This library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Lesser General Public License for more details.
14
15 You should have received a copy of the GNU Lesser General Public
16 License along with this library; if not, write to the Free Software
17 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18
19 <a href="http://www.gnu.org/licenses/lgpl.html">http://www.gnu.org/licenses/lgpl.html</a>
20 */
21 package net.sourceforge.sannotations.annotation;
22
23 import java.lang.annotation.Documented;
24 import java.lang.annotation.ElementType;
25 import java.lang.annotation.Retention;
26 import java.lang.annotation.RetentionPolicy;
27 import java.lang.annotation.Target;
28
29 @Retention(RetentionPolicy.RUNTIME)
30 @Target(ElementType.FIELD)
31 @Documented
32 public @interface DataModel {
33 String name() default "";
34
35 Scope scope() default Scope.DEFAULT;
36
37 String scopeName() default "flash";
38
39 String factory() default "";
40 }