View Javadoc

1   /*
2    * Copyright 2010 The Kuali Foundation 
3    *
4    * Licensed under the Educational Community License, Version 2.0 (the
5    * "License"); you may not use this file except in compliance with the
6    * License. You may obtain a copy of the License at
7    *
8    * http://www.osedu.org/licenses/ECL-2.0
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
13   * implied. See the License for the specific language governing
14   * permissions and limitations under the License.
15   */
16  
17  package org.kuali.student.enrollment.courseoffering.infc;
18   
19  import org.kuali.student.r2.common.infc.HasId;
20  import org.kuali.student.r2.common.infc.TypeStateEntity;
21  
22  /**
23   * Information about a potential instructor for a LUI (learning unit
24   * instance). These are built from Lui Person Relations with
25   * instructor type
26   */ 
27  
28  public interface OfferingInstructor 
29      extends TypeStateEntity, HasId {
30          
31      /**
32       * Unique identifier for a person record.
33       *
34       * @name Person Id
35       * @impl lpr.personId
36       */
37      public String getPersonId();
38      
39      /**
40       * Percentage involvement of the instructor in the activity.
41       *
42       * @name Percentage Effort
43       * @impl maps to lpr.commitmentPercent
44       */
45      public Float getPercentageEffort();
46  
47      /**
48       * Name of the instructor.
49       *
50       * @name Person Name
51       * @impl Get from Person Service
52       * @readOnly
53       */
54      public String getPersonName();
55  }