Coverage Report - org.kuali.student.enrollment.courseregistration.infc.RegistrationResponseItem
 
Classes in this File Line Coverage Branch Coverage Complexity
RegistrationResponseItem
N/A
N/A
1
 
 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.HasAttributesAndMeta;
 20  
 import org.kuali.student.r2.common.infc.OperationStatus;
 21  
 
 22  
 /**
 23  
  * A response to an individual RegistrationRequestItem.  A response
 24  
  * may result in a CourseRegistration or a position on a course
 25  
  * waitlist, or just return the error messages.
 26  
  * 
 27  
  * @author Kuali Student Team (sambit)
 28  
  */
 29  
 
 30  
 public interface RegistrationResponseItem {
 31  
     
 32  
     /**
 33  
      * Gets the RegistrationRequestItem to which this item is a
 34  
      * response.
 35  
      * 
 36  
      * @name Registration Request Item
 37  
      * @readOnly
 38  
      * @required
 39  
      */
 40  
     public String getRegistrationRequestItemId();
 41  
 
 42  
     /**
 43  
      * Get the operation status info for the registration item.
 44  
      * 
 45  
      * @name Operation Status
 46  
      */
 47  
     public OperationStatus getOperationStatus();
 48  
 
 49  
     /**
 50  
      * Gets the course registration (if any) that resulted from this
 51  
      * registration transaction.
 52  
      * 
 53  
      * @name Course Registration Id
 54  
      */
 55  
     public String getCourseRegistrationId();
 56  
 
 57  
     /**
 58  
      * Gets the waitlist entry (if any) that resulted from this
 59  
      * registration transaction.
 60  
      * 
 61  
      * @name Course Waitlist Entry Id
 62  
      */
 63  
     public String getCourseWaitlistEntryId();
 64  
 }