Coverage Report - org.kuali.student.r2.common.util.constants.AcademicCalendarServiceConstants
 
Classes in this File Line Coverage Branch Coverage Complexity
AcademicCalendarServiceConstants
0%
0/8
N/A
0
 
 1  
 /**
 2  
  * Copyright 2011 The Kuali Foundation Licensed under the
 3  
  * Educational Community License, Version 2.0 (the "License"); you may
 4  
  * not use this file except in compliance with the License. You may
 5  
  * obtain a copy of the License at
 6  
  *
 7  
  * http://www.osedu.org/licenses/ECL-2.0
 8  
  *
 9  
  * Unless required by applicable law or agreed to in writing,
 10  
  * software distributed under the License is distributed on an "AS IS"
 11  
  * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
 12  
  * or implied. See the License for the specific language governing
 13  
  * permissions and limitations under the License.
 14  
  */
 15  
 package org.kuali.student.r2.common.util.constants;
 16  
 
 17  
 import org.kuali.student.enrollment.acal.dto.AcademicCalendarInfo;
 18  
 import org.kuali.student.enrollment.acal.dto.CampusCalendarInfo;
 19  
 import org.kuali.student.enrollment.acal.dto.HolidayInfo;
 20  
 import org.kuali.student.enrollment.acal.dto.KeyDateInfo;
 21  
 import org.kuali.student.enrollment.acal.dto.RegistrationDateGroupInfo;
 22  
 import org.kuali.student.enrollment.acal.dto.TermInfo;
 23  
 
 24  
 /**
 25  
  * This class holds the constants used by the Academic Calendar service
 26  
  *
 27  
  * @author tom
 28  
  */
 29  0
 public class AcademicCalendarServiceConstants {
 30  
 
 31  
     /**
 32  
      * Reference Object URI's
 33  
      */
 34  
     public static final String NAMESPACE = CommonServiceConstants.REF_OBJECT_URI_GLOBAL_PREFIX + "academiccalendar";
 35  0
     public static final String REF_OBJECT_URI_TERM = NAMESPACE + "/" + TermInfo.class.getSimpleName();
 36  0
     public static final String REF_OBJECT_URI_ACADEMIC_CALENDAR = NAMESPACE + "/" + AcademicCalendarInfo.class.getSimpleName();
 37  0
     public static final String REF_OBJECT_URI_CAMPUS_CALENDAR = NAMESPACE + "/" + CampusCalendarInfo.class.getSimpleName();
 38  0
     public static final String REF_OBJECT_URI_HOLIDAY = NAMESPACE + "/" + HolidayInfo.class.getSimpleName();
 39  0
     public static final String REF_OBJECT_URI_KEY_DATE = NAMESPACE + "/" + KeyDateInfo.class.getSimpleName();
 40  0
     public static final String REF_OBJECT_URI_ENROLLMENT_DATE_GROUP = NAMESPACE + "/" + RegistrationDateGroupInfo.class.getSimpleName();
 41  
     /**
 42  
      * Academic Calendar Types
 43  
      */
 44  
     public static final String ACADEMIC_CALENDAR_TYPE_KEY = AtpServiceConstants.ATP_ACADEMIC_CALENDAR_TYPE_KEY;
 45  
     public static final String CAMPUS_CALENDAR_TYPE_KEY = AtpServiceConstants.ATP_CAMPUS_CALENDAR_TYPE_KEY;
 46  
     /**
 47  
      * Registration Date Groups
 48  
      */
 49  
     public static final String REGISTRATION_PERIOD_TYPE_KEY = AtpServiceConstants.MILESTONE_REGISTRATION_PERIOD_TYPE_KEY;
 50  
     public static final String ADD_DATE_TYPE_KEY = AtpServiceConstants.MILESTONE_COURSE_SELECTION_PERIOD_END_TYPE_KEY;
 51  
     public static final String DROP_DATE_TYPE_KEY = AtpServiceConstants.MILESTONE_DROP_DATE_TYPE_KEY;
 52  
     public static final String CLASSES_TYPE_KEY = AtpServiceConstants.MILESTONE_INSTRUCTIONAL_PERIOD_TYPE_KEY;
 53  
     public static final String FINAL_EXAM_PERIOD_TYPE_KEY = AtpServiceConstants.MILESTONE_FINAL_EXAM_PERIOD_TYPE_KEY;
 54  
     // TODO: Map to Grading Start Date periods
 55  
     // public static final String GRADING_PERIOD_START_TYPE_KEY = ????
 56  
     public static final String GRADING_PERIOD_END_TYPE_KEY = AtpServiceConstants.MILESTONE_GRADES_DUE_TYPE_KEY;
 57  
 
 58  
     /**
 59  
      * Academic Calendar Process
 60  
      */
 61  
     public static final String ACADEMIC_CALENDAR_PROCESS_KEY = AtpServiceConstants.ATP_PROCESS_KEY;
 62  
     public static final String ACADEMIC_CALENDAR_DRAFT_STATE_KEY = AtpServiceConstants.ATP_DRAFT_STATE_KEY;
 63  
     public static final String ACADEMIC_CALENDAR_OFFICIAL_STATE_KEY = AtpServiceConstants.ATP_OFFICIAL_STATE_KEY;
 64  0
     public static final String[] ACADEMIC_CALENDAR_PROCESS_STATE_KEYS = {ACADEMIC_CALENDAR_DRAFT_STATE_KEY, ACADEMIC_CALENDAR_OFFICIAL_STATE_KEY};
 65  
 }