1 package org.kuali.ole.docstore.common.document.content.instance;
2
3 import com.thoughtworks.xstream.annotations.XStreamAlias;
4 import com.thoughtworks.xstream.annotations.XStreamAsAttribute;
5 import com.thoughtworks.xstream.annotations.XStreamConverter;
6 import org.kuali.ole.docstore.common.document.content.instance.xstream.NoteConverter;
7
8 import javax.xml.bind.annotation.*;
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32 @XmlAccessorType(XmlAccessType.FIELD)
33 @XmlType(name = "note", propOrder = {
34 "value"
35 })
36 @XStreamAlias("note")
37 @XStreamConverter(value = NoteConverter.class)
38 public class Note {
39
40 @XmlValue
41 protected String value;
42 @XmlAttribute
43 @XStreamAsAttribute
44 protected String type;
45
46
47
48
49
50
51
52 public String getValue() {
53 return value;
54 }
55
56
57
58
59
60
61
62 public void setValue(String value) {
63 this.value = value;
64 }
65
66
67
68
69
70
71
72 public String getType() {
73 return type;
74 }
75
76
77
78
79
80
81
82 public void setType(String value) {
83 this.type = value;
84 }
85
86 }