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