View Javadoc

1   /**
2    * Copyright 2005-2011 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 edu.sampleu.travel.dto;
17  
18  import java.io.Serializable;
19  import java.util.ArrayList;
20  import java.util.List;
21  
22  /**
23   * 
24   * @author Kuali Rice Team (rice.collab@kuali.org)
25   */
26  public class FiscalOfficerInfo implements Serializable {
27      
28      private Long id;
29      private String userName;
30      private String firstName;
31      private String objectId;
32      private Long versionNumber;
33      
34      private List<TravelAccountInfo> accounts;
35  
36      public Long getId() {
37          return this.id;
38      }
39  
40      public void setId(Long id) {
41          this.id = id;
42      }
43  
44      public String getUserName() {
45          return this.userName;
46      }
47  
48      public void setUserName(String userName) {
49          this.userName = userName;
50      }
51  
52      public String getFirstName() {
53          return this.firstName;
54      }
55  
56      public void setFirstName(String firstName) {
57          this.firstName = firstName;
58      }
59  
60      public List<TravelAccountInfo> getAccounts() {
61          if(accounts == null) {
62              accounts = new ArrayList<TravelAccountInfo>();
63          }
64          return this.accounts;
65      }
66  
67      public void setAccounts(List<TravelAccountInfo> accounts) {
68          this.accounts = accounts;
69      }
70  
71      public String getObjectId() {
72          return this.objectId;
73      }
74  
75      public void setObjectId(String objectId) {
76          this.objectId = objectId;
77      }
78  
79      public Long getVersionNumber() {
80          return this.versionNumber;
81      }
82  
83      public void setVersionNumber(Long versionNumber) {
84          this.versionNumber = versionNumber;
85      }
86  
87  }