Villatripas de arriba districs added and the option of searching houses with diferent...
[RRRRHHHH_Code] / ruralHouses / src / domain / HouseFeatures.java
index c26de8a..2327608 100644 (file)
@@ -11,10 +11,50 @@ public class HouseFeatures {
        public HouseFeatures(int nRooms, int nKitchens, int nBaths, int nLivings,
                        int nParkings) {
                super();
        public HouseFeatures(int nRooms, int nKitchens, int nBaths, int nLivings,
                        int nParkings) {
                super();
+               this.setnRooms(nRooms);
+               this.setnKitchens(nKitchens);
+               this.setnBaths(nBaths);
+               this.setnLivings(nLivings);
+               this.setnParkings(nParkings);
+       }
+
+       public int getnRooms() {
+               return nRooms;
+       }
+
+       public void setnRooms(int nRooms) {
                this.nRooms = nRooms;
                this.nRooms = nRooms;
+       }
+
+       public int getnKitchens() {
+               return nKitchens;
+       }
+
+       public void setnKitchens(int nKitchens) {
                this.nKitchens = nKitchens;
                this.nKitchens = nKitchens;
+       }
+
+       public int getnBaths() {
+               return nBaths;
+       }
+
+       public void setnBaths(int nBaths) {
                this.nBaths = nBaths;
                this.nBaths = nBaths;
+       }
+
+       public int getnLivings() {
+               return nLivings;
+       }
+
+       public void setnLivings(int nLivings) {
                this.nLivings = nLivings;
                this.nLivings = nLivings;
+       }
+
+       public int getnParkings() {
+               return nParkings;
+       }
+
+       public void setnParkings(int nParkings) {
                this.nParkings = nParkings;
        }
 
                this.nParkings = nParkings;
        }