1
2
3
4
5 package test.crispy.example.model;
6
7 import java.io.Serializable;
8 import java.util.ArrayList;
9 import java.util.List;
10
11 /**
12 * @author Linke
13 *
14 */
15 public class Adresse implements Serializable {
16
17 private static final long serialVersionUID = 1313124977L;
18
19 private String plz = null;
20 private String ort = null;
21 private List adressen = new ArrayList();
22 private Kunde kunde = null;
23
24
25 public Kunde getKunde() { return kunde; }
26 public void setKunde(Kunde pvKunde) { kunde = pvKunde; }
27
28 public void setAdressen(List pvAdressen) { adressen = pvAdressen; }
29 public List getAdressen() { return adressen; }
30
31 /**
32 * @return Returns the ort.
33 */
34 public String getOrt() {
35 return ort;
36 }
37 /**
38 * @param pvOrt The ort to set.
39 */
40 public void setOrt(String pvOrt) {
41 ort = pvOrt;
42 }
43 /**
44 * @return Returns the plz.
45 */
46 public String getPlz() { return plz; }
47 /**
48 * @param pvPlz The plz to set.
49 */
50 public void setPlz(String pvPlz) { plz = pvPlz; }
51
52
53
54
55 public String toString() {
56 return
57 (getOrt() == null ? "" : getOrt());
58 }
59
60
61
62
63
64 }