public void modificar(Object vale) throws Exception {
    if (!(vale instanceof Reclamacion)) {
      throw new Exception("Esta intentando modificar un objeto que no es un Reclamacion");
    }

    Reclamacion med = (Reclamacion) vale;

    // Modificamos el documento
    (new DocumentoDAO()).modificar(med);

    PreparedStatement ps = getConnection().prepareStatement(UPDATE_SQL);
    ps.setString(1, med.getDatosReales());
    ps.setInt(2, med.getId());

    ps.execute();
  }
  @Override
  public void salvar(Object object) throws Exception {
    if (!(object instanceof Reclamacion)) {
      throw new Exception("Esta intentando almacenar un objeto que no es un Reclamacion");
    }

    Reclamacion med = (Reclamacion) object;
    // Insertamos el documento
    (new DocumentoDAO()).salvar(med);
    // cogemos el id
    int id = (new DocumentoDAO()).obtenerUltimoVale().getId();

    PreparedStatement ps = getConnection().prepareStatement(INSERT_SQL);

    ps.setInt(1, id);
    ps.setString(2, med.getDatosReales());

    ps.execute();
  }