View Javadoc

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  public class City {
12      private String city;
13      private int zipCode;
14      
15      private Land land;
16  
17  
18      public String toString() {
19          return "[City] <"+zipCode+" "+city+" "+land+">";
20      }
21      
22      
23      
24      /***
25       * @return Returns the city.
26       */
27      public String getCity() {
28          return city;
29      }
30      /***
31       * @param city The city to set.
32       */
33      public void setCity(String city) {
34          this.city = city;
35      }
36      /***
37       * @return Returns the land.
38       */
39      public Land getLand() {
40          return land;
41      }
42      /***
43       * @param land The land to set.
44       */
45      public void setLand(Land land) {
46          this.land = land;
47      }
48      /***
49       * @return Returns the zipCode.
50       */
51      public int getZipCode() {
52          return zipCode;
53      }
54      /***
55       * @param zipCode The zipCode to set.
56       */
57      public void setZipCode(int zipCode) {
58          this.zipCode = zipCode;
59      }
60  }