RRRRHHHH_Code
Diff Revisions
25898b ...
vs
fca164 ...
for ruralHouses/src/domain/RuralHouse.java
|
@@ -14,8 +14,8 @@ |
14 |
14 |
|
private Owner owner; |
15 |
15 |
|
private String district; |
16 |
16 |
|
private HouseFeatures features; |
17 |
|
- |
public Vector<Offer> offers; |
18 |
|
- |
public boolean isAccepted; |
|
17 |
+ |
private Vector<Offer> offers; |
|
18 |
+ |
private boolean isAccepted; |
19 |
19 |
|
|
20 |
20 |
|
public RuralHouse() { |
21 |
21 |
|
super(); |
|
@@ -167,4 +167,12 @@ |
167 |
167 |
|
|
168 |
168 |
|
} |
169 |
169 |
|
|
|
170 |
+ |
public boolean isAccepted() { |
|
171 |
+ |
return isAccepted; |
|
172 |
+ |
} |
|
173 |
+ |
|
|
174 |
+ |
public void setAccepted(boolean isAccepted) { |
|
175 |
+ |
this.isAccepted = isAccepted; |
|
176 |
+ |
} |
|
177 |
+ |
|
170 |
178 |
|
} |