HandlingReport.java 4.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  1. package com.aggregator;
  2. import javax.xml.bind.annotation.XmlAccessType;
  3. import javax.xml.bind.annotation.XmlAccessorType;
  4. import javax.xml.bind.annotation.XmlElement;
  5. import javax.xml.bind.annotation.XmlType;
  6. import javax.xml.datatype.XMLGregorianCalendar;
  7. import java.util.ArrayList;
  8. import java.util.List;
  9. /**
  10. * <p>Java class for handlingReport complex type.
  11. *
  12. * <p>The following schema fragment specifies the expected content contained within this class.
  13. *
  14. * <pre>
  15. * &lt;complexType name="handlingReport">
  16. * &lt;complexContent>
  17. * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
  18. * &lt;sequence>
  19. * &lt;element name="completionTime" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
  20. * &lt;element name="trackingIds" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/>
  21. * &lt;element name="type" type="{http://www.w3.org/2001/XMLSchema}string"/>
  22. * &lt;element name="unLocode" type="{http://www.w3.org/2001/XMLSchema}string"/>
  23. * &lt;element name="voyageNumber" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
  24. * &lt;/sequence>
  25. * &lt;/restriction>
  26. * &lt;/complexContent>
  27. * &lt;/complexType>
  28. * </pre>
  29. *
  30. *
  31. */
  32. @XmlAccessorType(XmlAccessType.FIELD)
  33. @XmlType(name = "handlingReport", propOrder = {
  34. "completionTime",
  35. "trackingIds",
  36. "type",
  37. "unLocode",
  38. "voyageNumber"
  39. })
  40. public class HandlingReport {
  41. @XmlElement(required = true)
  42. protected XMLGregorianCalendar completionTime;
  43. @XmlElement(required = true)
  44. protected List<String> trackingIds;
  45. @XmlElement(required = true)
  46. protected String type;
  47. @XmlElement(required = true)
  48. protected String unLocode;
  49. protected String voyageNumber;
  50. /**
  51. * Gets the value of the completionTime property.
  52. *
  53. * @return
  54. * possible object is
  55. * {@link XMLGregorianCalendar }
  56. *
  57. */
  58. public XMLGregorianCalendar getCompletionTime() {
  59. return completionTime;
  60. }
  61. /**
  62. * Sets the value of the completionTime property.
  63. *
  64. * @param value
  65. * allowed object is
  66. * {@link XMLGregorianCalendar }
  67. *
  68. */
  69. public void setCompletionTime(XMLGregorianCalendar value) {
  70. this.completionTime = value;
  71. }
  72. /**
  73. * Gets the value of the trackingIds property.
  74. *
  75. * <p>
  76. * This accessor method returns a reference to the live list,
  77. * not a snapshot. Therefore any modification you make to the
  78. * returned list will be present inside the JAXB object.
  79. * This is why there is not a <CODE>set</CODE> method for the trackingIds property.
  80. *
  81. * <p>
  82. * For example, to add a new item, do as follows:
  83. * <pre>
  84. * getTrackingIds().add(newItem);
  85. * </pre>
  86. *
  87. *
  88. * <p>
  89. * Objects of the following type(s) are allowed in the list
  90. * {@link String }
  91. *
  92. *
  93. */
  94. public List<String> getTrackingIds() {
  95. if (trackingIds == null) {
  96. trackingIds = new ArrayList<String>();
  97. }
  98. return this.trackingIds;
  99. }
  100. /**
  101. * Gets the value of the type property.
  102. *
  103. * @return
  104. * possible object is
  105. * {@link String }
  106. *
  107. */
  108. public String getType() {
  109. return type;
  110. }
  111. /**
  112. * Sets the value of the type property.
  113. *
  114. * @param value
  115. * allowed object is
  116. * {@link String }
  117. *
  118. */
  119. public void setType(String value) {
  120. this.type = value;
  121. }
  122. /**
  123. * Gets the value of the unLocode property.
  124. *
  125. * @return
  126. * possible object is
  127. * {@link String }
  128. *
  129. */
  130. public String getUnLocode() {
  131. return unLocode;
  132. }
  133. /**
  134. * Sets the value of the unLocode property.
  135. *
  136. * @param value
  137. * allowed object is
  138. * {@link String }
  139. *
  140. */
  141. public void setUnLocode(String value) {
  142. this.unLocode = value;
  143. }
  144. /**
  145. * Gets the value of the voyageNumber property.
  146. *
  147. * @return
  148. * possible object is
  149. * {@link String }
  150. *
  151. */
  152. public String getVoyageNumber() {
  153. return voyageNumber;
  154. }
  155. /**
  156. * Sets the value of the voyageNumber property.
  157. *
  158. * @param value
  159. * allowed object is
  160. * {@link String }
  161. *
  162. */
  163. public void setVoyageNumber(String value) {
  164. this.voyageNumber = value;
  165. }
  166. }