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