Started with the separated DB with the given code
[RRRRHHHH_Code] / ruralHousesDB / src / domain / HouseFeatures.java
diff --git a/ruralHousesDB/src/domain/HouseFeatures.java b/ruralHousesDB/src/domain/HouseFeatures.java
new file mode 100644 (file)
index 0000000..52502cb
--- /dev/null
@@ -0,0 +1,56 @@
+package domain;
+
+import java.io.Serializable;
+
+public class HouseFeatures implements Serializable {
+
+       /**
+        * 
+        */
+       private static final long serialVersionUID = 1L;
+       private int nRooms;
+       private int nKitchens;
+       private int nBaths;
+       private int nLivings;
+       private int nParkings;
+
+       public HouseFeatures(int nRooms, int nKitchens, int nBaths, int nLivings,
+                       int nParkings) {
+               super();
+               this.nRooms = nRooms;
+               this.nKitchens = nKitchens;
+               this.nBaths = nBaths;
+               this.nLivings = nLivings;
+               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;
+       }
+
+
+}