001/** 002 * Copyright 2014 The Kuali Foundation Licensed under the 003 * Educational Community License, Version 2.0 (the "License"); you may 004 * not use this file except in compliance with the License. You may 005 * obtain a copy of the License at 006 * 007 * http://www.osedu.org/licenses/ECL-2.0 008 * 009 * Unless required by applicable law or agreed to in writing, 010 * software distributed under the License is distributed on an "AS IS" 011 * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express 012 * or implied. See the License for the specific language governing 013 * permissions and limitations under the License. 014 * 015 * Created by mahtabme on 2/20/14 016 */ 017package org.kuali.student.enrollment.coursewaitlist.infc; 018 019 020/** 021 * Represents a course wait list position of a course waitlist entry. 022 * 023 * @author Mezba Mahtab 024 */ 025public interface WaitListPosition { 026 027 /** 028 * The Id of the CourseWaitListEntry whose position this WaitListPosition is. 029 * @readOnly 030 * @required 031 */ 032 String getCourseWaitListEntryId(); 033 034 /** 035 * The position of the waitlist entry. 036 * @readOnly 037 * @required 038 */ 039 Integer getPosition(); 040 041 /** 042 * The total number of entries on the waitlist. 043 * @readOnly 044 * @required 045 */ 046 Integer getTotal(); 047 048}