View Javadoc

1   /**
2    * Copyright 2004-2014 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.kpme.pm.web;
17  
18  import org.kuali.kpme.core.web.KPMEForm;
19  
20  import com.google.common.collect.ImmutableMap;
21  
22  public class ProcessMaintForm extends KPMEForm {
23  	private static final long serialVersionUID = 1L;
24  	
25  	private String category;
26  	private String subCategory;
27  	private String reason;
28  	private String positionId;
29  	
30  	
31  	private ImmutableMap<String, String> categoryMap = new ImmutableMap.Builder<String, String>()
32              .put("new", "New Position")
33              .put("reorg", "Reorganization")
34              .put("reclass", "Reclassification")
35              .put("update", "Data Update")
36              .put("status", "Change Status")
37              .build();
38  
39  	public ImmutableMap<String, String> getCategoryMap() {
40  		return categoryMap;
41  	}
42  
43  	public String getCategory() {
44  		return category;
45  	}
46  
47  	public void setCategory(String category) {
48  		this.category = category;
49  	}
50  
51  	public String getSubCategory() {
52  		return subCategory;
53  	}
54  
55  	public void setSubCategory(String subCategory) {
56  		this.subCategory = subCategory;
57  	}
58  
59  	public String getReason() {
60  		return reason;
61  	}
62  
63  	public void setReason(String reason) {
64  		this.reason = reason;
65  	}
66  
67  	public String getPositionId() {
68  		return positionId;
69  	}
70  
71  	public void setPositionId(String positionId) {
72  		this.positionId = positionId;
73  	}
74  
75  	
76  
77  }