View Javadoc

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