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.pstnrptgrpsubcat;
17  
18  import org.kuali.kpme.core.bo.HrBusinessObject;
19  import org.kuali.kpme.core.location.Location;
20  import org.kuali.kpme.pm.api.pstnrptgrpsubcat.PositionReportGroupSubCategoryContract;
21  
22  public class PositionReportGroupSubCategory extends HrBusinessObject implements PositionReportGroupSubCategoryContract {
23  	private static final long serialVersionUID = 1L;
24  	
25  	private String pmPstnRptGrpSubCatId;
26  	private String pstnRptGrpSubCat;
27  	private String positionReportGroup;
28  	private String positionReportSubCat;
29  	private String description;
30  	private String institution;
31  	private String location;
32  
33  	private Location locationObj;	
34  	
35  	@Override
36  	public String getId() {
37  		return this.getPmPstnRptGrpSubCatId();
38  	}
39  
40  	@Override
41  	public void setId(String id) {
42  		setPmPstnRptGrpSubCatId(id);
43  	}
44  
45  	@Override
46  	protected String getUniqueKey() {
47  		return getPstnRptGrpSubCat() + "_" + getPositionReportGroup() + "_" + getPositionReportSubCat();
48  	}
49  
50  	public String getPmPstnRptGrpSubCatId() {
51  		return pmPstnRptGrpSubCatId;
52  	}
53  
54  	public void setPmPstnRptGrpSubCatId(String pmPstnRptGrpSubCatId) {
55  		this.pmPstnRptGrpSubCatId = pmPstnRptGrpSubCatId;
56  	}
57  
58  	public String getPstnRptGrpSubCat() {
59  		return pstnRptGrpSubCat;
60  	}
61  
62  	public void setPstnRptGrpSubCat(String pstnRptGrpSubCat) {
63  		this.pstnRptGrpSubCat = pstnRptGrpSubCat;
64  	}
65  
66  	public String getPositionReportGroup() {
67  		return positionReportGroup;
68  	}
69  
70  	public void setPositionReportGroup(String positionReportGroup) {
71  		this.positionReportGroup = positionReportGroup;
72  	}
73  
74  	public String getPositionReportSubCat() {
75  		return positionReportSubCat;
76  	}
77  
78  	public void setPositionReportSubCat(String positionReportSubCat) {
79  		this.positionReportSubCat = positionReportSubCat;
80  	}
81  
82  	public String getDescription() {
83  		return description;
84  	}
85  
86  	public void setDescription(String description) {
87  		this.description = description;
88  	}
89  
90  	public String getInstitution() {
91  		return institution;
92  	}
93  
94  	public void setInstitution(String institution) {
95  		this.institution = institution;
96  	}
97  
98  	public String getLocation() {
99  		return location;
100 	}
101 
102 	public void setLocation(String location) {
103 		this.location = location;
104 	}
105 
106 	public Location getLocationObj() {
107 		return locationObj;
108 	}
109 
110 	public void setLocationObj(Location locationObj) {
111 		this.locationObj = locationObj;
112 	}
113 
114 }