View Javadoc

1   package de.tivsource.page.entity.embeddable;
2   
3   import javax.persistence.Embeddable;
4   
5   /**
6    * 
7    * @author Marc Michele
8    *
9    */
10  @Embeddable
11  public class Address {
12  
13      /**
14       * Strasse
15       */
16      private String street;
17  
18      /**
19       * Postleitzahl
20       */
21      private String zip;
22  
23      /**
24       * Stadt
25       */
26      private String city;
27  
28      /**
29       * Land
30       */
31      private String country;
32  
33      public String getStreet() {
34          return street;
35      }
36  
37      public void setStreet(String street) {
38          this.street = street;
39      }
40  
41      public String getZip() {
42          return zip;
43      }
44  
45      public void setZip(String zip) {
46          this.zip = zip;
47      }
48  
49      public String getCity() {
50          return city;
51      }
52  
53      public void setCity(String city) {
54          this.city = city;
55      }
56  
57      public String getCountry() {
58          return country;
59      }
60  
61      public void setCountry(String country) {
62          this.country = country;
63      }
64  
65  }// Ende class