Merge branch 'master' of https://xp-dev.com/git/RRRRHHHH_Code
[RRRRHHHH_Code] / ruralHouses / src / domain / HouseFeatures.java
index e79a446..52502cb 100644 (file)
@@ -17,51 +17,40 @@ public class HouseFeatures implements Serializable {
        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);
+               this.nRooms = nRooms;
+               this.nKitchens = nKitchens;
+               this.nBaths = nBaths;
+               this.nLivings = nLivings;
+               this.nParkings = nParkings;
        }
 
        public int getnRooms() {
                return nRooms;
        }
 
-       public void setnRooms(int nRooms) {
-               this.nRooms = nRooms;
-       }
+
 
        public int getnKitchens() {
                return nKitchens;
        }
 
-       public void setnKitchens(int nKitchens) {
-               this.nKitchens = nKitchens;
-       }
+
 
        public int getnBaths() {
                return nBaths;
        }
 
-       public void setnBaths(int nBaths) {
-               this.nBaths = nBaths;
-       }
+
 
        public int getnLivings() {
                return nLivings;
        }
 
-       public void setnLivings(int nLivings) {
-               this.nLivings = nLivings;
-       }
+
 
        public int getnParkings() {
                return nParkings;
        }
 
-       public void setnParkings(int nParkings) {
-               this.nParkings = nParkings;
-       }
 
 }