View Javadoc

1   package org.kuali.student.enrollment.class2.courseoffering.keyvalue;
2   
3   /*
4    * Copyright 2007 The Kuali Foundation
5    *
6    * Licensed under the Educational Community License, Version 1.0 (the "License");
7    * you may not use this file except in compliance with the License.
8    * You may obtain a copy of the License at
9    *
10   * http://www.opensource.org/licenses/ecl1.php
11   *
12   * Unless required by applicable law or agreed to in writing, software
13   * distributed under the License is distributed on an "AS IS" BASIS,
14   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15   * See the License for the specific language governing permissions and
16   * limitations under the License.
17   */
18  
19  
20  import org.kuali.rice.core.api.util.ConcreteKeyValue;
21  import org.kuali.rice.core.api.util.KeyValue;
22  import org.kuali.rice.krad.keyvalues.KeyValuesBase;
23  
24  import java.io.Serializable;
25  import java.util.ArrayList;
26  import java.util.List;
27  
28  /**
29   * @deprecated This class is leftover from Core Slice. Delete when no longer needed or un deprecate if needed.
30   */
31  @Deprecated
32  public class ScheduleClassesTermKeyValues extends KeyValuesBase implements Serializable {
33  
34      private static final long serialVersionUID = 1L;
35     
36      @Override
37      public List<KeyValue> getKeyValues() {
38          List<KeyValue> keyValues = new ArrayList<KeyValue>();
39  
40          keyValues.add(new ConcreteKeyValue("kuali.atp.type.Fall", "Fall" ));
41          keyValues.add(new ConcreteKeyValue("kuali.atp.type.Winter", "Winter"));
42          keyValues.add(new ConcreteKeyValue("kuali.atp.type.Spring", "Spring"));
43          keyValues.add(new ConcreteKeyValue("kuali.atp.type.Summer", "Summer"));
44          return keyValues;
45      }
46  
47  }