View Javadoc
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   * Created with IntelliJ IDEA.
13   * User: jayabharathreddy
14   * Date: 9/13/13
15   * Time: 7:15 PM
16   * To change this template use File | Settings | File Templates.
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  }