1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20 package net.sf.ginp.setup.data;
21
22 import java.util.ArrayList;
23 import java.util.Collection;
24
25 /**
26 * Visit Object for Tapestry. Stores Persistant Session Data
27 *
28 * @author Justin Sher
29 */
30 public class SetupVisit {
31 Collection directoryPrefs;
32 String ginpPhotosPath;
33 String adminPassword;
34 String guestPassword;
35 String setupURL;
36 String javaCommand;
37
38 /**
39 * No Arg Constructor, sets up object and defaults
40 */
41 public SetupVisit() {
42 directoryPrefs=new ArrayList();
43 }
44 /**
45 * @return Returns the adminPassword.
46 */
47 public String getAdminPassword() {
48 return adminPassword;
49 }
50 /**
51 * @param adminPassword The adminPassword to set.
52 */
53 public void setAdminPassword(String adminPassword) {
54 this.adminPassword = adminPassword;
55 }
56 /**
57 * @return Returns the ginpPhotosPath.
58 */
59 public String getGinpPhotosPath() {
60 return ginpPhotosPath;
61 }
62 /**
63 * @param ginpPhotosPath The ginpPhotosPath to set.
64 */
65 public void setGinpPhotosPath(String ginpPhotosPath) {
66 this.ginpPhotosPath = ginpPhotosPath;
67 }
68 /**
69 * @return Returns the guestPassword.
70 */
71 public String getGuestPassword() {
72 return guestPassword;
73 }
74 /**
75 * @param guestPassword The guestPassword to set.
76 */
77 public void setGuestPassword(String guestPassword) {
78 this.guestPassword = guestPassword;
79 }
80
81 /**
82 * @param directoryPrefs The directoryPrefs to set.
83 */
84 public void setDirectoryPrefs(Collection directoryPrefs) {
85 this.directoryPrefs = directoryPrefs;
86 }
87 /**
88 * @return Returns the directoryPrefs.
89 */
90 public Collection getDirectoryPrefs() {
91 return directoryPrefs;
92 }
93 /**
94 * @param pref
95 */
96 public void addCollection(DirectoryPref pref) {
97 directoryPrefs.add(pref);
98
99 }
100
101 /**
102 * @return Returns the setupURL.
103 */
104 public String getSetupURL() {
105 return setupURL;
106 }
107 /**
108 * @param setupURL The setupURL to set.
109 */
110 public void setSetupURL(String setupURL) {
111 this.setupURL = setupURL;
112 }
113 /**
114 * @return Returns the javaCommand.
115 */
116 public String getJavaCommand() {
117 return javaCommand;
118 }
119 /**
120 * @param javaCommand The javaCommand to set.
121 */
122 public void setJavaCommand(String javaCommand) {
123 this.javaCommand = javaCommand;
124 }
125 }