fast com
[RRRRHHHH_Code] / ruralHouses / src / domain / Owner.java
index a218f03..eb436f9 100644 (file)
@@ -3,9 +3,12 @@ package domain;
 import java.io.Serializable;
 import java.util.Vector;
 
-@SuppressWarnings("serial")
 public class Owner implements Serializable {
 
+       /**
+        * 
+        */
+       private static final long serialVersionUID = 1L;
        private String bankAccount = "";
        private String name = "";
        private String mailAccount = "";
@@ -13,7 +16,7 @@ public class Owner implements Serializable {
 
 //     public Owner(String name) {
 //             this.name = name;
-//             ruralHouses = new Vector<RuralHouse>();
+//             ruralHouses = new hVector<RuralHouse>();
 //     }
 
        public Owner(String name, String bankAccount,String mail) {
@@ -71,14 +74,6 @@ public class Owner implements Serializable {
                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