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