/ojc-core/hl7bc/hl7bcimpl/src/com/sun/jbi/hl7bc/extservice/ack/hl7v251/ACKCONTENT.java

https://bitbucket.org/ldassonville/openesb-components · Java · 188 lines · 48 code · 14 blank · 126 comment · 4 complexity · 5132370000f096a0016af0f8d1c7d242 MD5 · raw file

  1. /*
  2. * BEGIN_HEADER - DO NOT EDIT
  3. *
  4. * The contents of this file are subject to the terms
  5. * of the Common Development and Distribution License
  6. * (the "License"). You may not use this file except
  7. * in compliance with the License.
  8. *
  9. * You can obtain a copy of the license at
  10. * https://open-jbi-components.dev.java.net/public/CDDLv1.0.html.
  11. * See the License for the specific language governing
  12. * permissions and limitations under the License.
  13. *
  14. * When distributing Covered Code, include this CDDL
  15. * HEADER in each file and include the License file at
  16. * https://open-jbi-components.dev.java.net/public/CDDLv1.0.html.
  17. * If applicable add the following below this CDDL HEADER,
  18. * with the fields enclosed by brackets "[]" replaced with
  19. * your own identifying information: Portions Copyright
  20. * [year] [name of copyright owner]
  21. */
  22. /*
  23. * @(#)ACTCONTENT.java
  24. *
  25. * Copyright 2004-2007 Sun Microsystems, Inc. All Rights Reserved.
  26. *
  27. * END_HEADER - DO NOT EDIT
  28. */
  29. package com.sun.jbi.hl7bc.extservice.ack.hl7v251;
  30. import java.util.ArrayList;
  31. import java.util.List;
  32. import javax.xml.bind.annotation.XmlAccessType;
  33. import javax.xml.bind.annotation.XmlAccessorType;
  34. import javax.xml.bind.annotation.XmlElement;
  35. import javax.xml.bind.annotation.XmlType;
  36. /**
  37. * <p>Java class for ACK.CONTENT complex type.
  38. *
  39. * <p>The following schema fragment specifies the expected content contained within this class.
  40. *
  41. * <pre>
  42. * &lt;complexType name="ACK.CONTENT">
  43. * &lt;complexContent>
  44. * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
  45. * &lt;sequence>
  46. * &lt;element ref="{urn:hl7-org:v2xml}MSH"/>
  47. * &lt;element ref="{urn:hl7-org:v2xml}SFT" maxOccurs="unbounded" minOccurs="0"/>
  48. * &lt;element ref="{urn:hl7-org:v2xml}MSA"/>
  49. * &lt;element ref="{urn:hl7-org:v2xml}ERR" maxOccurs="unbounded" minOccurs="0"/>
  50. * &lt;/sequence>
  51. * &lt;/restriction>
  52. * &lt;/complexContent>
  53. * &lt;/complexType>
  54. * </pre>
  55. *
  56. *
  57. */
  58. @XmlAccessorType(XmlAccessType.FIELD)
  59. @XmlType(name = "ACK.CONTENT", namespace = "urn:hl7-org:v2xml", propOrder = {
  60. "msh",
  61. "sft",
  62. "msa",
  63. "err"
  64. })
  65. public class ACKCONTENT {
  66. @XmlElement(name = "MSH", namespace = "urn:hl7-org:v2xml", required = true)
  67. protected MSHCONTENT msh;
  68. @XmlElement(name = "SFT", namespace = "urn:hl7-org:v2xml")
  69. protected List<SFTCONTENT> sft;
  70. @XmlElement(name = "MSA", namespace = "urn:hl7-org:v2xml", required = true)
  71. protected MSACONTENT msa;
  72. @XmlElement(name = "ERR", namespace = "urn:hl7-org:v2xml")
  73. protected List<ERRCONTENT> err;
  74. /**
  75. * Gets the value of the msh property.
  76. *
  77. * @return
  78. * possible object is
  79. * {@link MSHCONTENT }
  80. *
  81. */
  82. public MSHCONTENT getMSH() {
  83. return msh;
  84. }
  85. /**
  86. * Sets the value of the msh property.
  87. *
  88. * @param value
  89. * allowed object is
  90. * {@link MSHCONTENT }
  91. *
  92. */
  93. public void setMSH(MSHCONTENT value) {
  94. this.msh = value;
  95. }
  96. /**
  97. * Gets the value of the sft property.
  98. *
  99. * <p>
  100. * This accessor method returns a reference to the live list,
  101. * not a snapshot. Therefore any modification you make to the
  102. * returned list will be present inside the JAXB object.
  103. * This is why there is not a <CODE>set</CODE> method for the sft property.
  104. *
  105. * <p>
  106. * For example, to add a new item, do as follows:
  107. * <pre>
  108. * getSFT().add(newItem);
  109. * </pre>
  110. *
  111. *
  112. * <p>
  113. * Objects of the following type(s) are allowed in the list
  114. * {@link SFTCONTENT }
  115. *
  116. *
  117. */
  118. public List<SFTCONTENT> getSFT() {
  119. if (sft == null) {
  120. sft = new ArrayList<SFTCONTENT>();
  121. }
  122. return this.sft;
  123. }
  124. /**
  125. * Gets the value of the msa property.
  126. *
  127. * @return
  128. * possible object is
  129. * {@link MSACONTENT }
  130. *
  131. */
  132. public MSACONTENT getMSA() {
  133. return msa;
  134. }
  135. /**
  136. * Sets the value of the msa property.
  137. *
  138. * @param value
  139. * allowed object is
  140. * {@link MSACONTENT }
  141. *
  142. */
  143. public void setMSA(MSACONTENT value) {
  144. this.msa = value;
  145. }
  146. /**
  147. * Gets the value of the err property.
  148. *
  149. * <p>
  150. * This accessor method returns a reference to the live list,
  151. * not a snapshot. Therefore any modification you make to the
  152. * returned list will be present inside the JAXB object.
  153. * This is why there is not a <CODE>set</CODE> method for the err property.
  154. *
  155. * <p>
  156. * For example, to add a new item, do as follows:
  157. * <pre>
  158. * getERR().add(newItem);
  159. * </pre>
  160. *
  161. *
  162. * <p>
  163. * Objects of the following type(s) are allowed in the list
  164. * {@link ERRCONTENT }
  165. *
  166. *
  167. */
  168. public List<ERRCONTENT> getERR() {
  169. if (err == null) {
  170. err = new ArrayList<ERRCONTENT>();
  171. }
  172. return this.err;
  173. }
  174. }