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