View Javadoc
1   /*
2    * The Kuali Financial System, a comprehensive financial management system for higher education.
3    * 
4    * Copyright 2005-2014 The Kuali Foundation
5    * 
6    * This program is free software: you can redistribute it and/or modify
7    * it under the terms of the GNU Affero General Public License as
8    * published by the Free Software Foundation, either version 3 of the
9    * License, or (at your option) any later version.
10   * 
11   * This program is distributed in the hope that it will be useful,
12   * but WITHOUT ANY WARRANTY; without even the implied warranty of
13   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14   * GNU Affero General Public License for more details.
15   * 
16   * You should have received a copy of the GNU Affero General Public License
17   * along with this program.  If not, see <http://www.gnu.org/licenses/>.
18   */
19  package org.kuali.kfs.module.cam.businessobject;
20  
21  import org.kuali.rice.core.api.util.type.KualiDecimal;
22  import org.kuali.rice.krad.bo.TransientBusinessObjectBase;
23  
24  public class AssetDepreciationTransaction extends TransientBusinessObjectBase {
25      private static final org.apache.log4j.Logger LOG = org.apache.log4j.Logger.getLogger(TransientBusinessObjectBase.class);
26  
27      protected Long capitalAssetNumber;
28      protected String documentNumber;
29      protected String chartOfAccountsCode;
30      protected String accountNumber;
31      protected String subAccountNumber;
32      protected String financialObjectCode;
33      protected String financialSubObjectCode;
34      protected String financialObjectTypeCode;
35      protected String transactionType;
36      protected String projectCode;
37      protected KualiDecimal transactionAmount;
38      protected String transactionLedgerEntryDescription;
39  
40      
41      
42          
43          
44          
45          
46          
47          
48          
49          
50          
51          
52          
53      
54  
55  
56      public Long getCapitalAssetNumber() {
57          return capitalAssetNumber;
58      }
59  
60  
61      public void setCapitalAssetNumber(Long capitalAssetNumber) {
62          this.capitalAssetNumber = capitalAssetNumber;
63      }
64  
65      public String getDocumentNumber() {
66          return documentNumber;
67      }
68  
69  
70      public void setDocumentNumber(String documentNumber) {
71          this.documentNumber = documentNumber;
72      }
73  
74  
75      public String getChartOfAccountsCode() {
76          return chartOfAccountsCode;
77      }
78  
79  
80      public void setChartOfAccountsCode(String chartOfAccountsCode) {
81          this.chartOfAccountsCode = chartOfAccountsCode;
82      }
83  
84  
85      public String getAccountNumber() {
86          return accountNumber;
87      }
88  
89  
90      public void setAccountNumber(String accountNumber) {
91          this.accountNumber = accountNumber;
92      }
93  
94  
95      public String getSubAccountNumber() {
96          return subAccountNumber;
97      }
98  
99  
100     public void setSubAccountNumber(String subAccountNumber) {
101         this.subAccountNumber = subAccountNumber;
102     }
103 
104 
105     public String getFinancialObjectCode() {
106         return financialObjectCode;
107     }
108 
109 
110     public void setFinancialObjectCode(String financialObjectCode) {
111         this.financialObjectCode = financialObjectCode;
112     }
113 
114 
115     public String getFinancialSubObjectCode() {
116         return financialSubObjectCode;
117     }
118 
119 
120     public void setFinancialSubObjectCode(String financialSubObjectCode) {
121         this.financialSubObjectCode = financialSubObjectCode;
122     }
123 
124 
125     public String getFinancialObjectTypeCode() {
126         return financialObjectTypeCode;
127     }
128 
129 
130     public void setFinancialObjectTypeCode(String financialObjectTypeCode) {
131         this.financialObjectTypeCode = financialObjectTypeCode;
132     }
133 
134 
135     public String getTransactionType() {
136         return transactionType;
137     }
138 
139 
140     public void setTransactionType(String transactionType) {
141         this.transactionType = transactionType;
142     }
143 
144 
145     public String getProjectCode() {
146         return projectCode;
147     }
148 
149 
150     public void setProjectCode(String projectCode) {
151         this.projectCode = projectCode;
152     }
153 
154 
155     public KualiDecimal getTransactionAmount() {
156         return transactionAmount;
157     }
158 
159 
160     public void setTransactionAmount(KualiDecimal transactionAmount) {
161         this.transactionAmount = transactionAmount;
162     }
163 
164     public String getKey() {
165         return (this.getCapitalAssetNumber().toString() + this.getChartOfAccountsCode() + this.getAccountNumber() + this.getSubAccountNumber() + this.getFinancialObjectCode() + this.getFinancialSubObjectCode() + this.getFinancialObjectTypeCode() + this.getProjectCode() + this.getTransactionType());
166 
167     }
168 
169     public String getTransactionLedgerEntryDescription() {
170         return transactionLedgerEntryDescription;
171     }
172 
173     public void setTransactionLedgerEntryDescription(String transactionLedgerEntryDescription) {
174         this.transactionLedgerEntryDescription = transactionLedgerEntryDescription;
175     }
176 
177 }