1
2
3
4 package org.wvc.config.xml.pojos;
5
6 import java.util.List;
7
8 import com.thoughtworks.xstream.annotations.XStreamAlias;
9 import com.thoughtworks.xstream.annotations.XStreamImplicit;
10
11
12
13
14
15
16
17 @XStreamAlias("appConfig")
18 public class AppConfig {
19
20
21
22
23 @XStreamImplicit(itemFieldName = "screen")
24 private List<Screen> screens;
25
26
27
28
29 @XStreamAlias("initialScreen")
30 private InitialScreen initialScreen;
31
32
33
34
35 @XStreamAlias("debugMode")
36 private DebugMode debugMode;
37
38
39
40
41 @XStreamAlias("entryPoint")
42 private EntryPoint entryPoint;
43
44
45
46
47
48
49
50 public AppConfig(List<Screen> screens, InitialScreen initialScreen, DebugMode debugMode, EntryPoint entryPoint) {
51 super();
52 this.screens = screens;
53 this.initialScreen = initialScreen;
54 this.debugMode = debugMode;
55 this.entryPoint = entryPoint;
56 }
57
58
59
60
61 public List<Screen> getScreens() {
62 return screens;
63 }
64
65
66
67
68 public InitialScreen getInitialScreen() {
69 return initialScreen;
70 }
71
72
73
74
75 public DebugMode getDebugMode() {
76 return debugMode;
77 }
78
79
80
81
82 public EntryPoint getEntryPoint() {
83 return entryPoint;
84 }
85
86 }