View Javadoc

1   /**
2    * Copyright 2005-2014 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.rice.krad.labs.transaction;
17  
18  import org.kuali.rice.krad.web.form.UifFormBase;
19  
20  import java.util.ArrayList;
21  import java.util.List;
22  
23  /**
24   * KSA Transaction test form for lab
25   *
26   * @author Kuali Rice Team (rice.collab@kuali.org)
27   */
28  public class TransactionForm extends UifFormBase {
29      private static final long serialVersionUID = 7158452291069882385L;
30      private List<TransactionModel> rollupTransactions = new ArrayList<TransactionModel>();
31      private String testField;
32  
33      public TransactionForm(){
34          for (int i = 0; i < 50; i++){
35              rollupTransactions.add(new TransactionModel(5));
36          }
37      }
38  
39      public List<TransactionModel> getRollupTransactions() {
40          return rollupTransactions;
41      }
42  
43      public void setRollupTransactions(List<TransactionModel> rollupTransactions) {
44          this.rollupTransactions = rollupTransactions;
45      }
46  
47      public String getTestField() {
48          return testField;
49      }
50  
51      public void setTestField(String testField) {
52          this.testField = testField;
53      }
54  }