1 /**
2 * Copyright 2005-2015 The Kuali Foundation
3 *
4 * Licensed under the Educational Community License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.opensource.org/licenses/ecl2.php
9 *
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 package org.kuali.rice.krad.labs.quickfinder;
17
18 import org.kuali.rice.kim.api.identity.Person;
19
20 import java.io.Serializable;
21
22 /**
23 * Class to associate a person with a travel account
24 *
25 * @author Kuali Rice Team (rice.collab@kuali.org)
26 */
27 public class PersonAccount implements Serializable {
28
29 private static final long serialVersionUID = -7525378097732916422L;
30
31 private String name;
32 private String accountNumber;
33 private String accountName;
34
35 public PersonAccount() {}
36
37 public PersonAccount( String name ) {
38 this.name = name;
39 }
40
41 /**
42 * The name of the travel account for this person
43 *
44 * @return accountName
45 */
46 public String getAccountName() {
47 return accountName;
48 }
49
50 /**
51 * @see PersonAccount#getAccountName()
52 */
53 public void setAccountName(String accountName) {
54 this.accountName = accountName;
55 }
56
57 /**
58 * The number of the travel account for this person
59 *
60 * @return accountNumber
61 */
62 public String getAccountNumber () {
63 return accountNumber;
64 }
65 /**
66 * @see PersonAccount#getAccountNumber()
67 */
68 public void setAccountNumber(String number) {
69 this.accountNumber = number;
70 }
71 /**
72 * The name of this person
73 *
74 * @return name
75 */
76 public String getName() {
77 return name;
78 }
79
80 /**
81 * @see PersonAccount#getName()
82 */
83 public void setName(String name) {
84 this.name = name;
85 }
86 }