View Javadoc

1   /*
2    * Copyright 2012 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.r2.core.constants;
18  
19  import org.kuali.student.r2.common.constants.CommonServiceConstants;
20  import org.kuali.student.r2.core.fee.dto.EnrollmentFeeInfo;
21  
22  /**
23   * This class holds the constants used by the Fee service.
24   *
25   * @author tom
26   */
27  
28  public class FeeServiceConstants {
29  
30      /**
31       * Reference Object URI's
32       */
33      public static final String SERVICE_NAME_LOCAL_PART = "FeeService";
34      public static final String NAMESPACE = CommonServiceConstants.REF_OBJECT_URI_GLOBAL_PREFIX + "fee";
35      public static final String REF_OBJECT_URI_FEE = NAMESPACE + "/" + EnrollmentFeeInfo.class.getSimpleName();
36  
37      /**
38       * Fee types. (these type keys used in CM)
39       */
40      public static final String FEE_KEY_PREFIX = "kuali.enum.type.feeTypes";
41      public static final String FEE_ENROLLMENT_TYPE_KEY = "kuali.enum.type.feeTypes.enrollmentFee";
42      public static final String FEE_LAB_TYPE_KEY = "kuali.enum.type.feeTypes.labFee";
43      public static final String FEE_MATERIAL_TYPE_KEY = "kuali.enum.type.feeTypes.materialFee";
44      public static final String FEE_STUDIO_TYPE_KEY = "kuali.enum.type.feeTypes.studioFee";
45      public static final String FEE_FIELD_TRIP_TYPE_KEY = "kuali.enum.type.feeTypes.fieldTripFee";
46      public static final String FEE_FIELD_STUDY_TYPE_KEY = "kuali.enum.type.feeTypes.fieldStudyFee";
47      public static final String FEE_ADMIN_TYPE_KEY = "kuali.enum.type.feeTypes.administrativeFee";
48      public static final String FEE_COOP_TYPE_KEY = "kuali.enum.type.feeTypes.coopFee";
49      public static final String FEE_GREENS_TYPE_KEY = "kuali.enum.type.feeTypes.greensFee";
50  
51      /**
52       * States for Fees.
53       */
54      public static final String FEE_PROCESS_KEY = "kuali.fee.process.fee";
55      public static final String FEE_ACTIVE_STATE_KEY = "kuali.fee.state.active";
56      public static final String FEE_INACTIVE_STATE_KEY = "kuali.fee.state.inactive";
57      public static final String[] FEE_PROCESS_KEYS = {FEE_ACTIVE_STATE_KEY,
58                                                       FEE_INACTIVE_STATE_KEY};
59  }