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.UriConverter;
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 = "uri", propOrder = {
34 "value"
35 })
36 @XStreamAlias("uri")
37 @XmlRootElement(name = "uri")
38 @XStreamConverter(value = UriConverter.class)
39 public class Uri {
40
41 @XmlValue
42 protected String value;
43 @XmlAttribute
44 @XStreamAsAttribute
45 protected String resolvable;
46
47
48
49
50
51
52
53 public String getValue() {
54 return value;
55 }
56
57
58
59
60
61
62
63 public void setValue(String value) {
64 this.value = value;
65 }
66
67
68
69
70
71
72
73 public String getResolvable() {
74 return resolvable;
75 }
76
77
78
79
80
81
82
83 public void setResolvable(String value) {
84 this.resolvable = value;
85 }
86
87 }