Coverage Report - org.kuali.student.r2.common.util.constants.PopulationServiceConstants
 
Classes in this File Line Coverage Branch Coverage Complexity
PopulationServiceConstants
0%
0/5
N/A
0
 
 1  
 /**
 2  
  * Copyright 2011 The Kuali Foundation Licensed under the
 3  
  * Educational Community License, Version 2.0 (the "License"); you may
 4  
  * not use this file except in compliance with the License. You may
 5  
  * obtain a copy of the License at
 6  
  *
 7  
  * http://www.osedu.org/licenses/ECL-2.0
 8  
  *
 9  
  * Unless required by applicable law or agreed to in writing,
 10  
  * software distributed under the License is distributed on an "AS IS"
 11  
  * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
 12  
  * or implied. See the License for the specific language governing
 13  
  * permissions and limitations under the License.
 14  
  */
 15  
 package org.kuali.student.r2.common.util.constants;
 16  
 
 17  
 import org.kuali.student.r2.common.constants.CommonServiceConstants;
 18  
 import org.kuali.student.r2.core.population.dto.PopulationInfo;
 19  
 import org.kuali.student.r2.core.population.dto.PopulationRuleInfo;
 20  
 
 21  
 /**
 22  
  * This class holds the constants used by the Population service.
 23  
  *
 24  
  * @author tom
 25  
  */
 26  0
 public class PopulationServiceConstants {
 27  
 
 28  
     /**
 29  
      * Reference Object URI's
 30  
      */
 31  
     public static final String NAMESPACE = CommonServiceConstants.REF_OBJECT_URI_GLOBAL_PREFIX + "population";
 32  0
     public static final String REF_OBJECT_URI_POPULATION = NAMESPACE + "/" + PopulationInfo.class.getSimpleName();
 33  0
     public static final String REF_OBJECT_URI_POPULATION_RULE = NAMESPACE + "/" + PopulationRuleInfo.class.getSimpleName();
 34  
     /**
 35  
      * Population types
 36  
      */
 37  
     public static final String POPULATION_TYPE_KEY = "kuali.population.type.population";
 38  
     /**
 39  
      * PopulationRule types
 40  
      */
 41  
     public static final String POPULATION_RULE_TYPE_KEY = "kuali.population.type.population.rule";
 42  
     /**
 43  
      * States for Populations
 44  
      */
 45  
     public static final String POPULATION_LIFECYCLE_KEY = "kuali.population.population.lifecycle";
 46  
     public static final String POPULATION_ACTIVE_STATE_KEY = "kuali.population.population.state.active";
 47  
     public static final String POPULATION_INACTIVE_STATE_KEY = "kuali.population.population.state.inactive";
 48  0
     public static final String[] POPULATION_LIFECYCLE_KEYS = {
 49  
         POPULATION_ACTIVE_STATE_KEY,
 50  
         POPULATION_INACTIVE_STATE_KEY
 51  
     };
 52  
     /**
 53  
      * States for Population Rule
 54  
      */
 55  
     public static final String POPULATION_RULE_LIFECYCLE_KEY = "kuali.population.population.rule.lifecycle";
 56  
     public static final String POPULATION_RULE_ACTIVE_STATE_KEY = "kuali.population.population.rule.state.active";
 57  
     public static final String POPULATION_RULE_INACTIVE_STATE_KEY = "kuali.population.population.rule.state.inactive";
 58  0
     public static final String[] POPULATION_RULE_LIFECYCLE_KEYS = {
 59  
         POPULATION_RULE_ACTIVE_STATE_KEY,
 60  
         POPULATION_RULE_INACTIVE_STATE_KEY
 61  
     };
 62  
     /**
 63  
      * known population keys
 64  
      */
 65  
     public static final String SUMMER_ONLY_STUDENTS_POPULATION_KEY = "kuali.population.summer.only.student";
 66  
     public static final String EVERYONE_POPULATION_KEY = "kuali.population.everyone";
 67  
 }