View Javadoc

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
13   * implied.  See the License for the specific language governing
14   * permissions and limitations under the License.
15   */
16  package org.kuali.student.r2.common.util.constants;
17  
18  import org.kuali.student.enrollment.grading.dto.GradeRosterEntryInfo;
19  import org.kuali.student.enrollment.grading.dto.GradeRosterInfo;
20  import org.kuali.student.enrollment.grading.dto.GradeValuesGroupInfo;
21  import org.kuali.student.r2.common.constants.CommonServiceConstants;
22  
23  /**
24   * Grading Service Constants
25   */
26  public class GradingServiceConstants {
27  
28      public static final String NAMESPACE = CommonServiceConstants.REF_OBJECT_URI_GLOBAL_PREFIX + "grading";
29      public static final String SERVICE_NAME_LOCAL_PART = "GradingService";
30      public static final String REF_OBJECT_URI_GRADE_ROSTER = NAMESPACE + "/" + GradeRosterInfo.class.getSimpleName();
31      public static final String REF_OBJECT_URI_GRADE_ROSTER_ENTRY = NAMESPACE + "/" + GradeRosterEntryInfo.class.getSimpleName();
32      public static final String REF_OBJECT_URI_GRADE_VALUES_GROUP = NAMESPACE + "/" + GradeValuesGroupInfo.class.getSimpleName();    
33      // grade values group type keys
34      public static final String  RESULT_VALUE_NUMBER_GRADE_TYPE = "kuali.lrc.type.number.grade";
35      
36      public static final String RESULT_VALUE_LETTER_GRADE_TYPE  = "kuali.lrc.type.letter.grade";
37      
38      public static final String RESULT_VALUE_CREDIT_TYPE  = "kuali.lrc.type.credit";
39  }