/flexodesktop/externalmodels/flexobpel/src/main/java/org/oasis_open/docs/wsbpel/_2_0/plnktype/TExtensibleElements.java

https://github.com/bluepimento/openflexo · Java · 149 lines · 38 code · 9 blank · 102 comment · 4 complexity · 0a8cc716f62ef063b7f24b68d7226f0e MD5 · raw file

  1. /*
  2. * (c) Copyright 2010-2011 AgileBirds
  3. *
  4. * This file is part of OpenFlexo.
  5. *
  6. * OpenFlexo is free software: you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License as published by
  8. * the Free Software Foundation, either version 3 of the License, or
  9. * (at your option) any later version.
  10. *
  11. * OpenFlexo is distributed in the hope that it will be useful,
  12. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. * GNU General Public License for more details.
  15. *
  16. * You should have received a copy of the GNU General Public License
  17. * along with OpenFlexo. If not, see <http://www.gnu.org/licenses/>.
  18. *
  19. */
  20. // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.5-b01-fcs
  21. // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
  22. // Any modifications to this file will be lost upon recompilation of the source schema.
  23. // Generated on: 2007.11.26 at 12:29:16 PM CET
  24. //
  25. package org.oasis_open.docs.wsbpel._2_0.plnktype;
  26. import java.util.ArrayList;
  27. import java.util.HashMap;
  28. import java.util.List;
  29. import java.util.Map;
  30. import javax.xml.bind.annotation.XmlAccessType;
  31. import javax.xml.bind.annotation.XmlAccessorType;
  32. import javax.xml.bind.annotation.XmlAnyAttribute;
  33. import javax.xml.bind.annotation.XmlAnyElement;
  34. import javax.xml.bind.annotation.XmlSeeAlso;
  35. import javax.xml.bind.annotation.XmlType;
  36. import javax.xml.namespace.QName;
  37. import org.w3c.dom.Element;
  38. /**
  39. *
  40. * This type is extended by other component types to allow elements and attributes from other namespaces to be added at the modeled places.
  41. *
  42. *
  43. * <p>
  44. * Java class for tExtensibleElements complex type.
  45. *
  46. * <p>
  47. * The following schema fragment specifies the expected content contained within this class.
  48. *
  49. * <pre>
  50. * &lt;complexType name="tExtensibleElements">
  51. * &lt;complexContent>
  52. * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
  53. * &lt;sequence>
  54. * &lt;element ref="{http://docs.oasis-open.org/wsbpel/2.0/plnktype}documentation" maxOccurs="unbounded" minOccurs="0"/>
  55. * &lt;any/>
  56. * &lt;/sequence>
  57. * &lt;/restriction>
  58. * &lt;/complexContent>
  59. * &lt;/complexType>
  60. * </pre>
  61. *
  62. *
  63. */
  64. @XmlAccessorType(XmlAccessType.FIELD)
  65. @XmlType(name = "tExtensibleElements", propOrder = { "documentation", "any" })
  66. @XmlSeeAlso({ TRole.class, TPartnerLinkType.class })
  67. public class TExtensibleElements {
  68. protected List<Documentation> documentation;
  69. @XmlAnyElement(lax = true)
  70. protected List<Object> any;
  71. @XmlAnyAttribute
  72. private Map<QName, String> otherAttributes = new HashMap<QName, String>();
  73. /**
  74. * Gets the value of the documentation property.
  75. *
  76. * <p>
  77. * This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list
  78. * will be present inside the JAXB object. This is why there is not a <CODE>set</CODE> method for the documentation property.
  79. *
  80. * <p>
  81. * For example, to add a new item, do as follows:
  82. *
  83. * <pre>
  84. * getDocumentation().add(newItem);
  85. * </pre>
  86. *
  87. *
  88. * <p>
  89. * Objects of the following type(s) are allowed in the list {@link Documentation }
  90. *
  91. *
  92. */
  93. public List<Documentation> getDocumentation() {
  94. if (documentation == null) {
  95. documentation = new ArrayList<Documentation>();
  96. }
  97. return this.documentation;
  98. }
  99. /**
  100. * Gets the value of the any property.
  101. *
  102. * <p>
  103. * This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list
  104. * will be present inside the JAXB object. This is why there is not a <CODE>set</CODE> method for the any property.
  105. *
  106. * <p>
  107. * For example, to add a new item, do as follows:
  108. *
  109. * <pre>
  110. * getAny().add(newItem);
  111. * </pre>
  112. *
  113. *
  114. * <p>
  115. * Objects of the following type(s) are allowed in the list {@link Element } {@link Object }
  116. *
  117. *
  118. */
  119. public List<Object> getAny() {
  120. if (any == null) {
  121. any = new ArrayList<Object>();
  122. }
  123. return this.any;
  124. }
  125. /**
  126. * Gets a map that contains attributes that aren't bound to any typed property on this class.
  127. *
  128. * <p>
  129. * the map is keyed by the name of the attribute and the value is the string value of the attribute.
  130. *
  131. * the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's
  132. * no setter.
  133. *
  134. *
  135. * @return always non-null
  136. */
  137. public Map<QName, String> getOtherAttributes() {
  138. return otherAttributes;
  139. }
  140. }