001/** 002 * Copyright 2005-2015 The Kuali Foundation 003 * 004 * Licensed under the Educational Community License, Version 2.0 (the "License"); 005 * you may not use this file except in compliance with the License. 006 * You may obtain a copy of the License at 007 * 008 * http://www.opensource.org/licenses/ecl2.php 009 * 010 * Unless required by applicable law or agreed to in writing, software 011 * distributed under the License is distributed on an "AS IS" BASIS, 012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013 * See the License for the specific language governing permissions and 014 * limitations under the License. 015 */ 016package org.kuali.rice.krad.labs.quickfinder; 017 018import org.kuali.rice.kim.api.identity.Person; 019 020import java.io.Serializable; 021 022/** 023 * Class to associate a person with a travel account 024 * 025 * @author Kuali Rice Team (rice.collab@kuali.org) 026 */ 027public class PersonAccount implements Serializable { 028 029 private static final long serialVersionUID = -7525378097732916422L; 030 031 private String name; 032 private String accountNumber; 033 private String accountName; 034 035 public PersonAccount() {} 036 037 public PersonAccount( String name ) { 038 this.name = name; 039 } 040 041 /** 042 * The name of the travel account for this person 043 * 044 * @return accountName 045 */ 046 public String getAccountName() { 047 return accountName; 048 } 049 050 /** 051 * @see PersonAccount#getAccountName() 052 */ 053 public void setAccountName(String accountName) { 054 this.accountName = accountName; 055 } 056 057 /** 058 * The number of the travel account for this person 059 * 060 * @return accountNumber 061 */ 062 public String getAccountNumber () { 063 return accountNumber; 064 } 065 /** 066 * @see PersonAccount#getAccountNumber() 067 */ 068 public void setAccountNumber(String number) { 069 this.accountNumber = number; 070 } 071 /** 072 * The name of this person 073 * 074 * @return name 075 */ 076 public String getName() { 077 return name; 078 } 079 080 /** 081 * @see PersonAccount#getName() 082 */ 083 public void setName(String name) { 084 this.name = name; 085 } 086}