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 * 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 note 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="note">
24 * <simpleContent>
25 * <extension base="<http://www.w3.org/2001/XMLSchema>string">
26 * <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" />
27 * </extension>
28 * </simpleContent>
29 * </complexType>
30 * </pre>
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 * Gets the value of the value property.
48 *
49 * @return possible object is
50 * {@link String }
51 */
52 public String getValue() {
53 return value;
54 }
55
56 /**
57 * Sets the value of the value property.
58 *
59 * @param value allowed object is
60 * {@link String }
61 */
62 public void setValue(String value) {
63 this.value = value;
64 }
65
66 /**
67 * Gets the value of the type property.
68 *
69 * @return possible object is
70 * {@link String }
71 */
72 public String getType() {
73 return type;
74 }
75
76 /**
77 * Sets the value of the type property.
78 *
79 * @param value allowed object is
80 * {@link String }
81 */
82 public void setType(String value) {
83 this.type = value;
84 }
85
86 }