// public Owner(String name) {
// this.name = name;
-// ruralHouses = new Vector<RuralHouse>();
+// ruralHouses = new hVector<RuralHouse>();
// }
public Owner(String name, String bankAccount,String mail) {
this.mailAccount = mailAccount;
}
- public Vector<Offer> getAllOffers (){
- Vector<Offer> offers = new Vector<Offer>();
- for(RuralHouse rh: this.ruralHouses){
- for(Offer of : rh.getAllOffers()){
- offers.add(of);
- }
- }
- return offers;
- }
+
}
\ No newline at end of file