1 package org.kuali.ole.describe.keyvalue;
2
3 import org.kuali.ole.util.Languages008;
4 import org.kuali.rice.core.api.util.ConcreteKeyValue;
5 import org.kuali.rice.core.api.util.KeyValue;
6 import org.kuali.rice.krad.keyvalues.KeyValuesBase;
7
8 import java.util.ArrayList;
9 import java.util.List;
10
11
12
13
14
15
16
17
18 public class Langauge008KeyValueFinder extends KeyValuesBase {
19
20 @Override
21 public List<KeyValue> getKeyValues() {
22 List<KeyValue> options = new ArrayList<>();
23 return options;
24 }
25 public static List<String> retrieveControlField008Language(String languageVal) {
26 List<String> reqlanguage = Languages008.getInstance().getLanguageDescription(languageVal);
27 return reqlanguage;
28 }
29 }