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.position;
17  
18  import org.kuali.kpme.core.bo.derived.HrBusinessObjectDerived;
19  import org.kuali.kpme.pm.api.position.PositionDerivedContract;
20  
21  public abstract class PositionDerived extends HrBusinessObjectDerived<PositionBo> implements PositionDerivedContract {
22  
23  	private static final long serialVersionUID = -4500160649209884023L;
24  	
25  	protected String hrPositionId;
26  	
27  	@Override
28  	public String getHrPositionId() {
29  		return hrPositionId;
30  	}
31  
32  	public void setHrPositionId(String hrPositionId) {
33  		this.hrPositionId = hrPositionId;
34  	}
35  	
36  	@Override
37  	public PositionBo getOwner() {
38  		return super.getOwner();
39  	}
40  	
41  	public void setOwner(PositionBo owner) {
42  		super.setOwner(owner);
43  	}
44  	
45  	public String getOwnerId() {
46  		return this.getHrPositionId();
47  	}
48  	
49  	public void setOwnerId(String ownerId) {
50  		this.setHrPositionId(ownerId);
51  	}
52  }