View Javadoc
1   /*
2    * Copyright 2007 The Kuali Foundation
3    * 
4    * Licensed under the Educational Community License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    * 
8    * http://www.opensource.org/licenses/ecl2.php
9    * 
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  package org.kuali.ole.gl.batch.service.impl;
17  
18  import java.util.ArrayList;
19  import java.util.List;
20  
21  /**
22   * The reconciliation information corresponding to a whole file
23   */
24  public class ReconciliationBlock {
25      public ReconciliationBlock() {
26          columns = new ArrayList<ColumnReconciliation>();
27      }
28  
29      private String tableId;
30      private int rowCount;
31      private List<ColumnReconciliation> columns;
32  
33      /**
34       * Gets the columns attribute. Do not modify the list or its contents.
35       * 
36       * @return Returns the columns.
37       */
38      public List<ColumnReconciliation> getColumns() {
39          return columns;
40      }
41  
42      /**
43       * Adds a column reconciliation definition
44       * 
45       * @param column
46       */
47      public void addColumn(ColumnReconciliation column) {
48          columns.add(column);
49      }
50  
51      /**
52       * Gets the rowCount attribute.
53       * 
54       * @return Returns the rowCount.
55       */
56      public int getRowCount() {
57          return rowCount;
58      }
59  
60      /**
61       * Sets the rowCount attribute value.
62       * 
63       * @param rowCount The rowCount to set.
64       */
65      public void setRowCount(int rowCount) {
66          this.rowCount = rowCount;
67      }
68  
69      /**
70       * Gets the tableId attribute.
71       * 
72       * @return Returns the tableId.
73       */
74      public String getTableId() {
75          return tableId;
76      }
77  
78      /**
79       * Sets the tableId attribute value.
80       * 
81       * @param tableId The tableId to set.
82       */
83      public void setTableId(String tableId) {
84          this.tableId = tableId;
85      }
86  }