public List<RoomsType> listaRoomsTypesAvailable() {
   RoomsTypesDao dao = new RoomsTypesDao();
   try {
     return dao.findRoomsTypesAvailable();
   } catch (SQLException e) {
     JOptionPane.showMessageDialog(
         null, "Problemas ao localizar tipos de room" + e.getLocalizedMessage());
   }
   return null;
 }
 public RoomsType buscaRoomsTypesPorId(String id) throws SQLException {
   RoomsTypesDao dao = new RoomsTypesDao();
   return dao.findById(id);
 }
 public RoomsType buscaRoomsTypesPorNome(String nome) throws SQLException {
   RoomsTypesDao dao = new RoomsTypesDao();
   return dao.findByName(nome);
 }