public static String getOCResponseType (String RaveResponseType) {
        
        GenUtil.validateString(RaveResponseType);
        switch (RaveResponseType) {
            case ModelCV.RAVE_CT_CHECKBOX: 
                return ModelCV.OC_CRF_CV_RESPONSET_CHECKBOX;  
            case ModelCV.RAVE_CT_DATETIME: 
                return ModelCV.OC_CRF_CV_RESPONSET_TEXT;  
            case ModelCV.RAVE_CT_LONGTEXT: 
                return ModelCV.OC_CRF_CV_RESPONSET_TEXTA;  
            case ModelCV.RAVE_CT_RADIO: 
                return ModelCV.OC_CRF_CV_RESPONSET_RADIO;  
            case ModelCV.RAVE_CT_RADIOV: 
                return ModelCV.OC_CRF_CV_RESPONSET_RADIO;
            case ModelCV.RAVE_CT_SEARCHDL:
                return ModelCV.OC_CRF_CV_RESPONSET_SINGLES;
            case ModelCV.RAVE_CT_SEARCHL: 
                return ModelCV.OC_CRF_CV_RESPONSET_SINGLES;
            case ModelCV.RAVE_CT_TEXT: 
                return ModelCV.OC_CRF_CV_RESPONSET_TEXT;
        }
        throw new IllegalArgumentException ("Invalid RAVE control type: " +
                                            RaveResponseType);
    }