Clover Coverage Report - Kuali Student 1.2-M4-SNAPSHOT (Aggregated)
Coverage timestamp: Wed Jul 20 2011 11:14:35 EDT
0   45   0   -
0   19   -   0
0     -  
1    
 
  ProgramClientConstants       Line # 25 0 - 0 0 - -1.0
 
No Tests
 
1    /*
2    * Copyright 2007 The Kuali Foundation
3    *
4    * Licensed under the Educational Community License, Version 1.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * 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.lum.program.client;
17   
18    import java.util.Arrays;
19    import java.util.Set;
20    import java.util.TreeSet;
21   
22    /**
23    * Constants needed for retrieval of different program types
24    */
 
25    public class ProgramClientConstants {
26   
27    public static final String CREDENTIAL_PROGRAM_ID_TYPE = "credentialProgramIdType";
28   
29    public static final String CREDENTIAL_BACCALAUREATE_PROGRAM = "kuali.lu.type.credential.Baccalaureate";
30    public static final String CREDENTIAL_MASTERS_PROGRAM = "kuali.lu.type.credential.Masters";
31    public static final String CREDENTIAL_PROFESSIONAL_PROGRAM = "kuali.lu.type.credential.Professional";
32    public static final String CREDENTIAL_DOCTORAL_PROGRAM = "kuali.lu.type.credential.Doctoral";
33    public static final String CREDENTIAL_UNDERGRADUATE_CERTIFICATE = "kuali.lu.type.credential.UndergraduateCertificate";
34    public static final String CREDENTIAL_GRADUATE_CERTIFICATE = "kuali.lu.type.credential.GraduateCertificate";
35   
36    public static final String[] CREDENTIAL_PROGRAM = { CREDENTIAL_BACCALAUREATE_PROGRAM, CREDENTIAL_MASTERS_PROGRAM,
37    CREDENTIAL_PROFESSIONAL_PROGRAM, CREDENTIAL_DOCTORAL_PROGRAM,
38    CREDENTIAL_UNDERGRADUATE_CERTIFICATE, CREDENTIAL_GRADUATE_CERTIFICATE };
39   
40    // used for testing credentialProgramType
41    public static final Set<String> CREDENTIAL_PROGRAM_TYPES = new TreeSet<String>(Arrays.asList(CREDENTIAL_PROGRAM));
42   
43    public static final String CORE_PROGRAM = "kuali.lu.type.CoreProgram";
44    public static final String MAJOR_PROGRAM = "kuali.lu.type.MajorDiscipline";
45    }