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