PageRenderTime 29ms CodeModel.GetById 0ms RepoModel.GetById 0ms app.codeStats 0ms

/servers/sip-presence/presence/server/jaxb-pojos/src/main/java/org/mobicents/slee/sippresence/pojo/rpid/PlaceIs.java

http://mobicents.googlecode.com/
Java | 734 lines | 200 code | 60 blank | 474 comment | 0 complexity | bf58f0db363cecdaa3b69b505e315da1 MD5 | raw file
Possible License(s): LGPL-3.0, GPL-3.0, LGPL-2.1, GPL-2.0, CC-BY-SA-3.0, CC0-1.0, Apache-2.0, BSD-3-Clause
  1. /*
  2. * JBoss, Home of Professional Open Source
  3. * Copyright 2011, Red Hat, Inc. and individual contributors
  4. * by the @authors tag. See the copyright.txt in the distribution for a
  5. * full listing of individual contributors.
  6. *
  7. * This is free software; you can redistribute it and/or modify it
  8. * under the terms of the GNU Lesser General Public License as
  9. * published by the Free Software Foundation; either version 2.1 of
  10. * the License, or (at your option) any later version.
  11. *
  12. * This software is distributed in the hope that it will be useful,
  13. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  15. * Lesser General Public License for more details.
  16. *
  17. * You should have received a copy of the GNU Lesser General Public
  18. * License along with this software; if not, write to the Free
  19. * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
  20. * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
  21. */
  22. //
  23. // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.5-b01-fcs
  24. // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
  25. // Any modifications to this file will be lost upon recompilation of the source schema.
  26. // Generated on: 2008.04.25 at 12:01:52 AM WEST
  27. //
  28. package org.mobicents.slee.sippresence.pojo.rpid;
  29. import java.util.HashMap;
  30. import java.util.Map;
  31. import javax.xml.bind.annotation.XmlAccessType;
  32. import javax.xml.bind.annotation.XmlAccessorType;
  33. import javax.xml.bind.annotation.XmlAnyAttribute;
  34. import javax.xml.bind.annotation.XmlAttribute;
  35. import javax.xml.bind.annotation.XmlID;
  36. import javax.xml.bind.annotation.XmlRootElement;
  37. import javax.xml.bind.annotation.XmlSchemaType;
  38. import javax.xml.bind.annotation.XmlType;
  39. import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
  40. import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
  41. import javax.xml.datatype.XMLGregorianCalendar;
  42. import javax.xml.namespace.QName;
  43. import org.mobicents.slee.sippresence.pojo.commonschema.Empty;
  44. import org.mobicents.slee.sippresence.pojo.commonschema.NoteT;
  45. /**
  46. * <p>Java class for anonymous complex type.
  47. *
  48. * <p>The following schema fragment specifies the expected content contained within this class.
  49. *
  50. * <pre>
  51. * &lt;complexType>
  52. * &lt;complexContent>
  53. * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
  54. * &lt;sequence>
  55. * &lt;element name="note" type="{urn:ietf:params:xml:ns:pidf:rpid}Note_t" minOccurs="0"/>
  56. * &lt;element name="audio" minOccurs="0">
  57. * &lt;complexType>
  58. * &lt;complexContent>
  59. * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
  60. * &lt;choice>
  61. * &lt;element name="noisy" type="{urn:ietf:params:xml:ns:pidf:rpid}empty"/>
  62. * &lt;element name="ok" type="{urn:ietf:params:xml:ns:pidf:rpid}empty"/>
  63. * &lt;element name="quiet" type="{urn:ietf:params:xml:ns:pidf:rpid}empty"/>
  64. * &lt;element name="unknown" type="{urn:ietf:params:xml:ns:pidf:rpid}empty"/>
  65. * &lt;/choice>
  66. * &lt;/restriction>
  67. * &lt;/complexContent>
  68. * &lt;/complexType>
  69. * &lt;/element>
  70. * &lt;element name="video" minOccurs="0">
  71. * &lt;complexType>
  72. * &lt;complexContent>
  73. * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
  74. * &lt;choice>
  75. * &lt;element name="toobright" type="{urn:ietf:params:xml:ns:pidf:rpid}empty"/>
  76. * &lt;element name="ok" type="{urn:ietf:params:xml:ns:pidf:rpid}empty"/>
  77. * &lt;element name="dark" type="{urn:ietf:params:xml:ns:pidf:rpid}empty"/>
  78. * &lt;element name="unknown" type="{urn:ietf:params:xml:ns:pidf:rpid}empty"/>
  79. * &lt;/choice>
  80. * &lt;/restriction>
  81. * &lt;/complexContent>
  82. * &lt;/complexType>
  83. * &lt;/element>
  84. * &lt;element name="text" minOccurs="0">
  85. * &lt;complexType>
  86. * &lt;complexContent>
  87. * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
  88. * &lt;choice>
  89. * &lt;element name="uncomfortable" type="{urn:ietf:params:xml:ns:pidf:rpid}empty"/>
  90. * &lt;element name="inappropriate" type="{urn:ietf:params:xml:ns:pidf:rpid}empty"/>
  91. * &lt;element name="ok" type="{urn:ietf:params:xml:ns:pidf:rpid}empty"/>
  92. * &lt;element name="unknown" type="{urn:ietf:params:xml:ns:pidf:rpid}empty"/>
  93. * &lt;/choice>
  94. * &lt;/restriction>
  95. * &lt;/complexContent>
  96. * &lt;/complexType>
  97. * &lt;/element>
  98. * &lt;/sequence>
  99. * &lt;attGroup ref="{urn:ietf:params:xml:ns:pidf:rpid}fromUntil"/>
  100. * &lt;attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
  101. * &lt;/restriction>
  102. * &lt;/complexContent>
  103. * &lt;/complexType>
  104. * </pre>
  105. *
  106. *
  107. */
  108. @XmlAccessorType(XmlAccessType.FIELD)
  109. @XmlType(name = "", propOrder = {
  110. "note",
  111. "audio",
  112. "video",
  113. "text"
  114. })
  115. @XmlRootElement(name = "place-is")
  116. public class PlaceIs {
  117. protected NoteT note;
  118. protected PlaceIs.Audio audio;
  119. protected PlaceIs.Video video;
  120. protected PlaceIs.Text text;
  121. @XmlAttribute
  122. @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
  123. @XmlID
  124. @XmlSchemaType(name = "ID")
  125. protected String id;
  126. @XmlAttribute
  127. @XmlSchemaType(name = "dateTime")
  128. protected XMLGregorianCalendar from;
  129. @XmlAttribute
  130. @XmlSchemaType(name = "dateTime")
  131. protected XMLGregorianCalendar until;
  132. @XmlAnyAttribute
  133. private Map<QName, String> otherAttributes = new HashMap<QName, String>();
  134. /**
  135. * Gets the value of the note property.
  136. *
  137. * @return
  138. * possible object is
  139. * {@link NoteT }
  140. *
  141. */
  142. public NoteT getNote() {
  143. return note;
  144. }
  145. /**
  146. * Sets the value of the note property.
  147. *
  148. * @param value
  149. * allowed object is
  150. * {@link NoteT }
  151. *
  152. */
  153. public void setNote(NoteT value) {
  154. this.note = value;
  155. }
  156. /**
  157. * Gets the value of the audio property.
  158. *
  159. * @return
  160. * possible object is
  161. * {@link PlaceIs.Audio }
  162. *
  163. */
  164. public PlaceIs.Audio getAudio() {
  165. return audio;
  166. }
  167. /**
  168. * Sets the value of the audio property.
  169. *
  170. * @param value
  171. * allowed object is
  172. * {@link PlaceIs.Audio }
  173. *
  174. */
  175. public void setAudio(PlaceIs.Audio value) {
  176. this.audio = value;
  177. }
  178. /**
  179. * Gets the value of the video property.
  180. *
  181. * @return
  182. * possible object is
  183. * {@link PlaceIs.Video }
  184. *
  185. */
  186. public PlaceIs.Video getVideo() {
  187. return video;
  188. }
  189. /**
  190. * Sets the value of the video property.
  191. *
  192. * @param value
  193. * allowed object is
  194. * {@link PlaceIs.Video }
  195. *
  196. */
  197. public void setVideo(PlaceIs.Video value) {
  198. this.video = value;
  199. }
  200. /**
  201. * Gets the value of the text property.
  202. *
  203. * @return
  204. * possible object is
  205. * {@link PlaceIs.Text }
  206. *
  207. */
  208. public PlaceIs.Text getText() {
  209. return text;
  210. }
  211. /**
  212. * Sets the value of the text property.
  213. *
  214. * @param value
  215. * allowed object is
  216. * {@link PlaceIs.Text }
  217. *
  218. */
  219. public void setText(PlaceIs.Text value) {
  220. this.text = value;
  221. }
  222. /**
  223. * Gets the value of the id property.
  224. *
  225. * @return
  226. * possible object is
  227. * {@link String }
  228. *
  229. */
  230. public String getId() {
  231. return id;
  232. }
  233. /**
  234. * Sets the value of the id property.
  235. *
  236. * @param value
  237. * allowed object is
  238. * {@link String }
  239. *
  240. */
  241. public void setId(String value) {
  242. this.id = value;
  243. }
  244. /**
  245. * Gets the value of the from property.
  246. *
  247. * @return
  248. * possible object is
  249. * {@link XMLGregorianCalendar }
  250. *
  251. */
  252. public XMLGregorianCalendar getFrom() {
  253. return from;
  254. }
  255. /**
  256. * Sets the value of the from property.
  257. *
  258. * @param value
  259. * allowed object is
  260. * {@link XMLGregorianCalendar }
  261. *
  262. */
  263. public void setFrom(XMLGregorianCalendar value) {
  264. this.from = value;
  265. }
  266. /**
  267. * Gets the value of the until property.
  268. *
  269. * @return
  270. * possible object is
  271. * {@link XMLGregorianCalendar }
  272. *
  273. */
  274. public XMLGregorianCalendar getUntil() {
  275. return until;
  276. }
  277. /**
  278. * Sets the value of the until property.
  279. *
  280. * @param value
  281. * allowed object is
  282. * {@link XMLGregorianCalendar }
  283. *
  284. */
  285. public void setUntil(XMLGregorianCalendar value) {
  286. this.until = value;
  287. }
  288. /**
  289. * Gets a map that contains attributes that aren't bound to any typed property on this class.
  290. *
  291. * <p>
  292. * the map is keyed by the name of the attribute and
  293. * the value is the string value of the attribute.
  294. *
  295. * the map returned by this method is live, and you can add new attribute
  296. * by updating the map directly. Because of this design, there's no setter.
  297. *
  298. *
  299. * @return
  300. * always non-null
  301. */
  302. public Map<QName, String> getOtherAttributes() {
  303. return otherAttributes;
  304. }
  305. /**
  306. * <p>Java class for anonymous complex type.
  307. *
  308. * <p>The following schema fragment specifies the expected content contained within this class.
  309. *
  310. * <pre>
  311. * &lt;complexType>
  312. * &lt;complexContent>
  313. * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
  314. * &lt;choice>
  315. * &lt;element name="noisy" type="{urn:ietf:params:xml:ns:pidf:rpid}empty"/>
  316. * &lt;element name="ok" type="{urn:ietf:params:xml:ns:pidf:rpid}empty"/>
  317. * &lt;element name="quiet" type="{urn:ietf:params:xml:ns:pidf:rpid}empty"/>
  318. * &lt;element name="unknown" type="{urn:ietf:params:xml:ns:pidf:rpid}empty"/>
  319. * &lt;/choice>
  320. * &lt;/restriction>
  321. * &lt;/complexContent>
  322. * &lt;/complexType>
  323. * </pre>
  324. *
  325. *
  326. */
  327. @XmlAccessorType(XmlAccessType.FIELD)
  328. @XmlType(name = "", propOrder = {
  329. "noisy",
  330. "ok",
  331. "quiet",
  332. "unknown"
  333. })
  334. public static class Audio {
  335. protected Empty noisy;
  336. protected Empty ok;
  337. protected Empty quiet;
  338. protected Empty unknown;
  339. /**
  340. * Gets the value of the noisy property.
  341. *
  342. * @return
  343. * possible object is
  344. * {@link Empty }
  345. *
  346. */
  347. public Empty getNoisy() {
  348. return noisy;
  349. }
  350. /**
  351. * Sets the value of the noisy property.
  352. *
  353. * @param value
  354. * allowed object is
  355. * {@link Empty }
  356. *
  357. */
  358. public void setNoisy(Empty value) {
  359. this.noisy = value;
  360. }
  361. /**
  362. * Gets the value of the ok property.
  363. *
  364. * @return
  365. * possible object is
  366. * {@link Empty }
  367. *
  368. */
  369. public Empty getOk() {
  370. return ok;
  371. }
  372. /**
  373. * Sets the value of the ok property.
  374. *
  375. * @param value
  376. * allowed object is
  377. * {@link Empty }
  378. *
  379. */
  380. public void setOk(Empty value) {
  381. this.ok = value;
  382. }
  383. /**
  384. * Gets the value of the quiet property.
  385. *
  386. * @return
  387. * possible object is
  388. * {@link Empty }
  389. *
  390. */
  391. public Empty getQuiet() {
  392. return quiet;
  393. }
  394. /**
  395. * Sets the value of the quiet property.
  396. *
  397. * @param value
  398. * allowed object is
  399. * {@link Empty }
  400. *
  401. */
  402. public void setQuiet(Empty value) {
  403. this.quiet = value;
  404. }
  405. /**
  406. * Gets the value of the unknown property.
  407. *
  408. * @return
  409. * possible object is
  410. * {@link Empty }
  411. *
  412. */
  413. public Empty getUnknown() {
  414. return unknown;
  415. }
  416. /**
  417. * Sets the value of the unknown property.
  418. *
  419. * @param value
  420. * allowed object is
  421. * {@link Empty }
  422. *
  423. */
  424. public void setUnknown(Empty value) {
  425. this.unknown = value;
  426. }
  427. }
  428. /**
  429. * <p>Java class for anonymous complex type.
  430. *
  431. * <p>The following schema fragment specifies the expected content contained within this class.
  432. *
  433. * <pre>
  434. * &lt;complexType>
  435. * &lt;complexContent>
  436. * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
  437. * &lt;choice>
  438. * &lt;element name="uncomfortable" type="{urn:ietf:params:xml:ns:pidf:rpid}empty"/>
  439. * &lt;element name="inappropriate" type="{urn:ietf:params:xml:ns:pidf:rpid}empty"/>
  440. * &lt;element name="ok" type="{urn:ietf:params:xml:ns:pidf:rpid}empty"/>
  441. * &lt;element name="unknown" type="{urn:ietf:params:xml:ns:pidf:rpid}empty"/>
  442. * &lt;/choice>
  443. * &lt;/restriction>
  444. * &lt;/complexContent>
  445. * &lt;/complexType>
  446. * </pre>
  447. *
  448. *
  449. */
  450. @XmlAccessorType(XmlAccessType.FIELD)
  451. @XmlType(name = "", propOrder = {
  452. "uncomfortable",
  453. "inappropriate",
  454. "ok",
  455. "unknown"
  456. })
  457. public static class Text {
  458. protected Empty uncomfortable;
  459. protected Empty inappropriate;
  460. protected Empty ok;
  461. protected Empty unknown;
  462. /**
  463. * Gets the value of the uncomfortable property.
  464. *
  465. * @return
  466. * possible object is
  467. * {@link Empty }
  468. *
  469. */
  470. public Empty getUncomfortable() {
  471. return uncomfortable;
  472. }
  473. /**
  474. * Sets the value of the uncomfortable property.
  475. *
  476. * @param value
  477. * allowed object is
  478. * {@link Empty }
  479. *
  480. */
  481. public void setUncomfortable(Empty value) {
  482. this.uncomfortable = value;
  483. }
  484. /**
  485. * Gets the value of the inappropriate property.
  486. *
  487. * @return
  488. * possible object is
  489. * {@link Empty }
  490. *
  491. */
  492. public Empty getInappropriate() {
  493. return inappropriate;
  494. }
  495. /**
  496. * Sets the value of the inappropriate property.
  497. *
  498. * @param value
  499. * allowed object is
  500. * {@link Empty }
  501. *
  502. */
  503. public void setInappropriate(Empty value) {
  504. this.inappropriate = value;
  505. }
  506. /**
  507. * Gets the value of the ok property.
  508. *
  509. * @return
  510. * possible object is
  511. * {@link Empty }
  512. *
  513. */
  514. public Empty getOk() {
  515. return ok;
  516. }
  517. /**
  518. * Sets the value of the ok property.
  519. *
  520. * @param value
  521. * allowed object is
  522. * {@link Empty }
  523. *
  524. */
  525. public void setOk(Empty value) {
  526. this.ok = value;
  527. }
  528. /**
  529. * Gets the value of the unknown property.
  530. *
  531. * @return
  532. * possible object is
  533. * {@link Empty }
  534. *
  535. */
  536. public Empty getUnknown() {
  537. return unknown;
  538. }
  539. /**
  540. * Sets the value of the unknown property.
  541. *
  542. * @param value
  543. * allowed object is
  544. * {@link Empty }
  545. *
  546. */
  547. public void setUnknown(Empty value) {
  548. this.unknown = value;
  549. }
  550. }
  551. /**
  552. * <p>Java class for anonymous complex type.
  553. *
  554. * <p>The following schema fragment specifies the expected content contained within this class.
  555. *
  556. * <pre>
  557. * &lt;complexType>
  558. * &lt;complexContent>
  559. * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
  560. * &lt;choice>
  561. * &lt;element name="toobright" type="{urn:ietf:params:xml:ns:pidf:rpid}empty"/>
  562. * &lt;element name="ok" type="{urn:ietf:params:xml:ns:pidf:rpid}empty"/>
  563. * &lt;element name="dark" type="{urn:ietf:params:xml:ns:pidf:rpid}empty"/>
  564. * &lt;element name="unknown" type="{urn:ietf:params:xml:ns:pidf:rpid}empty"/>
  565. * &lt;/choice>
  566. * &lt;/restriction>
  567. * &lt;/complexContent>
  568. * &lt;/complexType>
  569. * </pre>
  570. *
  571. *
  572. */
  573. @XmlAccessorType(XmlAccessType.FIELD)
  574. @XmlType(name = "", propOrder = {
  575. "toobright",
  576. "ok",
  577. "dark",
  578. "unknown"
  579. })
  580. public static class Video {
  581. protected Empty toobright;
  582. protected Empty ok;
  583. protected Empty dark;
  584. protected Empty unknown;
  585. /**
  586. * Gets the value of the toobright property.
  587. *
  588. * @return
  589. * possible object is
  590. * {@link Empty }
  591. *
  592. */
  593. public Empty getToobright() {
  594. return toobright;
  595. }
  596. /**
  597. * Sets the value of the toobright property.
  598. *
  599. * @param value
  600. * allowed object is
  601. * {@link Empty }
  602. *
  603. */
  604. public void setToobright(Empty value) {
  605. this.toobright = value;
  606. }
  607. /**
  608. * Gets the value of the ok property.
  609. *
  610. * @return
  611. * possible object is
  612. * {@link Empty }
  613. *
  614. */
  615. public Empty getOk() {
  616. return ok;
  617. }
  618. /**
  619. * Sets the value of the ok property.
  620. *
  621. * @param value
  622. * allowed object is
  623. * {@link Empty }
  624. *
  625. */
  626. public void setOk(Empty value) {
  627. this.ok = value;
  628. }
  629. /**
  630. * Gets the value of the dark property.
  631. *
  632. * @return
  633. * possible object is
  634. * {@link Empty }
  635. *
  636. */
  637. public Empty getDark() {
  638. return dark;
  639. }
  640. /**
  641. * Sets the value of the dark property.
  642. *
  643. * @param value
  644. * allowed object is
  645. * {@link Empty }
  646. *
  647. */
  648. public void setDark(Empty value) {
  649. this.dark = value;
  650. }
  651. /**
  652. * Gets the value of the unknown property.
  653. *
  654. * @return
  655. * possible object is
  656. * {@link Empty }
  657. *
  658. */
  659. public Empty getUnknown() {
  660. return unknown;
  661. }
  662. /**
  663. * Sets the value of the unknown property.
  664. *
  665. * @param value
  666. * allowed object is
  667. * {@link Empty }
  668. *
  669. */
  670. public void setUnknown(Empty value) {
  671. this.unknown = value;
  672. }
  673. }
  674. }