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 * Created by IntelliJ IDEA.
13 * User: Pranitha
14 * Date: 8/17/12
15 * Time: 10:47 AM
16 * To change this template use File | Settings | File Templates.
17 * <p/>
18 * <p>Java class for uri complex type.
19 * <p/>
20 * <p>The following schema fragment specifies the expected content contained within this class.
21 * <p/>
22 * <pre>
23 * <complexType name="uri">
24 * <simpleContent>
25 * <extension base="<http://www.w3.org/2001/XMLSchema>string">
26 * <attribute name="resolvable" type="{http://www.w3.org/2001/XMLSchema}string" />
27 * </extension>
28 * </simpleContent>
29 * </complexType>
30 * </pre>
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 * Gets the value of the value property.
49 *
50 * @return possible object is
51 * {@link String }
52 */
53 public String getValue() {
54 return value;
55 }
56
57 /**
58 * Sets the value of the value property.
59 *
60 * @param value allowed object is
61 * {@link String }
62 */
63 public void setValue(String value) {
64 this.value = value;
65 }
66
67 /**
68 * Gets the value of the resolvable property.
69 *
70 * @return possible object is
71 * {@link String }
72 */
73 public String getResolvable() {
74 return resolvable;
75 }
76
77 /**
78 * Sets the value of the resolvable property.
79 *
80 * @param value allowed object is
81 * {@link String }
82 */
83 public void setResolvable(String value) {
84 this.resolvable = value;
85 }
86
87 }