public static boolean isValid(String data,int validation_type){
        Validation validation;
        
        switch(validation_type){
            case NAME:
                validation = new Name();
                break;
            case CPF:
                validation = new Cpf();
                break;
            case DESCRICAO:
                validation = new Descricao();
                break;
            case INT:
                validation = new Int();
                break;
            case DOUBLE:
                validation = new Doubler();
                break;
            case DATE:
                validation = new Date();
                break;
            default:
                return false;
        }
        return validation.isValid(data);
    }