Commit | Line | Data |
---|---|---|
7824a618 H |
1 | /* |
2 | * To change this template, choose Tools | Templates | |
3 | * and open the template in the editor. | |
4 | */ | |
5 | ||
6 | package cviceni_12; | |
7 | ||
8 | /** | |
9 | * | |
10 | * @author hapallen | |
11 | */ | |
12 | public class Prvek { | |
13 | ||
14 | private Zakaznik zakaznik; | |
15 | ||
16 | private Prvek predchozi; | |
17 | ||
18 | private Prvek dalsi; | |
19 | ||
20 | public Prvek(Zakaznik zakaznik) { | |
21 | this.zakaznik = zakaznik; | |
22 | } | |
23 | ||
24 | public Prvek getDalsi() { | |
25 | return dalsi; | |
26 | } | |
27 | ||
28 | public void setDalsi(Prvek dalsi) { | |
29 | this.dalsi = dalsi; | |
30 | } | |
31 | ||
32 | public Prvek getPredchozi() { | |
33 | return predchozi; | |
34 | } | |
35 | ||
36 | public void setPredchozi(Prvek predchozi) { | |
37 | this.predchozi = predchozi; | |
38 | } | |
39 | ||
40 | public Zakaznik getZakaznik() { | |
41 | return zakaznik; | |
42 | } | |
43 | ||
44 | public void setZakaznik(Zakaznik zakaznik) { | |
45 | this.zakaznik = zakaznik; | |
46 | } | |
47 | ||
48 | ||
49 | ||
50 | } |