PageRenderTime 42ms CodeModel.GetById 13ms RepoModel.GetById 0ms app.codeStats 0ms

/servers/sip-presence/presence/server/jaxb-pojos/src/main/java/org/mobicents/slee/sippresence/pojo/pidf/uacaps/Servcapstype.java

http://mobicents.googlecode.com/
Java | 678 lines | 194 code | 48 blank | 436 comment | 6 complexity | 9f5d379cfa61c07937915bcc3f772dfe 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, vJAXB 2.1.10 in JDK 6
  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: 2011.02.15 at 03:36:58 AM WET
  27. //
  28. package org.mobicents.slee.sippresence.pojo.pidf.uacaps;
  29. import java.util.ArrayList;
  30. import java.util.HashMap;
  31. import java.util.List;
  32. import java.util.Map;
  33. import javax.xml.bind.annotation.XmlAccessType;
  34. import javax.xml.bind.annotation.XmlAccessorType;
  35. import javax.xml.bind.annotation.XmlAnyAttribute;
  36. import javax.xml.bind.annotation.XmlAnyElement;
  37. import javax.xml.bind.annotation.XmlElement;
  38. import javax.xml.bind.annotation.XmlType;
  39. import javax.xml.namespace.QName;
  40. import org.w3c.dom.Element;
  41. /**
  42. * <p>Java class for servcapstype complex type.
  43. *
  44. * <p>The following schema fragment specifies the expected content contained within this class.
  45. *
  46. * <pre>
  47. * &lt;complexType name="servcapstype">
  48. * &lt;complexContent>
  49. * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
  50. * &lt;sequence>
  51. * &lt;element name="actor" type="{urn:ietf:params:xml:ns:pidf:caps}actortype" minOccurs="0"/>
  52. * &lt;element name="application" type="{urn:ietf:params:xml:ns:pidf:caps}applicationtype" minOccurs="0"/>
  53. * &lt;element name="audio" type="{urn:ietf:params:xml:ns:pidf:caps}audiotype" minOccurs="0"/>
  54. * &lt;element name="automata" type="{urn:ietf:params:xml:ns:pidf:caps}automatatype" minOccurs="0"/>
  55. * &lt;element name="class" type="{urn:ietf:params:xml:ns:pidf:caps}classtype" minOccurs="0"/>
  56. * &lt;element name="control" type="{urn:ietf:params:xml:ns:pidf:caps}controltype" minOccurs="0"/>
  57. * &lt;element name="data" type="{urn:ietf:params:xml:ns:pidf:caps}datatype" minOccurs="0"/>
  58. * &lt;element name="description" type="{urn:ietf:params:xml:ns:pidf:caps}descriptiontype" maxOccurs="unbounded" minOccurs="0"/>
  59. * &lt;element name="duplex" type="{urn:ietf:params:xml:ns:pidf:caps}duplextype" minOccurs="0"/>
  60. * &lt;element name="event-packages" type="{urn:ietf:params:xml:ns:pidf:caps}event-packagestype" minOccurs="0"/>
  61. * &lt;element name="extensions" type="{urn:ietf:params:xml:ns:pidf:caps}extensionstype" minOccurs="0"/>
  62. * &lt;element name="isfocus" type="{urn:ietf:params:xml:ns:pidf:caps}isfocustype" minOccurs="0"/>
  63. * &lt;element name="message" type="{urn:ietf:params:xml:ns:pidf:caps}messagetype" minOccurs="0"/>
  64. * &lt;element name="methods" type="{urn:ietf:params:xml:ns:pidf:caps}methodstype" minOccurs="0"/>
  65. * &lt;element name="languages" type="{urn:ietf:params:xml:ns:pidf:caps}languagestype" minOccurs="0"/>
  66. * &lt;element name="priority" type="{urn:ietf:params:xml:ns:pidf:caps}prioritytype" minOccurs="0"/>
  67. * &lt;element name="schemes" type="{urn:ietf:params:xml:ns:pidf:caps}schemestype" minOccurs="0"/>
  68. * &lt;element name="text" type="{urn:ietf:params:xml:ns:pidf:caps}texttype" minOccurs="0"/>
  69. * &lt;element name="type" type="{urn:ietf:params:xml:ns:pidf:caps}typetype" maxOccurs="unbounded" minOccurs="0"/>
  70. * &lt;element name="video" type="{urn:ietf:params:xml:ns:pidf:caps}videotype" minOccurs="0"/>
  71. * &lt;any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
  72. * &lt;/sequence>
  73. * &lt;anyAttribute processContents='lax'/>
  74. * &lt;/restriction>
  75. * &lt;/complexContent>
  76. * &lt;/complexType>
  77. * </pre>
  78. *
  79. *
  80. */
  81. @XmlAccessorType(XmlAccessType.FIELD)
  82. @XmlType(name = "servcapstype", propOrder = {
  83. "actor",
  84. "application",
  85. "audio",
  86. "automata",
  87. "clazz",
  88. "control",
  89. "data",
  90. "description",
  91. "duplex",
  92. "eventPackages",
  93. "extensions",
  94. "isfocus",
  95. "message",
  96. "methods",
  97. "languages",
  98. "priority",
  99. "schemes",
  100. "text",
  101. "type",
  102. "video",
  103. "any"
  104. })
  105. public class Servcapstype {
  106. protected Actortype actor;
  107. protected Boolean application;
  108. protected Boolean audio;
  109. protected Boolean automata;
  110. @XmlElement(name = "class")
  111. protected Classtype clazz;
  112. protected Boolean control;
  113. protected Boolean data;
  114. protected List<Descriptiontype> description;
  115. protected Duplextype duplex;
  116. @XmlElement(name = "event-packages")
  117. protected EventPackagestype eventPackages;
  118. protected Extensionstype extensions;
  119. protected Boolean isfocus;
  120. protected Boolean message;
  121. protected Methodstype methods;
  122. protected Languagestype languages;
  123. protected Prioritytype priority;
  124. protected Schemestype schemes;
  125. protected Boolean text;
  126. protected List<String> type;
  127. protected Boolean video;
  128. @XmlAnyElement(lax = true)
  129. protected List<Object> any;
  130. @XmlAnyAttribute
  131. private Map<QName, String> otherAttributes = new HashMap<QName, String>();
  132. /**
  133. * Gets the value of the actor property.
  134. *
  135. * @return
  136. * possible object is
  137. * {@link Actortype }
  138. *
  139. */
  140. public Actortype getActor() {
  141. return actor;
  142. }
  143. /**
  144. * Sets the value of the actor property.
  145. *
  146. * @param value
  147. * allowed object is
  148. * {@link Actortype }
  149. *
  150. */
  151. public void setActor(Actortype value) {
  152. this.actor = value;
  153. }
  154. /**
  155. * Gets the value of the application property.
  156. *
  157. * @return
  158. * possible object is
  159. * {@link Boolean }
  160. *
  161. */
  162. public Boolean isApplication() {
  163. return application;
  164. }
  165. /**
  166. * Sets the value of the application property.
  167. *
  168. * @param value
  169. * allowed object is
  170. * {@link Boolean }
  171. *
  172. */
  173. public void setApplication(Boolean value) {
  174. this.application = value;
  175. }
  176. /**
  177. * Gets the value of the audio property.
  178. *
  179. * @return
  180. * possible object is
  181. * {@link Boolean }
  182. *
  183. */
  184. public Boolean isAudio() {
  185. return audio;
  186. }
  187. /**
  188. * Sets the value of the audio property.
  189. *
  190. * @param value
  191. * allowed object is
  192. * {@link Boolean }
  193. *
  194. */
  195. public void setAudio(Boolean value) {
  196. this.audio = value;
  197. }
  198. /**
  199. * Gets the value of the automata property.
  200. *
  201. * @return
  202. * possible object is
  203. * {@link Boolean }
  204. *
  205. */
  206. public Boolean isAutomata() {
  207. return automata;
  208. }
  209. /**
  210. * Sets the value of the automata property.
  211. *
  212. * @param value
  213. * allowed object is
  214. * {@link Boolean }
  215. *
  216. */
  217. public void setAutomata(Boolean value) {
  218. this.automata = value;
  219. }
  220. /**
  221. * Gets the value of the clazz property.
  222. *
  223. * @return
  224. * possible object is
  225. * {@link Classtype }
  226. *
  227. */
  228. public Classtype getClazz() {
  229. return clazz;
  230. }
  231. /**
  232. * Sets the value of the clazz property.
  233. *
  234. * @param value
  235. * allowed object is
  236. * {@link Classtype }
  237. *
  238. */
  239. public void setClazz(Classtype value) {
  240. this.clazz = value;
  241. }
  242. /**
  243. * Gets the value of the control property.
  244. *
  245. * @return
  246. * possible object is
  247. * {@link Boolean }
  248. *
  249. */
  250. public Boolean isControl() {
  251. return control;
  252. }
  253. /**
  254. * Sets the value of the control property.
  255. *
  256. * @param value
  257. * allowed object is
  258. * {@link Boolean }
  259. *
  260. */
  261. public void setControl(Boolean value) {
  262. this.control = value;
  263. }
  264. /**
  265. * Gets the value of the data property.
  266. *
  267. * @return
  268. * possible object is
  269. * {@link Boolean }
  270. *
  271. */
  272. public Boolean isData() {
  273. return data;
  274. }
  275. /**
  276. * Sets the value of the data property.
  277. *
  278. * @param value
  279. * allowed object is
  280. * {@link Boolean }
  281. *
  282. */
  283. public void setData(Boolean value) {
  284. this.data = value;
  285. }
  286. /**
  287. * Gets the value of the description property.
  288. *
  289. * <p>
  290. * This accessor method returns a reference to the live list,
  291. * not a snapshot. Therefore any modification you make to the
  292. * returned list will be present inside the JAXB object.
  293. * This is why there is not a <CODE>set</CODE> method for the description property.
  294. *
  295. * <p>
  296. * For example, to add a new item, do as follows:
  297. * <pre>
  298. * getDescription().add(newItem);
  299. * </pre>
  300. *
  301. *
  302. * <p>
  303. * Objects of the following type(s) are allowed in the list
  304. * {@link Descriptiontype }
  305. *
  306. *
  307. */
  308. public List<Descriptiontype> getDescription() {
  309. if (description == null) {
  310. description = new ArrayList<Descriptiontype>();
  311. }
  312. return this.description;
  313. }
  314. /**
  315. * Gets the value of the duplex property.
  316. *
  317. * @return
  318. * possible object is
  319. * {@link Duplextype }
  320. *
  321. */
  322. public Duplextype getDuplex() {
  323. return duplex;
  324. }
  325. /**
  326. * Sets the value of the duplex property.
  327. *
  328. * @param value
  329. * allowed object is
  330. * {@link Duplextype }
  331. *
  332. */
  333. public void setDuplex(Duplextype value) {
  334. this.duplex = value;
  335. }
  336. /**
  337. * Gets the value of the eventPackages property.
  338. *
  339. * @return
  340. * possible object is
  341. * {@link EventPackagestype }
  342. *
  343. */
  344. public EventPackagestype getEventPackages() {
  345. return eventPackages;
  346. }
  347. /**
  348. * Sets the value of the eventPackages property.
  349. *
  350. * @param value
  351. * allowed object is
  352. * {@link EventPackagestype }
  353. *
  354. */
  355. public void setEventPackages(EventPackagestype value) {
  356. this.eventPackages = value;
  357. }
  358. /**
  359. * Gets the value of the extensions property.
  360. *
  361. * @return
  362. * possible object is
  363. * {@link Extensionstype }
  364. *
  365. */
  366. public Extensionstype getExtensions() {
  367. return extensions;
  368. }
  369. /**
  370. * Sets the value of the extensions property.
  371. *
  372. * @param value
  373. * allowed object is
  374. * {@link Extensionstype }
  375. *
  376. */
  377. public void setExtensions(Extensionstype value) {
  378. this.extensions = value;
  379. }
  380. /**
  381. * Gets the value of the isfocus property.
  382. *
  383. * @return
  384. * possible object is
  385. * {@link Boolean }
  386. *
  387. */
  388. public Boolean isIsfocus() {
  389. return isfocus;
  390. }
  391. /**
  392. * Sets the value of the isfocus property.
  393. *
  394. * @param value
  395. * allowed object is
  396. * {@link Boolean }
  397. *
  398. */
  399. public void setIsfocus(Boolean value) {
  400. this.isfocus = value;
  401. }
  402. /**
  403. * Gets the value of the message property.
  404. *
  405. * @return
  406. * possible object is
  407. * {@link Boolean }
  408. *
  409. */
  410. public Boolean isMessage() {
  411. return message;
  412. }
  413. /**
  414. * Sets the value of the message property.
  415. *
  416. * @param value
  417. * allowed object is
  418. * {@link Boolean }
  419. *
  420. */
  421. public void setMessage(Boolean value) {
  422. this.message = value;
  423. }
  424. /**
  425. * Gets the value of the methods property.
  426. *
  427. * @return
  428. * possible object is
  429. * {@link Methodstype }
  430. *
  431. */
  432. public Methodstype getMethods() {
  433. return methods;
  434. }
  435. /**
  436. * Sets the value of the methods property.
  437. *
  438. * @param value
  439. * allowed object is
  440. * {@link Methodstype }
  441. *
  442. */
  443. public void setMethods(Methodstype value) {
  444. this.methods = value;
  445. }
  446. /**
  447. * Gets the value of the languages property.
  448. *
  449. * @return
  450. * possible object is
  451. * {@link Languagestype }
  452. *
  453. */
  454. public Languagestype getLanguages() {
  455. return languages;
  456. }
  457. /**
  458. * Sets the value of the languages property.
  459. *
  460. * @param value
  461. * allowed object is
  462. * {@link Languagestype }
  463. *
  464. */
  465. public void setLanguages(Languagestype value) {
  466. this.languages = value;
  467. }
  468. /**
  469. * Gets the value of the priority property.
  470. *
  471. * @return
  472. * possible object is
  473. * {@link Prioritytype }
  474. *
  475. */
  476. public Prioritytype getPriority() {
  477. return priority;
  478. }
  479. /**
  480. * Sets the value of the priority property.
  481. *
  482. * @param value
  483. * allowed object is
  484. * {@link Prioritytype }
  485. *
  486. */
  487. public void setPriority(Prioritytype value) {
  488. this.priority = value;
  489. }
  490. /**
  491. * Gets the value of the schemes property.
  492. *
  493. * @return
  494. * possible object is
  495. * {@link Schemestype }
  496. *
  497. */
  498. public Schemestype getSchemes() {
  499. return schemes;
  500. }
  501. /**
  502. * Sets the value of the schemes property.
  503. *
  504. * @param value
  505. * allowed object is
  506. * {@link Schemestype }
  507. *
  508. */
  509. public void setSchemes(Schemestype value) {
  510. this.schemes = value;
  511. }
  512. /**
  513. * Gets the value of the text property.
  514. *
  515. * @return
  516. * possible object is
  517. * {@link Boolean }
  518. *
  519. */
  520. public Boolean isText() {
  521. return text;
  522. }
  523. /**
  524. * Sets the value of the text property.
  525. *
  526. * @param value
  527. * allowed object is
  528. * {@link Boolean }
  529. *
  530. */
  531. public void setText(Boolean value) {
  532. this.text = value;
  533. }
  534. /**
  535. * Gets the value of the type property.
  536. *
  537. * <p>
  538. * This accessor method returns a reference to the live list,
  539. * not a snapshot. Therefore any modification you make to the
  540. * returned list will be present inside the JAXB object.
  541. * This is why there is not a <CODE>set</CODE> method for the type property.
  542. *
  543. * <p>
  544. * For example, to add a new item, do as follows:
  545. * <pre>
  546. * getType().add(newItem);
  547. * </pre>
  548. *
  549. *
  550. * <p>
  551. * Objects of the following type(s) are allowed in the list
  552. * {@link String }
  553. *
  554. *
  555. */
  556. public List<String> getType() {
  557. if (type == null) {
  558. type = new ArrayList<String>();
  559. }
  560. return this.type;
  561. }
  562. /**
  563. * Gets the value of the video property.
  564. *
  565. * @return
  566. * possible object is
  567. * {@link Boolean }
  568. *
  569. */
  570. public Boolean isVideo() {
  571. return video;
  572. }
  573. /**
  574. * Sets the value of the video property.
  575. *
  576. * @param value
  577. * allowed object is
  578. * {@link Boolean }
  579. *
  580. */
  581. public void setVideo(Boolean value) {
  582. this.video = value;
  583. }
  584. /**
  585. * Gets the value of the any property.
  586. *
  587. * <p>
  588. * This accessor method returns a reference to the live list,
  589. * not a snapshot. Therefore any modification you make to the
  590. * returned list will be present inside the JAXB object.
  591. * This is why there is not a <CODE>set</CODE> method for the any property.
  592. *
  593. * <p>
  594. * For example, to add a new item, do as follows:
  595. * <pre>
  596. * getAny().add(newItem);
  597. * </pre>
  598. *
  599. *
  600. * <p>
  601. * Objects of the following type(s) are allowed in the list
  602. * {@link Element }
  603. * {@link Object }
  604. *
  605. *
  606. */
  607. public List<Object> getAny() {
  608. if (any == null) {
  609. any = new ArrayList<Object>();
  610. }
  611. return this.any;
  612. }
  613. /**
  614. * Gets a map that contains attributes that aren't bound to any typed property on this class.
  615. *
  616. * <p>
  617. * the map is keyed by the name of the attribute and
  618. * the value is the string value of the attribute.
  619. *
  620. * the map returned by this method is live, and you can add new attribute
  621. * by updating the map directly. Because of this design, there's no setter.
  622. *
  623. *
  624. * @return
  625. * always non-null
  626. */
  627. public Map<QName, String> getOtherAttributes() {
  628. return otherAttributes;
  629. }
  630. }