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.test.conference;
17  
18  import org.kuali.rice.krad.data.util.Link;
19  import org.kuali.rice.krad.web.bind.ChangeTracking;
20  import org.kuali.rice.krad.web.form.UifFormBase;
21  
22  import java.util.ArrayList;
23  import java.util.HashMap;
24  import java.util.List;
25  import java.util.Map;
26  
27  /**
28   * Test form class.
29   *
30   * @author Kuali Rice Team (rice.collab@kuali.org)
31   */
32  @ChangeTracking
33  @Link(path = {"conferenceSessionList", "conferenceSessionMap"})
34  public class ConferenceSessionForm extends UifFormBase {
35      private static final long serialVersionUID = 2178491838787456800L;
36  
37      List<ConferenceSession> conferenceSessionList;
38      Map<String, ConferenceSession> conferenceSessionMap;
39  
40      public ConferenceSessionForm() {
41          conferenceSessionList = new ArrayList<ConferenceSession>();
42          conferenceSessionMap = new HashMap<String, ConferenceSession>();
43      }
44  
45      public List<ConferenceSession> getConferenceSessionList() {
46          return conferenceSessionList;
47      }
48  
49      public void setConferenceSessionList(List<ConferenceSession> conferenceSessionList) {
50          this.conferenceSessionList = conferenceSessionList;
51      }
52  
53      public Map<String, ConferenceSession> getConferenceSessionMap() {
54          return conferenceSessionMap;
55      }
56  
57      public void setConferenceSessionMap(Map<String, ConferenceSession> conferenceSessionMap) {
58          this.conferenceSessionMap = conferenceSessionMap;
59      }
60  }