RRRRHHHH_Code
Diff Revisions
e3043c ...
vs
b09f34 ...
for ruralHouses/src/domain/HouseFeatures.java
|
@@ -17,51 +17,40 @@ |
17 |
17 |
|
public HouseFeatures(int nRooms, int nKitchens, int nBaths, int nLivings, |
18 |
18 |
|
int nParkings) { |
19 |
19 |
|
super(); |
20 |
|
- |
this.setnRooms(nRooms); |
21 |
|
- |
this.setnKitchens(nKitchens); |
22 |
|
- |
this.setnBaths(nBaths); |
23 |
|
- |
this.setnLivings(nLivings); |
24 |
|
- |
this.setnParkings(nParkings); |
|
20 |
+ |
this.nRooms = nRooms; |
|
21 |
+ |
this.nKitchens = nKitchens; |
|
22 |
+ |
this.nBaths = nBaths; |
|
23 |
+ |
this.nLivings = nLivings; |
|
24 |
+ |
this.nParkings = nParkings; |
25 |
25 |
|
} |
26 |
26 |
|
|
27 |
27 |
|
public int getnRooms() { |
28 |
28 |
|
return nRooms; |
29 |
29 |
|
} |
30 |
30 |
|
|
31 |
|
- |
public void setnRooms(int nRooms) { |
32 |
|
- |
this.nRooms = nRooms; |
33 |
|
- |
} |
|
31 |
+ |
|
34 |
32 |
|
|
35 |
33 |
|
public int getnKitchens() { |
36 |
34 |
|
return nKitchens; |
37 |
35 |
|
} |
38 |
36 |
|
|
39 |
|
- |
public void setnKitchens(int nKitchens) { |
40 |
|
- |
this.nKitchens = nKitchens; |
41 |
|
- |
} |
|
37 |
+ |
|
42 |
38 |
|
|
43 |
39 |
|
public int getnBaths() { |
44 |
40 |
|
return nBaths; |
45 |
41 |
|
} |
46 |
42 |
|
|
47 |
|
- |
public void setnBaths(int nBaths) { |
48 |
|
- |
this.nBaths = nBaths; |
49 |
|
- |
} |
|
43 |
+ |
|
50 |
44 |
|
|
51 |
45 |
|
public int getnLivings() { |
52 |
46 |
|
return nLivings; |
53 |
47 |
|
} |
54 |
48 |
|
|
55 |
|
- |
public void setnLivings(int nLivings) { |
56 |
|
- |
this.nLivings = nLivings; |
57 |
|
- |
} |
|
49 |
+ |
|
58 |
50 |
|
|
59 |
51 |
|
public int getnParkings() { |
60 |
52 |
|
return nParkings; |
61 |
53 |
|
} |
62 |
54 |
|
|
63 |
|
- |
public void setnParkings(int nParkings) { |
64 |
|
- |
this.nParkings = nParkings; |
65 |
|
- |
} |
66 |
55 |
|
|
67 |
56 |
|
} |