| %line | %branch | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| be.dvw.administration.model.City |
|
|
| 1 | /* |
|
| 2 | * Created on Jun 20, 2005 |
|
| 3 | */ |
|
| 4 | ||
| 5 | package be.dvw.administration.model; |
|
| 6 | ||
| 7 | /** |
|
| 8 | * @author Gregory Van Seghbroeck |
|
| 9 | * |
|
| 10 | */ |
|
| 11 | 0 | public class City { |
| 12 | private String city; |
|
| 13 | private int zipCode; |
|
| 14 | ||
| 15 | private Land land; |
|
| 16 | ||
| 17 | ||
| 18 | public String toString() { |
|
| 19 | 0 | return "[City] <"+zipCode+" "+city+" "+land+">"; |
| 20 | } |
|
| 21 | ||
| 22 | ||
| 23 | ||
| 24 | /** |
|
| 25 | * @return Returns the city. |
|
| 26 | */ |
|
| 27 | public String getCity() { |
|
| 28 | 0 | return city; |
| 29 | } |
|
| 30 | /** |
|
| 31 | * @param city The city to set. |
|
| 32 | */ |
|
| 33 | public void setCity(String city) { |
|
| 34 | 0 | this.city = city; |
| 35 | 0 | } |
| 36 | /** |
|
| 37 | * @return Returns the land. |
|
| 38 | */ |
|
| 39 | public Land getLand() { |
|
| 40 | 0 | return land; |
| 41 | } |
|
| 42 | /** |
|
| 43 | * @param land The land to set. |
|
| 44 | */ |
|
| 45 | public void setLand(Land land) { |
|
| 46 | 0 | this.land = land; |
| 47 | 0 | } |
| 48 | /** |
|
| 49 | * @return Returns the zipCode. |
|
| 50 | */ |
|
| 51 | public int getZipCode() { |
|
| 52 | 0 | return zipCode; |
| 53 | } |
|
| 54 | /** |
|
| 55 | * @param zipCode The zipCode to set. |
|
| 56 | */ |
|
| 57 | public void setZipCode(int zipCode) { |
|
| 58 | 0 | this.zipCode = zipCode; |
| 59 | 0 | } |
| 60 | } |
| This report is generated by jcoverage, Maven and Maven JCoverage Plugin. |