1 /***
2 Copyright (C) 2005 The Java Community
3
4 This program is free software; you can redistribute it and/or modify it under
5 the terms of the GNU General Public License as published by the Free Software
6 Foundation; either version 2 of the License, or (at your option) any later
7 version.
8
9 This program is distributed in the hope that it will be useful, but WITHOUT
10 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11 FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
12
13 You should have received a copy of the GNU General Public License along with
14 this program; if not, write to the Free Software Foundation, Inc., 59 Temple
15 Place, Suite 330, Boston, MA 02111-1307 USA.
16 */
17 package org.bejug.javacareers.jobs.model;
18
19 import java.util.ArrayList;
20 import java.util.List;
21
22 import org.apache.commons.logging.Log;
23 import org.apache.commons.logging.LogFactory;
24
25
26 /***
27 *
28 * @author Sven Schauwvliege (Last modified by $Author: shally $)
29 * @version $Revision: 1.7 $ - $Date: 2005/12/20 15:36:45 $
30 */
31
32
33 public class Interview extends Item {
34
35 private static final Log LOG = LogFactory.getLog(Interview.class);
36
37 /***
38 * The interview String.
39 */
40 private String interviewUrl;
41
42
43
44 /***
45 * The qandas List.
46 */
47 private List qandas;
48
49 /***
50 * The URL to the picture
51 */
52 private String pictureUrl;
53
54 /***
55 * The URL to the queuefile
56 */
57 private String queueUrl;
58
59
60 /***
61 * @return Returns the queueUrl.
62 */
63 public String getQueueUrl() {
64 return queueUrl;
65 }
66
67
68 /***
69 * @param queueUrl The queueUrl to set.
70 */
71 public void setQueueUrl(String queueUrl) {
72 this.queueUrl = queueUrl;
73 }
74
75 /***
76 * Construct Interview
77 *
78 */
79 public Interview() {
80 qandas = new ArrayList();
81 }
82
83
84
85 /***
86 * @return Returns the interview.
87 */
88 public String getInterviewUrl() {
89 return interviewUrl;
90 }
91 /***
92 * @param interviewUrl The interview to set.
93 */
94 public void setInterviewUrl(String interviewUrl) {
95 this.interviewUrl = interviewUrl;
96 }
97 /***
98 * @return Returns the qandas.
99 */
100 public List getQandas() {
101 return qandas;
102 }
103 /***
104 * @param qandas The qAndAs to set.
105 */
106 public void setQandas(List qandas) {
107 this.qandas = qandas;
108 }
109
110 /***
111 * Gets picture URL
112 * @return picture URL
113 */
114 public String getPictureUrl() {
115 return pictureUrl;
116 }
117
118 /***
119 *Lists picture URL
120 * @param pictureUrl Picture URL to set
121 */
122 public void setPictureUrl(String pictureUrl) {
123 this.pictureUrl = pictureUrl;
124 }
125
126 /***
127 * Add qanda
128 * @param qanda is the qanda to be set
129 */
130 public void addQanda(QAndA qanda) {
131
132 qandas.add(qanda);
133 LOG.info("Added qanda: "+qanda.getQuestion());
134 }
135
136 }
137 /***
138 * $Log: Interview.java,v $
139 * Revision 1.7 2005/12/20 15:36:45 shally
140 * CheckStyle and PMD changes.
141 *
142 * Revision 1.6 2005/09/29 14:52:58 bavo_jcs
143 * Layout and minor bugfixes
144 *
145 * Revision 1.5 2005/09/13 08:10:55 schauwvliege
146 * organize imports
147 *
148 * Revision 1.4 2005/09/12 14:12:38 schauwvliege
149 * added queue fields
150 *
151 * Revision 1.3 2005/09/08 13:52:02 bavo_jcs
152 * Added PostInterview
153 *
154 * Revision 1.2 2005/09/06 15:33:31 bavo_jcs
155 * Added PostInterview
156 *
157 * Revision 1.1 2005/09/06 13:21:07 schauwvliege
158 * Intro if interview
159 *
160 **/