01: /*
02: * Copyright 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: // Created on Oct 18, 2006
17: package edu.sampleu.travel.bo;
18:
19: import java.util.LinkedHashMap;
20:
21: import org.kuali.core.bo.PersistableBusinessObjectExtensionBase;
22:
23: public class TravelAccountExtension extends
24: PersistableBusinessObjectExtensionBase {
25:
26: private String number;
27: private String accountTypeCode;
28: private TravelAccountType accountType;
29:
30: public String getNumber() {
31: return number;
32: }
33:
34: public void setNumber(String number) {
35: this .number = number;
36: }
37:
38: @Override
39: protected LinkedHashMap toStringMapper() {
40: LinkedHashMap propMap = new LinkedHashMap();
41: propMap.put("number", getNumber());
42: propMap.put("accountTypeCode", getAccountTypeCode());
43: return propMap;
44: }
45:
46: public String getAccountTypeCode() {
47: return accountTypeCode;
48: }
49:
50: public void setAccountTypeCode(String accountTypeCode) {
51: this .accountTypeCode = accountTypeCode;
52: }
53:
54: public TravelAccountType getAccountType() {
55: return accountType;
56: }
57:
58: public void setAccountType(TravelAccountType accountType) {
59: this.accountType = accountType;
60: }
61:
62: }
|