1   
2   
3   
4   
5   
6   
7   
8   
9   
10  
11  
12  
13  
14  
15  
16  
17  package org.kuali.ole.coa.businessobject;
18  
19  import java.util.LinkedHashMap;
20  
21  import org.apache.log4j.Logger;
22  import org.springframework.beans.BeanUtils;
23  
24  
25  
26  
27  public class A21IndirectCostRecoveryAccount extends IndirectCostRecoveryAccount {
28      private static Logger LOG = Logger.getLogger(A21IndirectCostRecoveryAccount.class);
29  
30      private Integer a21IndirectCostRecoveryAccountGeneratedIdentifier;
31      
32      
33      private String subAccountNumber;
34      
35      
36  
37  
38      public A21IndirectCostRecoveryAccount() {
39      }
40      
41      
42  
43  
44  
45  
46      private A21IndirectCostRecoveryAccount(IndirectCostRecoveryAccount icr) {
47          BeanUtils.copyProperties(icr,this);
48      }
49      
50      
51  
52  
53  
54  
55  
56      public static A21IndirectCostRecoveryAccount copyICRAccount(IndirectCostRecoveryAccount icrAccount) {
57          return new A21IndirectCostRecoveryAccount(icrAccount); 
58      }
59  
60      public Integer getA21IndirectCostRecoveryAccountGeneratedIdentifier() {
61          return a21IndirectCostRecoveryAccountGeneratedIdentifier;
62      }
63  
64      public void setA21IndirectCostRecoveryAccountGeneratedIdentifier(Integer a21IndirectCostRecoveryAccountGeneratedIdentifier) {
65          this.a21IndirectCostRecoveryAccountGeneratedIdentifier = a21IndirectCostRecoveryAccountGeneratedIdentifier;
66      }
67  
68      public String getSubAccountNumber() {
69          return subAccountNumber;
70      }
71  
72      public void setSubAccountNumber(String subAccountNumber) {
73          this.subAccountNumber = subAccountNumber;
74      }
75  
76      
77  
78  
79      protected LinkedHashMap toStringMapper_RICE20_REFACTORME() {
80          LinkedHashMap<String, String> m = new LinkedHashMap<String, String>();
81          if (this.a21IndirectCostRecoveryAccountGeneratedIdentifier != null) {
82              m.put("a21IndirectCostRecoveryAccountGeneratedIdentifier", this.a21IndirectCostRecoveryAccountGeneratedIdentifier.toString());
83          }
84          return m;
85      }
86  
87  }