uc 06 - yshehab/SchoolRoomBooking GitHub Wiki
Collection<Booking>  getBookings(Organization anOrganization)

Given: The Organization object, organization9
- Access the collection of Permit objects linked to organization9, which in this case is {permit5, permit66}.
- Create a new empty collection, results. 
 For each Permit object accessed in step 1:
- Access it's collection of Booking objects
- Add each Booking object to results
- Return results

If there are no Permits linked to an Organization, or no Bookings linked to a Permit then return an empty collection
 private collection<Booking> bookings
 public collection<Booking> getBookings() 
Post condition: returns bookings
 private collection<Permit> permits
 public collection<Booking> getBookings() 
Post condition: returns a collection of all Booking objects linked to all Permit objects in permits.
Collection<Booking>  getBookings(Organization anOrganization)
Post condition: returns a collection of Booking objects which are linked to the Permit objects linked to anOrganization
consistsOf from Permit to Booking
hasPermit from Organization to Permit