public static void main(String[] args) {
    D_Rol cc = new D_Rol ();
    List listaRol = cc.getAllList();
        for (int i = 0; i < listaRol.size(); i++) {
           TbRol rol = (TbRol) listaRol.get(i);
          System.out.println(rol.getCodRol() + " --- "+ rol.getDescripcionRol());
        }
   }