Changeset 299 for Doc/Backend/DBInterface.tex
- Timestamp:
- 03/01/12 15:49:16 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Doc/Backend/DBInterface.tex
r231 r299 68 68 69 69 \begin{figure}[H] 70 \caption{Retrieving all surveys containing questions with IDs q1 and q2, created by the user70 \caption{Retrieving all surveys containing questions with UIDs q1 and q2, created by the user 71 71 Jos, printing all questions in those surveys} 72 72 \begin{framed} … … 154 154 & question & String & UID of the question \\ 155 155 & values & Array of Strings & \\ \hline \hline 156 \multirow{ 4}{*}{AnswerSet} & uid & String & \\156 \multirow{5}{*}{AnswerSet} & uid & String & \\ 157 157 & survey & String & UID of the Survey \\ 158 158 & respondent & String & UID of the Respondent \\ 159 & datetime & String & Unix Timestamp. \\ 159 160 & answers & Array of Strings & UIDs of the Answers \\ \hline \hline 160 161 \multirow{4}{*}{Application} & uid & String & \\ … … 162 163 & description & String & \\ 163 164 & style & String & \\ \hline \hline 164 \multirow{5}{*}{Question} & code & String & \\ 165 \multirow{6}{*}{Question} & uid & String & \\ 166 & code & String & \\ 165 167 & title & String & \\ 166 168 & type & String & \\ … … 168 170 & category & String & \\ 169 171 & definedanswers & Array of Strings & String values of possible answers \\ \hline \hline 170 \multirow{3}{*}{Respondent/User} & uid & String & \\ 171 & name & String & \\ 172 & password & String & Use hashes to store passwords \\ \hline \hline 172 \multirow{4}{*}{Respondent/User} & uid & String & \\ 173 & email & String & \\ 174 & passwordHash & String & Use hashes to store passwords \\ 175 & passwordSalt & String & \\ \hline \hline 173 176 \multirow{7}{*}{Session} & uid & String & \\ 174 177 & title & String & \\ … … 177 180 & applications & Array of Strings & UIDs of the Applications \\ 178 181 & surveys & Array of Strings & UIDs of the Surveys \\ 179 & answersets & Array of Strings & UIDs of the AnswerSets \\ \hline \hline180 182 \multirow{9}{*}{SessionInstance} & uid & String & \\ 181 183 & title & String & \\ … … 186 188 & notes & Array of Strings & \\ 187 189 & session & String & UID of the Session this Instance refers to. \\ 188 & resultset & String & UID of the ResultSet this Instance has. \\ \hline \hline 190 & applicationinstances & Array of Strings & UIDs of the ApplicationInstances \\ 191 & surveyinstances & Array of Strings & UIDs of the SurveyInstances \\ \hline \hline 189 192 \multirow{4}{*}{Survey} & uid & String & \\ 190 193 & title & String & \\ … … 192 195 & creator & String & UID of the user that created this survey \\ 193 196 & questions & Array of Strings & UIDs of the Questions \\ \hline \hline 197 \multirow{8}{*}{ApplicationInstance} & uid & String & \\ 198 & of\_application & String & UID of the corresponding application \\ 199 & startime & String & Unix Timestamp. No way to search on intervals (yet). \\ 200 & endtime & String & Unix Timestamp. No way to search on intervals (yet). \\ 201 & open & Integer & 1 for true, 0 for false. \\ 202 & playerresults & Array of Strings & Not yet implemented. \\ 203 & groupresults & Array of Strings & Not yet implemented. \\ 204 & periodicresults & Array of Strings & Not yet implemented. \\ \hline \hline 205 \multirow{7}{*}{SurveyInstance} & uid & String & \\ \pagebreak 206 & of\_survey & String & UID of the Survey \\ 207 & startime & String & Unix Timestamp. No way to search on intervals (yet). \\ 208 & endtime & String & Unix Timestamp. No way to search on intervals (yet). \\ 209 & open & Integer & 1 for true, 0 for false. \\ 210 & preset\_answers & Array of Strings & Array with Answer UIDs to define default answers. \\ 211 & answersets & Array of Strings & Array with AnswerSet UIDs \\ \hline 212 194 213 \end{tabular} \\ 195 214
Note: See TracChangeset
for help on using the changeset viewer.