View Javadoc
1   package org.kuali.ole.docstore.utility;
2   
3   import java.util.ArrayList;
4   import java.util.List;
5   
6   /**
7    * Created with IntelliJ IDEA.
8    * User: vk8458
9    * Date: 8/27/12
10   * Time: 2:03 PM
11   * To change this template use File | Settings | File Templates.
12   */
13  public class FileIngestStatistics {
14      private List<BatchIngestStatistics> batchStatisticsList = new ArrayList<BatchIngestStatistics>();
15      private String fileName;
16      private String fileStatus;
17  
18      public FileIngestStatistics() {
19  
20      }
21  
22      public String getFileName() {
23          return fileName;
24      }
25  
26      public BatchIngestStatistics startBatch() {
27          BatchIngestStatistics batchStatistics = new BatchIngestStatistics();
28          batchStatisticsList.add(batchStatistics);
29          return batchStatistics;
30      }
31  
32      public void setFileName(String fileName) {
33          this.fileName = fileName;
34      }
35  
36      public String getFileStatus() {
37          return fileStatus;
38      }
39  
40      public void setFileStatus(String fileStatus) {
41          this.fileStatus = fileStatus;
42      }
43  
44      public List<BatchIngestStatistics> getBatchStatisticsList() {
45          return batchStatisticsList;
46      }
47  
48      public void setBatchStatisticsList(List<BatchIngestStatistics> batchStatisticsList) {
49          this.batchStatisticsList = batchStatisticsList;
50      }
51  
52      @Override
53      public String toString() {
54          return "FileIngestStatistics{" +
55                  "batchStatisticsList=" + batchStatisticsList +
56                  ", fileName='" + fileName + '\'' +
57                  ", fileStatus='" + fileStatus + '\'' +
58                  '}';
59      }
60  }