001 /*
002 * Copyright 2011 The Kuali Foundation
003 *
004 * Licensed under the Educational Community License, Version 1.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/ecl1.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 */
016 package edu.sampleu.travel.dto;
017
018 import java.io.Serializable;
019 import java.util.ArrayList;
020 import java.util.List;
021
022 /**
023 *
024 * @author Kuali Rice Team (rice.collab@kuali.org)
025 */
026 public class FiscalOfficerInfo implements Serializable {
027
028 private Long id;
029 private String userName;
030 private String firstName;
031 private String objectId;
032 private Long versionNumber;
033
034 private List<TravelAccountInfo> accounts;
035
036 public Long getId() {
037 return this.id;
038 }
039
040 public void setId(Long id) {
041 this.id = id;
042 }
043
044 public String getUserName() {
045 return this.userName;
046 }
047
048 public void setUserName(String userName) {
049 this.userName = userName;
050 }
051
052 public String getFirstName() {
053 return this.firstName;
054 }
055
056 public void setFirstName(String firstName) {
057 this.firstName = firstName;
058 }
059
060 public List<TravelAccountInfo> getAccounts() {
061 if(accounts == null) {
062 accounts = new ArrayList<TravelAccountInfo>();
063 }
064 return this.accounts;
065 }
066
067 public void setAccounts(List<TravelAccountInfo> accounts) {
068 this.accounts = accounts;
069 }
070
071 public String getObjectId() {
072 return this.objectId;
073 }
074
075 public void setObjectId(String objectId) {
076 this.objectId = objectId;
077 }
078
079 public Long getVersionNumber() {
080 return this.versionNumber;
081 }
082
083 public void setVersionNumber(Long versionNumber) {
084 this.versionNumber = versionNumber;
085 }
086
087 }