I don't know what exactly you are trying to achieve, but this looks like a simple 1:n relation.
If that's the case, a hotel has multiple vacancies, so the HotelVacancy class then holds an instance to Hotel.
your list would then contain HotelVacancies you can get the Hotel instance then via a getter (getHotel() or something like that).
It will be a bit tricky to build such an object model just from acessing the database, that's why you would usually use a orm (object relational mapping) framework.
Common frameworks for java are: hibernate, eclipselink, or JPA
I'm sure Google will give you quite a few tutorials with these hints