View Javadoc

1   /*
2    * Copyright 2008 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.r2.lum.program.service.assembler;
17  
18  import java.util.Arrays;
19  import java.util.Set;
20  import java.util.TreeSet;
21  
22  import org.kuali.student.r2.common.dto.DtoConstants;
23  
24  /**
25   * These are the constants that are used in the programs.
26   * 
27   * They should match the definitions defined in the wiki See
28   * https://test.kuali.org/confluence/display/KULSTG/Types+Used+by+Programs
29   * 
30   * @author nwright
31   */
32  public class ProgramAssemblerConstants {
33  
34  	// clu types
35  	public static final String BACCALAUREATE_PROGRAM = "kuali.lu.type.credential.Baccalaureate";
36  	public static final String MASTERS_PROGRAM = "kuali.lu.type.credential.Masters";
37  	public static final String PROFESSIONAL_PROGRAM = "kuali.lu.type.credential.Professional";
38      public static final String DOCTORAL_PROGRAM = "kuali.lu.type.credential.Doctoral";
39  	public static final String UNDERGRADUATE_CERTIFICATE = "kuali.lu.type.credential.UndergraduateCertificate";
40  	public static final String GRADUATE_CERTIFICATE = "kuali.lu.type.credential.GraduateCertificate";
41  
42  	public static final String[] CREDENTIAL_PROGRAM = { BACCALAUREATE_PROGRAM,
43  								MASTERS_PROGRAM, PROFESSIONAL_PROGRAM, DOCTORAL_PROGRAM,
44  								UNDERGRADUATE_CERTIFICATE, GRADUATE_CERTIFICATE };
45  
46  	// used for testing credentialProgramType
47      public static final Set<String> CREDENTIAL_PROGRAM_TYPES = new TreeSet<String>(Arrays.asList(CREDENTIAL_PROGRAM));
48  
49  	public static final String UNDERGRAD_PROGRAM_LEVEL = "kuali.lu.program.level.UnderGraduate";
50  	public static final String GRADUATE_PROGRAM_LEVEL = "kuali.lu.program.level.Graduate";
51  	
52  	public static final String MAJOR_DISCIPLINE = "kuali.lu.type.MajorDiscipline";
53  	public static final String PROGRAM_VARIATION = "kuali.lu.type.Variation";
54  	public static final String MINOR_DISCIPLINE = "kuali.lu.type.MinorDiscipline";
55  	public static final String CORE_PROGRAM = "kuali.lu.type.CoreProgram";
56  	public static final String HONORS_PROGRAM = "kuali.lu.type.Honors";
57  	public static final String PROGRAM_REQUIREMENT = "kuali.lu.type.Requirement";
58  
59  	// clu states
60  	public static final String[] LATEST_STATES = { DtoConstants.STATE_ACTIVE, DtoConstants.STATE_SUSPENDED, DtoConstants.STATE_RETIRED };
61  
62  	// clu identifier types
63  	public static final String OFFICIAL = "kuali.lu.type.program.identifier.official";
64  	public static final String TRANSCRIPT = "kuali.lu.type.program.identifier.transcript";
65  	public static final String DIPLOMA = "kuali.lu.type.program.identifier.diploma";
66  
67  	// clu-clu relation types
68  	public static final String HAS_CORE_PROGRAM = "kuali.lu.lu.relation.type.hasCoreProgram";
69  	public static final String HAS_PROGRAM_VARIATION = "kuali.lu.lu.relation.type.hasVariationProgram";
70  	public static final String HAS_MAJOR_PROGRAM = "kuali.lu.lu.relation.type.hasMajorProgram";
71  	public static final String HAS_PROGRAM_REQUIREMENT = "kuali.lu.lu.relation.type.hasProgramRequirement";
72  
73  	// lucode types
74  	public static final String CIP_2000 = "kuali.lu.code.CIP2000";
75  	public static final String CIP_2010 = "kuali.lu.code.CIP2010";
76  	public static final String HEGIS = "kuali.lu.code.HEGIS";
77  	public static final String UNIVERSITY_CLASSIFICATION = "kuali.lu.code.UniversityClassification";
78  	public static final String SELECTIVE_ENROLLMENT = "kuali.lu.code.SelectiveEnrollment";
79  
80  	// publication types
81  	public static final String CATALOG = "kuali.lu.publication.Catalog";
82  	public static final String CATALOG_DESCR = "cluInfo.descr";
83  
84      // adminorg types
85      public static final String CURRICULUM_OVERSIGHT_DIVISION = "kuali.adminOrg.type.CurriculumOversightDivision";
86      public static final String STUDENT_OVERSIGHT_DIVISION = "kuali.adminOrg.type.StudentOversightDivision";
87      public static final String DEPLOYMENT_DIVISION = "kuali.adminOrg.type.DeploymentDivision";
88      public static final String FINANCIAL_RESOURCES_DIVISION = "kuali.adminOrg.type.FinancialResourcesDivision";
89  //    public static final String FINANCIAL_OVERSIGHT_DIVISION = "kuali.adminOrg.type.FinancialOversightDivision";
90      public static final String FINANCIAL_CONTROL_DIVISION = "kuali.adminOrg.type.FinancialControlDivision";
91      public static final String CURRICULUM_OVERSIGHT_UNIT = "kuali.adminOrg.type.CurriculumOversightUnit";
92      public static final String STUDENT_OVERSIGHT_UNIT = "kuali.adminOrg.type.StudentOversightUnit";
93      public static final String DEPLOYMENT_UNIT = "kuali.adminOrg.type.DeploymentUnit";
94      public static final String FINANCIAL_RESOURCES_UNIT = "kuali.adminOrg.type.FinancialResourcesUnit";
95      public static final String FINANCIAL_CONTROL_UNIT = "kuali.adminOrg.type.FinancialControlUnit";
96      public static final String INSTITUTION = "kuali.adminOrg.type.Institution";
97  //    public static final String FINANCIAL_OVERSIGHT_UNIT = "kuali.adminOrg.type.FinancialOversightUnit";
98  
99      // cluResult Types
100     public static final String DEGREE_RESULTS = "kuali.resultType.degree";
101     public static final String CERTIFICATE_RESULTS = "kuali.resultType.certificate";
102     public static final String ANNOTATION_RESULTS = "kuali.resultType.annotation";
103     public static final String COMPLETION_RESULTS = "kuali.resultType.completion";
104     
105     // 	 resultOptionInfo Types
106     public static final String DEGREE_AWARDED = "kuali.resultUsageType.DegreeAwarded ";
107     public static final String CERTIFICATE_AWARDED = "kuali.resultUsageType.CertificateAwarded ";
108 
109 	// FIXME ask norm about this value
110 	public static final String PROGRAM_REFERENCE_TYPE = "kuali.referenceType.CLU";
111     
112     //Program Requirements
113     public static final String MIN_CREDITS = "minCredits";
114     public static final String MAX_CREDITS = "maxCredits";
115 }