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.math.BigDecimal;
20  
21  import org.apache.log4j.Logger;
22  import org.kuali.rice.core.api.mo.common.active.MutableInactivatable;
23  import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
24  import org.springframework.beans.BeanUtils;
25  
26  
27  
28  
29  public class IndirectCostRecoveryAccount extends PersistableBusinessObjectBase implements MutableInactivatable{
30      private static Logger LOG = Logger.getLogger(IndirectCostRecoveryAccount.class);
31  
32      private Integer indirectCostRecoveryAccountGeneratedIdentifier;
33      
34      
35      private String chartOfAccountsCode;
36      private String accountNumber;
37      
38      private String indirectCostRecoveryFinCoaCode;
39      private String indirectCostRecoveryAccountNumber;
40      private BigDecimal accountLinePercent;
41      private boolean active;
42      
43      
44      private Account indirectCostRecoveryAccount;
45      private Chart indirectCostRecoveryChartOfAccounts;
46  
47      
48  
49  
50      public IndirectCostRecoveryAccount() {
51      }
52      
53  
54      public IndirectCostRecoveryAccount(IndirectCostRecoveryAccount icr) {
55          BeanUtils.copyProperties(icr, this);
56      }
57      
58      
59  
60  
61  
62  
63  
64      public static IndirectCostRecoveryAccount copyICRAccount(IndirectCostRecoveryAccount icrAccount) {
65          return new IndirectCostRecoveryAccount(icrAccount);
66      }
67      
68      public Integer getIndirectCostRecoveryAccountGeneratedIdentifier() {
69          return indirectCostRecoveryAccountGeneratedIdentifier;
70      }
71  
72      public String getChartOfAccountsCode() {
73          return chartOfAccountsCode;
74      }
75  
76      public String getAccountNumber() {
77          return accountNumber;
78      }
79  
80      public void setIndirectCostRecoveryAccountGeneratedIdentifier(Integer indirectCostRecoveryAccountGeneratedIdentifier) {
81          this.indirectCostRecoveryAccountGeneratedIdentifier = indirectCostRecoveryAccountGeneratedIdentifier;
82      }
83  
84      public void setChartOfAccountsCode(String chartOfAccountsCode) {
85          this.chartOfAccountsCode = chartOfAccountsCode;
86      }
87  
88      public void setAccountNumber(String accountNumber) {
89          this.accountNumber = accountNumber;
90      }
91      
92      public String getIndirectCostRecoveryFinCoaCode() {
93          return indirectCostRecoveryFinCoaCode;
94      }
95  
96      public String getIndirectCostRecoveryAccountNumber() {
97          return indirectCostRecoveryAccountNumber;
98      }
99  
100     public BigDecimal getAccountLinePercent() {
101         return accountLinePercent;
102     }
103 
104     public void setIndirectCostRecoveryFinCoaCode(String indirectCostRecoveryFinCoaCode) {
105         this.indirectCostRecoveryFinCoaCode = indirectCostRecoveryFinCoaCode;
106     }
107 
108     public void setIndirectCostRecoveryAccountNumber(String indirectCostRecoveryAccountNumber) {
109         this.indirectCostRecoveryAccountNumber = indirectCostRecoveryAccountNumber;
110     }
111 
112     public void setAccountLinePercent(BigDecimal accountLinePercent) {
113         this.accountLinePercent = accountLinePercent;
114     }
115 
116     public Account getIndirectCostRecoveryAccount() {
117         return indirectCostRecoveryAccount;
118     }
119 
120     
121 
122 
123 
124 
125 
126 
127     @Deprecated
128     public void setIndirectCostRecoveryAccount(Account indirectCostRecoveryAccount) {
129         this.indirectCostRecoveryAccount = indirectCostRecoveryAccount;
130     }
131 
132     
133 
134 
135     public Chart getIndirectCostRecoveryChartOfAccounts() {
136         return indirectCostRecoveryChartOfAccounts;
137     }
138 
139     
140 
141 
142 
143 
144 
145 
146     @Deprecated
147     public void setIndirectCostRecoveryChartOfAccounts(Chart indirectCostRecoveryChartOfAccounts) {
148         this.indirectCostRecoveryChartOfAccounts = indirectCostRecoveryChartOfAccounts;
149     }
150     
151     @Override
152     public boolean isActive() {
153         return active;
154     }
155 
156     @Override
157     public void setActive(boolean active) {
158         this.active = active;
159     }
160 
161 }