View Javadoc

1   /*
2    * Copyright 2007 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.ole.pdp.businessobject;
17  
18  import java.util.Date;
19  import java.util.LinkedHashMap;
20  import java.util.List;
21  
22  import org.kuali.ole.pdp.PdpPropertyConstants;
23  import org.kuali.rice.krad.bo.TransientBusinessObjectBase;
24  
25  public class FormatSelection extends TransientBusinessObjectBase {
26      String campus;
27      Date startDate;
28      List customerList;
29      List rangeList;
30  
31      public FormatSelection() {
32          super();
33      }
34  
35      public String getCampus() {
36          return campus;
37      }
38  
39      public void setCampus(String campus) {
40          this.campus = campus;
41      }
42  
43      public List getCustomerList() {
44          return customerList;
45      }
46  
47      public void setCustomerList(List customerList) {
48          this.customerList = customerList;
49      }
50  
51      public List getRangeList() {
52          return rangeList;
53      }
54  
55      public void setRangeList(List rangeList) {
56          this.rangeList = rangeList;
57      }
58  
59      public Date getStartDate() {
60          return startDate;
61      }
62  
63      public void setStartDate(Date startDate) {
64          this.startDate = startDate;
65      }
66  
67      
68      protected LinkedHashMap toStringMapper_RICE20_REFACTORME() {
69          LinkedHashMap m = new LinkedHashMap(); 
70          
71          m.put(PdpPropertyConstants.FormatSelection.CAMPUS, this.campus);
72          m.put(PdpPropertyConstants.FormatSelection.START_DATE, this.startDate);
73          m.put(PdpPropertyConstants.FormatSelection.CUSTOMER_LIST, this.customerList);
74          m.put(PdpPropertyConstants.FormatSelection.RANGE_LIST, this.rangeList);
75          
76          return m;
77      }
78  }