Coverage Report - org.kuali.student.common.util.constants.LuiPersonRelationServiceConstants
 
Classes in this File Line Coverage Branch Coverage Complexity
LuiPersonRelationServiceConstants
87%
7/8
N/A
0
 
 1  
 /*
 2  
  * Copyright 2011 The Kuali Foundation
 3  
  *
 4  
  * Licensed under the Educational Community License, Version 1.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.opensource.org/licenses/ecl1.php
 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 implied.
 13  
  * See the License for the specific language governing permissions and
 14  
  * limitations under the License.
 15  
  */
 16  
 package org.kuali.student.common.util.constants;
 17  
 
 18  
 import org.kuali.student.enrollment.lpr.dto.LuiPersonRelationInfo;
 19  
 
 20  
 /**
 21  
  * Constants used by for LuiPersonRelationService
 22  
  *
 23  
  * @author nwright
 24  
  */
 25  0
 public class LuiPersonRelationServiceConstants {
 26  
 
 27  
     /**
 28  
      * Reference Object URI's
 29  
      */
 30  
     public static final String NAMESPACE = CommonServiceConstants.REF_OBJECT_URI_GLOBAL_PREFIX + "luiPersonRelation";
 31  1
     public static final String REF_OBJECT_URI_LUI_PERSON_RELATION = NAMESPACE + "/" + LuiPersonRelationInfo.class.getSimpleName();
 32  
     /**
 33  
      * Types and knowns groups of types
 34  
      */
 35  
     public static final String INSTRUCTOR_MAIN_TYPE_KEY = "kuali.lpr.type.instructor.main";
 36  
     public static final String INSTRUCTOR_ASSISTANT_TYPE_KEY = "kuali.lpr.type.instructor.assistant";
 37  
     public static final String INSTRUCTOR_SUPPORT_TYPE_KEY = "kuali.lpr.type.instructor.support";
 38  
     public static final String REGISTRANT_TYPE_KEY = "kuali.lpr.type.student";
 39  
     public static final String ENROLLEE_TYPE_KEY = "kuali.lpr.type.enrollee";
 40  
     public static final String ADVISOR_TYPE_KEY = "kuali.lpr.type.advisor";
 41  1
     public static final String[] COURSE_INSTRUCTOR_TYPE_KEYS = {INSTRUCTOR_MAIN_TYPE_KEY, INSTRUCTOR_ASSISTANT_TYPE_KEY, INSTRUCTOR_SUPPORT_TYPE_KEY};
 42  1
     public static final String[] COURSE_STUDENT_TYPE_KEYS = {REGISTRANT_TYPE_KEY};
 43  
     /**
 44  
      * Student states to courses
 45  
      */
 46  
     public static final String PLANNED_STATE_KEY = "kuali.lpr.state.planned";
 47  
     public static final String REGISTERED_STATE_KEY = "kuali.lpr.state.registered ";
 48  
     public static final String WAITLISTED_STATE_KEY = "kuali.lpr.state.waitlisted";
 49  
     public static final String DROPPED_STATE_KEY = "kuali.lpr.state.dropped.early";
 50  
     public static final String DROPPED_LATE_STATE_KEY = "kuali.lpr.state.dropped.late";
 51  
     /**
 52  
      * Instructor states
 53  
      */
 54  
     public static final String TENATIVE_STATE_KEY = "kuali.lpr.state.tentative";
 55  
     public static final String ASSIGNED_STATE_KEY = "kuali.lpr.state.assigned";
 56  
     public static final String UNASSIGNED_STATE_KEY = "kuali.lpr.state.unassigned";
 57  
     /**
 58  
      * Program states
 59  
      */
 60  
     public static final String INQUIRED_STATE_KEY = "kuali.lpr.state.inquired";
 61  
     public static final String APPLIED_STATE_KEY = "kuali.lpr.state.applied";
 62  
     public static final String ADMITTED_STATE_KEY = "kuali.lpr.state.admitted ";
 63  
     public static final String DENIED_STATE_KEY = "kuali.lpr.state.denied";
 64  
     public static final String CONFIRMED_STATE_KEY = "kuali.lpr.state.confirmed";
 65  
     public static final String CANCELED_STATE_KEY = "kuali.lpr.state.canceled";
 66  
     public static final String DEFERED_STATE_KEY = "kuali.lpr.state.defered";
 67  
     public static final String ENROLLED_STATE_KEY = "kuali.lpr.state.enrolled";
 68  
     public static final String TEMPORARY_ABSENCE_STATE_KEY = "kuali.lpr.state.temp.absence";
 69  
     public static final String WITHDRAWN_STATE_KEY = "kuali.lpr.state.withdrawn";
 70  
     public static final String PROBATION_STATE_KEY = "kuali.lpr.state.probation";
 71  
     /**
 72  
      * States used for isntructors of courses
 73  
      */
 74  1
     public static final String[] COURSE_INSTRUCTOR_STATE_KEYS = {TENATIVE_STATE_KEY, ASSIGNED_STATE_KEY, UNASSIGNED_STATE_KEY};
 75  
     /**
 76  
      * Types used for students in courses
 77  
      */
 78  1
     public static final String[] COURSE_STUDENT_STATE_KEYS = {PLANNED_STATE_KEY, REGISTERED_STATE_KEY, WAITLISTED_STATE_KEY, DROPPED_STATE_KEY, DROPPED_LATE_STATE_KEY};
 79  
     /**
 80  
      * States used for instructors of PROGRAMS
 81  
      */
 82  1
     public static final String[] PROGRAM_ADVISOR_STATE_KEYS = {TENATIVE_STATE_KEY, ASSIGNED_STATE_KEY, UNASSIGNED_STATE_KEY};
 83  
     /**
 84  
      * Types used for students in PROGRAMS
 85  
      */
 86  1
     public static final String[] PROGRAM_STUDENT_STATE_KEYS = {PLANNED_STATE_KEY, INQUIRED_STATE_KEY, APPLIED_STATE_KEY, WAITLISTED_STATE_KEY, DENIED_STATE_KEY, CONFIRMED_STATE_KEY, CANCELED_STATE_KEY, DEFERED_STATE_KEY, ENROLLED_STATE_KEY, TEMPORARY_ABSENCE_STATE_KEY, WITHDRAWN_STATE_KEY, PROBATION_STATE_KEY};
 87  
 }