Salesforce 選択リストを取得する

//選択リスト型の選択できる値を取得
    public static List<Schema.PicklistEntry> getObjPicklist(String sObjName, String fieldName){
        List<Schema.PicklistEntry> pickList;
        Schema.SObjectType sObjType = (Schema.SObjectType) Schema.getGlobalDescribe().get(sObjName);
        if(sObjType != null){
            Map<String, Schema.SObjectField> fieldmap = sObjType.getDescribe().fields.getMap();
            Schema.SObjectField f = (Schema.SObjectField) fieldmap.get(fieldName);
            if(f != null){
                Schema.DescribeFieldResult r = f.getDescribe();
                pickList = r.getPicklistValues();
            }
        }
        return pickList;
    }

    //選択リスト型の選択できる値を取得
    public static Map<String,String> getObjPicklistActiveString(String sObjName, String fieldName){
        Map<String,String> rltMap = new Map<String,String>();
        List<Schema.PicklistEntry> pickList = FmlCommonUtils.getObjPicklist(sObjName,fieldName);
        for(Schema.PicklistEntry p : pickList) {
            if(p.isActive()) {
                rltMap.put(p.getLabel(),p.getValue());
            }
        }
        return rltMap;
    }