1 package generated.model.de.fhdw.partner;
2
3 import de.fhdw.wtf.context.model.Int;
4 import de.fhdw.wtf.persistence.meta.UserObject;
5
6
7
8
9 public class Telefon extends Kommunikationskanal {
10
11
12
13
14 private Int nr;
15
16
17
18
19
20
21
22 public Telefon(final Int nr) {
23 super();
24 this.nr = nr;
25 }
26
27
28
29
30
31
32
33 public Telefon(final UserObject userObject) {
34 super(userObject);
35 }
36
37
38
39
40
41
42 public Int getNr() {
43 return this.nr;
44 }
45
46 @Override
47 public String toString() {
48 return this.nr.toString();
49 }
50 }