001 //
002 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833
003 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
004 // Any modifications to this file will be lost upon recompilation of the source schema.
005 // Generated on: 2013.02.07 at 02:32:38 PM CET
006 //
007
008
009 package org.jabber.protocol.address;
010
011 import javax.xml.bind.annotation.XmlAccessType;
012 import javax.xml.bind.annotation.XmlAccessorType;
013 import javax.xml.bind.annotation.XmlAttribute;
014 import javax.xml.bind.annotation.XmlRootElement;
015 import javax.xml.bind.annotation.XmlSchemaType;
016 import javax.xml.bind.annotation.XmlType;
017 import javax.xml.bind.annotation.XmlValue;
018 import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
019 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
020
021
022 /**
023 * <p>Java class for anonymous complex type.
024 *
025 * <p>The following schema fragment specifies the expected content contained within this class.
026 *
027 * <pre>
028 * <complexType>
029 * <simpleContent>
030 * <extension base="<http://jabber.org/protocol/address>empty">
031 * <attribute name="delivered" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" fixed="true" />
032 * <attribute name="desc" type="{http://www.w3.org/2001/XMLSchema}string" />
033 * <attribute name="jid" type="{http://www.w3.org/2001/XMLSchema}string" />
034 * <attribute name="node" type="{http://www.w3.org/2001/XMLSchema}string" />
035 * <attribute name="type" use="required">
036 * <simpleType>
037 * <restriction base="{http://www.w3.org/2001/XMLSchema}NCName">
038 * <enumeration value="bcc"/>
039 * <enumeration value="cc"/>
040 * <enumeration value="noreply"/>
041 * <enumeration value="replyroom"/>
042 * <enumeration value="replyto"/>
043 * <enumeration value="to"/>
044 * </restriction>
045 * </simpleType>
046 * </attribute>
047 * <attribute name="uri" type="{http://www.w3.org/2001/XMLSchema}string" />
048 * </extension>
049 * </simpleContent>
050 * </complexType>
051 * </pre>
052 *
053 *
054 */
055 @XmlAccessorType(XmlAccessType.FIELD)
056 @XmlType(name = "", propOrder = {
057 "value"
058 })
059 @XmlRootElement(name = "address")
060 public class Address {
061
062 @XmlValue
063 protected String value;
064 @XmlAttribute
065 @XmlSchemaType(name = "anySimpleType")
066 protected String delivered;
067 @XmlAttribute
068 protected String desc;
069 @XmlAttribute
070 protected String jid;
071 @XmlAttribute
072 protected String node;
073 @XmlAttribute(required = true)
074 @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
075 protected String type;
076 @XmlAttribute
077 protected String uri;
078
079 /**
080 * Gets the value of the value property.
081 *
082 * @return
083 * possible object is
084 * {@link String }
085 *
086 */
087 public String getValue() {
088 return value;
089 }
090
091 /**
092 * Sets the value of the value property.
093 *
094 * @param value
095 * allowed object is
096 * {@link String }
097 *
098 */
099 public void setValue(String value) {
100 this.value = value;
101 }
102
103 /**
104 * Gets the value of the delivered property.
105 *
106 * @return
107 * possible object is
108 * {@link String }
109 *
110 */
111 public String getDelivered() {
112 if (delivered == null) {
113 return "true";
114 } else {
115 return delivered;
116 }
117 }
118
119 /**
120 * Sets the value of the delivered property.
121 *
122 * @param value
123 * allowed object is
124 * {@link String }
125 *
126 */
127 public void setDelivered(String value) {
128 this.delivered = value;
129 }
130
131 /**
132 * Gets the value of the desc property.
133 *
134 * @return
135 * possible object is
136 * {@link String }
137 *
138 */
139 public String getDesc() {
140 return desc;
141 }
142
143 /**
144 * Sets the value of the desc property.
145 *
146 * @param value
147 * allowed object is
148 * {@link String }
149 *
150 */
151 public void setDesc(String value) {
152 this.desc = value;
153 }
154
155 /**
156 * Gets the value of the jid property.
157 *
158 * @return
159 * possible object is
160 * {@link String }
161 *
162 */
163 public String getJid() {
164 return jid;
165 }
166
167 /**
168 * Sets the value of the jid property.
169 *
170 * @param value
171 * allowed object is
172 * {@link String }
173 *
174 */
175 public void setJid(String value) {
176 this.jid = value;
177 }
178
179 /**
180 * Gets the value of the node property.
181 *
182 * @return
183 * possible object is
184 * {@link String }
185 *
186 */
187 public String getNode() {
188 return node;
189 }
190
191 /**
192 * Sets the value of the node property.
193 *
194 * @param value
195 * allowed object is
196 * {@link String }
197 *
198 */
199 public void setNode(String value) {
200 this.node = value;
201 }
202
203 /**
204 * Gets the value of the type property.
205 *
206 * @return
207 * possible object is
208 * {@link String }
209 *
210 */
211 public String getType() {
212 return type;
213 }
214
215 /**
216 * Sets the value of the type property.
217 *
218 * @param value
219 * allowed object is
220 * {@link String }
221 *
222 */
223 public void setType(String value) {
224 this.type = value;
225 }
226
227 /**
228 * Gets the value of the uri property.
229 *
230 * @return
231 * possible object is
232 * {@link String }
233 *
234 */
235 public String getUri() {
236 return uri;
237 }
238
239 /**
240 * Sets the value of the uri property.
241 *
242 * @param value
243 * allowed object is
244 * {@link String }
245 *
246 */
247 public void setUri(String value) {
248 this.uri = value;
249 }
250
251 }