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.api.classification.duty;
17  
18  import java.math.BigDecimal;
19  
20  import org.kuali.rice.krad.bo.PersistableBusinessObject;
21  
22  /**
23   * <p>ClassificationDutyContract interface</p>
24   *
25   */
26  public interface ClassificationDutyContract extends PersistableBusinessObject {
27  
28  	/**
29  	 * The Primary Key that a ClassificationDuty record will be saved to a database with
30  	 * 
31  	 * <p>
32  	 * pmDutyId of a ClassificationDuty.
33  	 * <p>
34  	 * 
35  	 * @return pmDutyId for ClassificationDuty
36  	 */
37  	public String getPmDutyId();
38  
39  	/**
40  	 * The short name of the duty associated with the ClassificationDuty
41  	 * 
42  	 * <p>
43  	 * name of a ClassificationDuty.
44  	 * <p>
45  	 * 
46  	 * @return name for ClassificationDuty
47  	 */
48  	public String getName();
49  	
50  	/**
51  	 * The text area used for detailed description of the Duty
52  	 * 
53  	 * <p>
54  	 * description of a ClassificationDuty.
55  	 * <p>
56  	 * 
57  	 * @return description for ClassificationDuty
58  	 */
59  	public String getDescription();
60  	
61  	/**
62  	 * The percent of time performing the specified duty
63  	 * 
64  	 * <p>
65  	 * percentage of a ClassificationDuty.
66  	 * <p>
67  	 * 
68  	 * @return percentage for ClassificationDuty
69  	 */
70  	public BigDecimal getPercentage();
71  	
72  	/**
73  	 * The position class id associated with the ClassificationDuty
74  	 * 
75  	 * <p>
76  	 * pmPositionClassId of a ClassificationDuty.
77  	 * <p>
78  	 * 
79  	 * @return pmPositionClassId for ClassificationDuty
80  	 */
81  	public String getPmPositionClassId();
82  
83  }