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.api.position;
17
18 import java.math.BigDecimal;
19
20 import org.kuali.rice.krad.bo.PersistableBusinessObject;
21
22 /**
23 * <p>PositionDutyContract interface</p>
24 *
25 */
26 public interface PositionDutyContract extends PersistableBusinessObject {
27
28 /**
29 * The primary key for a PositionDuty entry saved in the database
30 *
31 * <p>
32 * pmDutyId of a PositinDuty.
33 * <p>
34 *
35 * @return pmDutyId for PositinDuty
36 */
37 public String getPmDutyId();
38
39 /**
40 * The name associated with the PositionDuty
41 *
42 * <p>
43 * name of a PositionDuty
44 * <p>
45 *
46 * @return name for PositionDuty
47 */
48 public String getName();
49
50 /**
51 * The description associated with the PositionDuty
52 *
53 * <p>
54 * description of a PositionDuty.
55 * <p>
56 *
57 * @return description for PositionDuty
58 */
59 public String getDescription();
60
61 /**
62 * The percentage associated with the PositionDuty
63 *
64 * <p>
65 * percentage of a PositionDuty.
66 * <p>
67 *
68 * @return percentage for PositionDuty
69 */
70 public BigDecimal getPercentage();
71
72 /**
73 * The HR position id associated with the PositionDuty
74 *
75 * <p>
76 * hrPositionId of a PositionDuty.
77 * <p>
78 *
79 * @return hrPositionId for PositionDuty
80 */
81 public String getHrPositionId();
82
83 }