View Javadoc

1   /*
2    * Copyright 2011 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.courseregistration.infc;
18  
19  import org.kuali.student.r2.common.infc.Relationship;
20  
21  /**
22   * An ActivityRegistration represents a single ActivityOffering within
23   * the CourseOffering for which the student
24   * registered. ActivityRegistrations are created as a result of a
25   * student registration (submisison of a RegistrationRequest) to a
26   * RegistrationGroup.
27   *
28   * An ActivityRegistration will be generated for every
29   * ActivityOffering defined in the RegistrationGroup.
30   * 
31   * @author Kuali Student Team
32   */
33  
34  public interface ActivityRegistration 
35      extends Relationship {
36  
37      /**
38       * The person Id for this registration.
39       * 
40       * @name Student Id
41       * @readOnly
42       * @required
43       * @impl Lpr.personId
44       */
45      public String getStudentId();
46  
47      /**
48       * The ActivityOffering Id.
49       * 
50       * @name ActivityOffering Id
51       * @readOnly
52       * @required
53       * @impl Lpr.luiId
54       */
55      public String getActivityOfferingId();
56  }