Merge branch 'master' of https://xp-dev.com/git/RRRRHHHH_Code
[RRRRHHHH_Code] / ruralHouses / src / domain / HouseFeatures.java
index c26de8a..52502cb 100644 (file)
@@ -1,7 +1,13 @@
 package domain;
 
-public class HouseFeatures {
+import java.io.Serializable;
 
+public class HouseFeatures implements Serializable {
+
+       /**
+        * 
+        */
+       private static final long serialVersionUID = 1L;
        private int nRooms;
        private int nKitchens;
        private int nBaths;
@@ -18,4 +24,33 @@ public class HouseFeatures {
                this.nParkings = nParkings;
        }
 
+       public int getnRooms() {
+               return nRooms;
+       }
+
+
+
+       public int getnKitchens() {
+               return nKitchens;
+       }
+
+
+
+       public int getnBaths() {
+               return nBaths;
+       }
+
+
+
+       public int getnLivings() {
+               return nLivings;
+       }
+
+
+
+       public int getnParkings() {
+               return nParkings;
+       }
+
+
 }