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 AddOrUpdateScheduledReportRequestMsg complex type.
16   * 
17   * <p>The following schema fragment specifies the expected content contained within this class.
18   * 
19   * <pre>
20   * &lt;complexType name="AddOrUpdateScheduledReportRequestMsg">
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;/sequence>
27   *     &lt;/restriction>
28   *   &lt;/complexContent>
29   * &lt;/complexType>
30   * </pre>
31   * 
32   * 
33   */
34  @XmlAccessorType(XmlAccessType.FIELD)
35  @XmlType(name = "AddOrUpdateScheduledReportRequestMsg", propOrder = {
36      "classification",
37      "jobs"
38  })
39  public class AddOrUpdateScheduledReportRequestMsg
40      implements Serializable
41  {
42  
43      private final static long serialVersionUID = 1L;
44      @XmlElement(required = true, nillable = true)
45      protected SecurityWrapper classification;
46      @XmlElement(required = true)
47      protected List<ReportDefinition> jobs;
48  
49      /**
50       * Gets the value of the classification property.
51       * 
52       * @return
53       *     possible object is
54       *     {@link SecurityWrapper }
55       *     
56       */
57      public SecurityWrapper getClassification() {
58          return classification;
59      }
60  
61      /**
62       * Sets the value of the classification property.
63       * 
64       * @param value
65       *     allowed object is
66       *     {@link SecurityWrapper }
67       *     
68       */
69      public void setClassification(SecurityWrapper value) {
70          this.classification = value;
71      }
72  
73      public boolean isSetClassification() {
74          return (this.classification!= null);
75      }
76  
77      /**
78       * Gets the value of the jobs property.
79       * 
80       * <p>
81       * This accessor method returns a reference to the live list,
82       * not a snapshot. Therefore any modification you make to the
83       * returned list will be present inside the JAXB object.
84       * This is why there is not a <CODE>set</CODE> method for the jobs property.
85       * 
86       * <p>
87       * For example, to add a new item, do as follows:
88       * <pre>
89       *    getJobs().add(newItem);
90       * </pre>
91       * 
92       * 
93       * <p>
94       * Objects of the following type(s) are allowed in the list
95       * {@link ReportDefinition }
96       * 
97       * 
98       */
99      public List<ReportDefinition> getJobs() {
100         if (jobs == null) {
101             jobs = new ArrayList<ReportDefinition>();
102         }
103         return this.jobs;
104     }
105 
106     public boolean isSetJobs() {
107         return ((this.jobs!= null)&&(!this.jobs.isEmpty()));
108     }
109 
110     public void unsetJobs() {
111         this.jobs = null;
112     }
113 
114 }