View Javadoc
1   package org.kuali.ole.deliver.bo;
2   
3   
4   import org.kuali.ole.ingest.pojo.OlePatron;
5   import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
6   
7   import java.sql.Timestamp;
8   import java.util.ArrayList;
9   import java.util.List;
10  
11  /**
12   * OlePatronIngestSummaryRecord provides OlePatronIngestSummaryRecord information through getter and setter.
13   */
14  public class OlePatronIngestSummaryRecord extends PersistableBusinessObjectBase {
15  
16      private String olePatronSummaryId;
17      private Integer patronTotCount;
18      private Integer patronCreateCount;
19      private Integer patronUpdateCount;
20      private Integer patronRejectCount;
21      private Integer patronFailedCount;
22      private String fileName;
23      private String principalName;
24      private Timestamp createdDate;
25      private String failureRecords;
26      private List<OlePatron> failurePatronRecords = new ArrayList<>();
27  
28  
29      public String getFailureRecords() {
30          return failureRecords;
31      }
32  
33      public void setFailureRecords(String failureRecords) {
34          this.failureRecords = failureRecords;
35      }
36  
37      /**
38       * Gets the value of olePatronSummaryId property
39       *
40       * @return olePatronSummaryId
41       */
42      public String getOlePatronSummaryId() {
43          return olePatronSummaryId;
44      }
45  
46      /**
47       * Sets the value for olePatronSummaryId property
48       *
49       * @param olePatronSummaryId
50       */
51      public void setOlePatronSummaryId(String olePatronSummaryId) {
52          this.olePatronSummaryId = olePatronSummaryId;
53      }
54  
55      /**
56       * Gets the value of patronRejectCount property
57       *
58       * @return patronRejectCount
59       */
60      public Integer getPatronRejectCount() {
61          if (this.patronRejectCount == null)
62              return 0;
63          return patronRejectCount;
64      }
65  
66      /**
67       * Sets the value for patronRejectCount property
68       *
69       * @param patronRejectCount
70       */
71      public void setPatronRejectCount(Integer patronRejectCount) {
72          this.patronRejectCount = patronRejectCount;
73      }
74  
75      /**
76       * Gets the value of patronUpdateCount property
77       *
78       * @return patronUpdateCount
79       */
80      public Integer getPatronUpdateCount() {
81          if (this.patronUpdateCount == null)
82              return 0;
83          return patronUpdateCount;
84      }
85  
86      /**
87       * Sets the value for patronUpdateCount property
88       *
89       * @param patronUpdateCount
90       */
91      public void setPatronUpdateCount(Integer patronUpdateCount) {
92          this.patronUpdateCount = patronUpdateCount;
93      }
94  
95      /**
96       * Gets the value of patronCreateCount property
97       *
98       * @return patronCreateCount
99       */
100     public Integer getPatronCreateCount() {
101         if (this.patronCreateCount == null)
102             return 0;
103         return patronCreateCount;
104     }
105 
106     /**
107      * Sets the value for patronCreateCount property
108      *
109      * @param patronCreateCount
110      */
111     public void setPatronCreateCount(Integer patronCreateCount) {
112         this.patronCreateCount = patronCreateCount;
113     }
114 
115     /**
116      * Gets the value of patronTotCount property
117      *
118      * @return patronTotCount
119      */
120     public Integer getPatronTotCount() {
121         if (this.patronTotCount == null)
122             return 0;
123         return patronTotCount;
124     }
125 
126     /**
127      * Sets the value for patronTotCount property
128      *
129      * @param patronTotCount
130      */
131     public void setPatronTotCount(Integer patronTotCount) {
132         this.patronTotCount = patronTotCount;
133     }
134 
135     /**
136      * Gets the value of fileName property
137      *
138      * @return fileName
139      */
140     public String getFileName() {
141         return fileName;
142     }
143 
144     /**
145      * Sets the value for fileName property
146      *
147      * @param fileName
148      */
149     public void setFileName(String fileName) {
150         this.fileName = fileName;
151     }
152 
153     /**
154      * Gets the value of patronFailedCount property
155      *
156      * @return patronFailedCount
157      */
158     public Integer getPatronFailedCount() {
159         if (this.patronFailedCount == null)
160             return 0;
161         return patronFailedCount;
162     }
163 
164     /**
165      * Sets the value for patronFailedCount property
166      *
167      * @param patronFailedCount
168      */
169     public void setPatronFailedCount(Integer patronFailedCount) {
170         this.patronFailedCount = patronFailedCount;
171     }
172 
173     /**
174      * Gets the value of principalName property
175      *
176      * @return principalName
177      */
178     public String getPrincipalName() {
179         return principalName;
180     }
181 
182     /**
183      * Sets the value for principalName property
184      *
185      * @param principalName
186      */
187     public void setPrincipalName(String principalName) {
188         this.principalName = principalName;
189     }
190 
191     /**
192      * Gets the value of createdDate property
193      *
194      * @return createdDate
195      */
196     public Timestamp getCreatedDate() {
197         return createdDate;
198     }
199 
200     /**
201      * Sets the value for createdDate property
202      *
203      * @param createdDate
204      */
205     public void setCreatedDate(Timestamp createdDate) {
206         this.createdDate = createdDate;
207     }
208 
209     public List<OlePatron> getFailurePatronRecords() {
210         return failurePatronRecords;
211     }
212 
213     public void setFailurePatronRecords(List<OlePatron> failurePatronRecords) {
214         this.failurePatronRecords = failurePatronRecords;
215     }
216 }