1 package org.kuali.ole.select.bo;
2
3 import java.util.List;
4
5
6
7
8
9
10
11
12 public class OLESerialReceivingRecordSummary {
13 private int totalRecordSize;
14 private int successRecordSize;
15 private int failureRecordSize;
16 private int docSuccessCount;
17 private int docFailureCount;
18 private int hstrySucceesCount;
19 private int hstryFailureCount;
20 private int typeSuccessCount;
21 private int typeFailureCount;
22 private List<OLESerialReceivingDocument> failureDocuments;
23 private List<OLESerialReceivingDocument> docFailureList;
24 private List<OLESerialReceivingHistory> hstryFailureList;
25 private List<OLESerialReceivingType> typeFailureList;
26
27 public OLESerialReceivingRecordSummary(int totalRecordSize, int successRecordSize, int failureRecordSize) {
28 this.totalRecordSize = totalRecordSize;
29 this.successRecordSize = successRecordSize;
30 this.failureRecordSize = failureRecordSize;
31 }
32
33 public OLESerialReceivingRecordSummary(int totalRecordSize, int successRecordSize, int failureRecordSize, List<OLESerialReceivingDocument> failureDocuments) {
34 this.totalRecordSize = totalRecordSize;
35 this.successRecordSize = successRecordSize;
36 this.failureRecordSize = failureRecordSize;
37 this.failureDocuments = failureDocuments;
38 }
39
40 public OLESerialReceivingRecordSummary(int totalRecordSize, int docSuccessCount, int docFailureCount, List<OLESerialReceivingDocument> docFailureList,int hstrySucceesCount,int hstryFailureCount,List<OLESerialReceivingHistory> hstryFailureList,int typeSuccessCount,int typeFailureCount,List<OLESerialReceivingType> typeFailureList) {
41 this.totalRecordSize = totalRecordSize;
42 this.docSuccessCount = docSuccessCount;
43 this.docFailureCount = docFailureCount;
44 this.docFailureList = docFailureList;
45 this.hstrySucceesCount = hstrySucceesCount;
46 this.hstryFailureCount = hstryFailureCount;
47 this.hstryFailureList = hstryFailureList;
48 this.typeSuccessCount = typeSuccessCount;
49 this.typeFailureCount = typeFailureCount;
50 this.typeFailureList = typeFailureList;
51 }
52
53 public int getTotalRecordSize() {
54 return totalRecordSize;
55 }
56
57 public void setTotalRecordSize(int totalRecordSize) {
58 this.totalRecordSize = totalRecordSize;
59 }
60
61 public int getSuccessRecordSize() {
62 return successRecordSize;
63 }
64
65 public void setSuccessRecordSize(int successRecordSize) {
66 this.successRecordSize = successRecordSize;
67 }
68
69 public int getFailureRecordSize() {
70 return failureRecordSize;
71 }
72
73 public void setFailureRecordSize(int failureRecordSize) {
74 this.failureRecordSize = failureRecordSize;
75 }
76
77 public List<OLESerialReceivingDocument> getFailureDocuments() {
78 return failureDocuments;
79 }
80
81 public void setFailureDocuments(List<OLESerialReceivingDocument> failureDocuments) {
82 this.failureDocuments = failureDocuments;
83 }
84
85 public int getDocSuccessCount() {
86 return docSuccessCount;
87 }
88
89 public void setDocSuccessCount(int docSuccessCount) {
90 this.docSuccessCount = docSuccessCount;
91 }
92
93 public int getDocFailureCount() {
94 return docFailureCount;
95 }
96
97 public void setDocFailureCount(int docFailureCount) {
98 this.docFailureCount = docFailureCount;
99 }
100
101 public int getHstrySucceesCount() {
102 return hstrySucceesCount;
103 }
104
105 public void setHstrySucceesCount(int hstrySucceesCount) {
106 this.hstrySucceesCount = hstrySucceesCount;
107 }
108
109 public int getHstryFailureCount() {
110 return hstryFailureCount;
111 }
112
113 public void setHstryFailureCount(int hstryFailureCount) {
114 this.hstryFailureCount = hstryFailureCount;
115 }
116
117 public int getTypeSuccessCount() {
118 return typeSuccessCount;
119 }
120
121 public void setTypeSuccessCount(int typeSuccessCount) {
122 this.typeSuccessCount = typeSuccessCount;
123 }
124
125 public int getTypeFailureCount() {
126 return typeFailureCount;
127 }
128
129 public void setTypeFailureCount(int typeFailureCount) {
130 this.typeFailureCount = typeFailureCount;
131 }
132
133 public List<OLESerialReceivingDocument> getDocFailureList() {
134 return docFailureList;
135 }
136
137 public void setDocFailureList(List<OLESerialReceivingDocument> docFailureList) {
138 this.docFailureList = docFailureList;
139 }
140
141 public List<OLESerialReceivingHistory> getHstryFailureList() {
142 return hstryFailureList;
143 }
144
145 public void setHstryFailureList(List<OLESerialReceivingHistory> hstryFailureList) {
146 this.hstryFailureList = hstryFailureList;
147 }
148
149 public List<OLESerialReceivingType> getTypeFailureList() {
150 return typeFailureList;
151 }
152
153 public void setTypeFailureList(List<OLESerialReceivingType> typeFailureList) {
154 this.typeFailureList = typeFailureList;
155 }
156 }