1 package at.rseiler.spbee.core.pojo;
2
3 import java.io.Serializable;
4
5
6
7
8
9
10
11
12
13
14
15 public class AnnotationValueInfo implements Serializable {
16
17 private static final long serialVersionUID = 5474410388632197978L;
18
19 private final String name;
20 private final Object value;
21 private final String type;
22 private final Kind kind;
23
24
25
26
27
28
29
30
31
32 public AnnotationValueInfo(String name, Object value, String type, Kind kind) {
33 this.name = name;
34 this.value = value;
35 this.type = type;
36 this.kind = kind;
37 }
38
39
40
41
42
43
44 public String getName() {
45 return name;
46 }
47
48
49
50
51
52
53 public Object getValue() {
54 return value;
55 }
56
57 public String getType() {
58 return type;
59 }
60
61 public Kind getKind() {
62 return kind;
63 }
64
65 @Override
66 public String toString() {
67 return "AnnotationValueInfo{" +
68 "name='" + name + '\'' +
69 ", value=" + value +
70 ", type='" + type + '\'' +
71 ", kind=" + kind +
72 '}';
73 }
74
75 public enum Kind {
76 BASIC, ELEMENT, DECLARED_TYPE, LIST
77 }
78
79 }