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
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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
49
50
51
52
53
54
55 public ReportDefinition getJob() {
56 return job;
57 }
58
59
60
61
62
63
64
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
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 }