View Javadoc

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