01: /*
02: * Copyright 2006-2007 The Kuali Foundation.
03: *
04: * Licensed under the Educational Community License, Version 1.0 (the "License");
05: * you may not use this file except in compliance with the License.
06: * You may obtain a copy of the License at
07: *
08: * http://www.opensource.org/licenses/ecl1.php
09: *
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:
17: package org.kuali.module.purap.bo;
18:
19: import java.util.LinkedHashMap;
20:
21: import org.kuali.core.bo.PersistableBusinessObjectBase;
22:
23: /**
24: * Capital Asset Transaction Type Business Object.
25: */
26: public class CapitalAssetTransactionTypeRule extends
27: PersistableBusinessObjectBase {
28:
29: private String capitalAssetTransactionTypeCode;
30: private String financialObjectSubTypeCode;
31: private Integer capitalAssetRelationshipLimitNumber;
32:
33: /**
34: * Default constructor.
35: */
36: public CapitalAssetTransactionTypeRule() {
37:
38: }
39:
40: public Integer getCapitalAssetRelationshipLimitNumber() {
41: return capitalAssetRelationshipLimitNumber;
42: }
43:
44: public void setCapitalAssetRelationshipLimitNumber(
45: Integer capitalAssetRelationshipLimitNumber) {
46: this .capitalAssetRelationshipLimitNumber = capitalAssetRelationshipLimitNumber;
47: }
48:
49: public String getCapitalAssetTransactionTypeCode() {
50: return capitalAssetTransactionTypeCode;
51: }
52:
53: public void setCapitalAssetTransactionTypeCode(
54: String capitalAssetTransactionTypeCode) {
55: this .capitalAssetTransactionTypeCode = capitalAssetTransactionTypeCode;
56: }
57:
58: public String getFinancialObjectSubTypeCode() {
59: return financialObjectSubTypeCode;
60: }
61:
62: public void setFinancialObjectSubTypeCode(
63: String financialObjectSubTypeCode) {
64: this .financialObjectSubTypeCode = financialObjectSubTypeCode;
65: }
66:
67: /**
68: * @see org.kuali.core.bo.BusinessObjectBase#toStringMapper()
69: */
70: protected LinkedHashMap toStringMapper() {
71: LinkedHashMap m = new LinkedHashMap();
72: m.put("capitalAssetTransactionTypeCode",
73: this .capitalAssetTransactionTypeCode);
74: m.put("financialObjectSubTypeCode",
75: this.financialObjectSubTypeCode);
76: return m;
77: }
78: }
|