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
12
13 /**
14 * <p>Java class for ExistingReportDefitions complex type.
15 *
16 * <p>The following schema fragment specifies the expected content contained within this class.
17 *
18 * <pre>
19 * <complexType name="ExistingReportDefitions">
20 * <complexContent>
21 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
22 * <sequence>
23 * <element name="job" type="{urn:org:miloss:fgsms:services:interfaces:automatedReportingService}ReportDefinition"/>
24 * <element name="reports" type="{urn:org:miloss:fgsms:services:interfaces:automatedReportingService}CompletedJobs" maxOccurs="unbounded" minOccurs="0"/>
25 * </sequence>
26 * </restriction>
27 * </complexContent>
28 * </complexType>
29 * </pre>
30 *
31 *
32 */
33 @XmlAccessorType(XmlAccessType.FIELD)
34 @XmlType(name = "ExistingReportDefitions", propOrder = {
35 "job",
36 "reports"
37 })
38 public class ExistingReportDefitions
39 implements Serializable
40 {
41
42 private final static long serialVersionUID = 1L;
43 @XmlElement(required = true)
44 protected ReportDefinition job;
45 protected List<CompletedJobs> reports;
46
47 /**
48 * Gets the value of the job property.
49 *
50 * @return
51 * possible object is
52 * {@link ReportDefinition }
53 *
54 */
55 public ReportDefinition getJob() {
56 return job;
57 }
58
59 /**
60 * Sets the value of the job property.
61 *
62 * @param value
63 * allowed object is
64 * {@link ReportDefinition }
65 *
66 */
67 public void setJob(ReportDefinition value) {
68 this.job = value;
69 }
70
71 public boolean isSetJob() {
72 return (this.job!= null);
73 }
74
75 /**
76 * Gets the value of the reports property.
77 *
78 * <p>
79 * This accessor method returns a reference to the live list,
80 * not a snapshot. Therefore any modification you make to the
81 * returned list will be present inside the JAXB object.
82 * This is why there is not a <CODE>set</CODE> method for the reports property.
83 *
84 * <p>
85 * For example, to add a new item, do as follows:
86 * <pre>
87 * getReports().add(newItem);
88 * </pre>
89 *
90 *
91 * <p>
92 * Objects of the following type(s) are allowed in the list
93 * {@link CompletedJobs }
94 *
95 *
96 */
97 public List<CompletedJobs> getReports() {
98 if (reports == null) {
99 reports = new ArrayList<CompletedJobs>();
100 }
101 return this.reports;
102 }
103
104 public boolean isSetReports() {
105 return ((this.reports!= null)&&(!this.reports.isEmpty()));
106 }
107
108 public void unsetReports() {
109 this.reports = null;
110 }
111
112 }