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;
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;
- }
}