1
2
3
4
5
6
7
8
9
10
11
12
13 package com.eviware.x.form.support;
14
15 import java.lang.annotation.ElementType;
16 import java.lang.annotation.Retention;
17 import java.lang.annotation.RetentionPolicy;
18 import java.lang.annotation.Target;
19
20 @Retention(RetentionPolicy.RUNTIME)
21 @Target(ElementType.FIELD)
22 public @interface AField
23 {
24 public enum AFieldType
25 {
26 BOOLEAN, STRING, FILE, FOLDER, INT, ENUMERATION, PASSWORD, FILELIST, RADIOGROUP, STRINGAREA
27 }
28
29 public String name();
30 public String description();
31 public AFieldType type() default AFieldType.STRING;
32 public String group() default "";
33 public String [] values() default "";
34 public String defaultValue() default "";
35 boolean enabled() default true;
36 }