PageRenderTime 43ms CodeModel.GetById 18ms RepoModel.GetById 0ms app.codeStats 0ms

/servers/sip-presence/xdm/client/appusages/rls-services/src/main/java/org/openxdm/xcap/client/appusage/rlsservices/jaxb/PackagesType.java

http://mobicents.googlecode.com/
Java | 107 lines | 27 code | 9 blank | 71 comment | 2 complexity | f443e41d54233e98cbb0a14b9cdd8a8f 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.05.01 at 05:18:19 PM WEST
  27. //
  28. package org.openxdm.xcap.client.appusage.rlsservices.jaxb;
  29. import java.util.ArrayList;
  30. import java.util.List;
  31. import javax.xml.bind.JAXBElement;
  32. import javax.xml.bind.annotation.XmlAccessType;
  33. import javax.xml.bind.annotation.XmlAccessorType;
  34. import javax.xml.bind.annotation.XmlAnyElement;
  35. import javax.xml.bind.annotation.XmlElementRef;
  36. import javax.xml.bind.annotation.XmlRootElement;
  37. import javax.xml.bind.annotation.XmlType;
  38. import org.w3c.dom.Element;
  39. /**
  40. * <p>Java class for packagesType complex type.
  41. *
  42. * <p>The following schema fragment specifies the expected content contained within this class.
  43. *
  44. * <pre>
  45. * &lt;complexType name="packagesType">
  46. * &lt;complexContent>
  47. * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
  48. * &lt;sequence maxOccurs="unbounded" minOccurs="0">
  49. * &lt;element name="package" type="{urn:ietf:params:xml:ns:rls-services}packageType"/>
  50. * &lt;any/>
  51. * &lt;/sequence>
  52. * &lt;/restriction>
  53. * &lt;/complexContent>
  54. * &lt;/complexType>
  55. * </pre>
  56. *
  57. *
  58. */
  59. @XmlAccessorType(XmlAccessType.FIELD)
  60. @XmlType(name = "packagesType", namespace = "urn:ietf:params:xml:ns:rls-services", propOrder = {
  61. "packageAndAny"
  62. })
  63. @XmlRootElement(name = "packages", namespace = "urn:ietf:params:xml:ns:rls-services")
  64. public class PackagesType {
  65. @XmlElementRef(name = "package", namespace = "urn:ietf:params:xml:ns:rls-services", type = JAXBElement.class)
  66. @XmlAnyElement(lax = true)
  67. protected List<Object> packageAndAny;
  68. /**
  69. * Gets the value of the packageAndAny property.
  70. *
  71. * <p>
  72. * This accessor method returns a reference to the live list,
  73. * not a snapshot. Therefore any modification you make to the
  74. * returned list will be present inside the JAXB object.
  75. * This is why there is not a <CODE>set</CODE> method for the packageAndAny property.
  76. *
  77. * <p>
  78. * For example, to add a new item, do as follows:
  79. * <pre>
  80. * getPackageAndAny().add(newItem);
  81. * </pre>
  82. *
  83. *
  84. * <p>
  85. * Objects of the following type(s) are allowed in the list
  86. * {@link Object }
  87. * {@link Element }
  88. * {@link JAXBElement }{@code <}{@link String }{@code >}
  89. *
  90. *
  91. */
  92. public List<Object> getPackageAndAny() {
  93. if (packageAndAny == null) {
  94. packageAndAny = new ArrayList<Object>();
  95. }
  96. return this.packageAndAny;
  97. }
  98. }