1
2
3
4
5
6
7
8
9 package org.xmlhammer.model.project;
10
11 import javax.xml.bind.annotation.XmlAccessType;
12 import javax.xml.bind.annotation.XmlAccessorType;
13 import javax.xml.bind.annotation.XmlAttribute;
14 import javax.xml.bind.annotation.XmlRootElement;
15 import javax.xml.bind.annotation.XmlType;
16
17
18 /***
19 * <p>Java class for message element declaration.
20 *
21 * <p>The following schema fragment specifies the expected content contained within this class.
22 *
23 * <pre>
24 * <element name="message">
25 * <complexType>
26 * <complexContent>
27 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
28 * <attribute name="src" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
29 * <attribute name="type" default="err">
30 * <simpleType>
31 * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
32 * <enumeration value="err"/>
33 * <enumeration value="out"/>
34 * </restriction>
35 * </simpleType>
36 * </attribute>
37 * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
38 * </restriction>
39 * </complexContent>
40 * </complexType>
41 * </element>
42 * </pre>
43 *
44 *
45 */
46 @XmlAccessorType(XmlAccessType.FIELD)
47 @XmlType(name = "")
48 @XmlRootElement(name = "message")
49 public class Message {
50
51 @XmlAttribute(required = true)
52 protected java.lang.String src;
53 @XmlAttribute
54 protected java.lang.String type;
55 @XmlAttribute(required = true)
56 protected java.lang.String value;
57
58 /***
59 * Gets the value of the src property.
60 *
61 * @return
62 * possible object is
63 * {@link java.lang.String }
64 *
65 */
66 public java.lang.String getSrc() {
67 return src;
68 }
69
70 /***
71 * Sets the value of the src property.
72 *
73 * @param value
74 * allowed object is
75 * {@link java.lang.String }
76 *
77 */
78 public void setSrc(java.lang.String value) {
79 this.src = value;
80 }
81
82 /***
83 * Gets the value of the type property.
84 *
85 * @return
86 * possible object is
87 * {@link java.lang.String }
88 *
89 */
90 public java.lang.String getType() {
91 if (type == null) {
92 return "err";
93 } else {
94 return type;
95 }
96 }
97
98 /***
99 * Sets the value of the type property.
100 *
101 * @param value
102 * allowed object is
103 * {@link java.lang.String }
104 *
105 */
106 public void setType(java.lang.String value) {
107 this.type = value;
108 }
109
110 /***
111 * Gets the value of the value property.
112 *
113 * @return
114 * possible object is
115 * {@link java.lang.String }
116 *
117 */
118 public java.lang.String getValue() {
119 return value;
120 }
121
122 /***
123 * Sets the value of the value property.
124 *
125 * @param value
126 * allowed object is
127 * {@link java.lang.String }
128 *
129 */
130 public void setValue(java.lang.String value) {
131 this.value = value;
132 }
133
134 }