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.PersistableBusinessObjectBase;
22:
23: public class TravelAccount extends PersistableBusinessObjectBase {
24:
25: /**
26: *
27: */
28: private static final long serialVersionUID = -7739303391609093875L;
29: private String number;
30: private String name;
31: private Long foId;
32: private FiscalOfficer fiscalOfficer;
33:
34: public String getName() {
35: return name;
36: }
37:
38: public void setName(String name) {
39: this .name = name;
40: }
41:
42: public String getNumber() {
43: return number;
44: }
45:
46: public void setNumber(String number) {
47: this .number = number;
48: }
49:
50: public FiscalOfficer getFiscalOfficer() {
51: return fiscalOfficer;
52: }
53:
54: public void setFiscalOfficer(FiscalOfficer fiscalOfficer) {
55: this .fiscalOfficer = fiscalOfficer;
56: }
57:
58: @Override
59: protected LinkedHashMap toStringMapper() {
60: LinkedHashMap propMap = new LinkedHashMap();
61: propMap.put("number", getNumber());
62: propMap.put("name", getName());
63: return propMap;
64: }
65:
66: public Long getFoId() {
67: return foId;
68: }
69:
70: public void setFoId(Long foId) {
71: this.foId = foId;
72: }
73:
74: }
|