Ignore:
Timestamp:
03/01/12 15:49:16 (13 years ago)
Author:
jkraaijeveld
Message:

Updated Get() table to be up to date with the current version

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Doc/Backend/DBInterface.tex

    r231 r299  
    6868
    6969                        \begin{figure}[H]
    70                                 \caption{Retrieving all surveys containing questions with IDs q1 and q2, created by the user
     70                                \caption{Retrieving all surveys containing questions with UIDs q1 and q2, created by the user
    7171                                        Jos, printing all questions in those surveys}
    7272                                \begin{framed}
     
    154154                                                                                        & question                                      & String                                        & UID of the question   \\
    155155                                                                                        & values                                        & Array of Strings                              &                                               \\ \hline \hline
    156                         \multirow{4}{*}{AnswerSet}                              & uid                                           & String                                        &                                               \\
     156                        \multirow{5}{*}{AnswerSet}                              & uid                                           & String                                        &                                               \\
    157157                                                                                        & survey                                        & String                                        & UID of the Survey             \\
    158158                                                                                        & respondent                            & String                                        & UID of the Respondent \\
     159                                                                                        & datetime                                      & String                                        & Unix Timestamp. \\
    159160                                                                                        & answers                                       & Array of Strings                              & UIDs of the Answers   \\ \hline \hline
    160161                        \multirow{4}{*}{Application}                            & uid                                           & String                                        & \\
     
    162163                                                                                        & description                                   & String                                        & \\
    163164                                                                                        & style                                 & String                                        & \\ \hline \hline
    164                         \multirow{5}{*}{Question}                               & code                                  & String                                        & \\
     165                        \multirow{6}{*}{Question}                               & uid                                           & String                                        & \\
     166                                                                                        & code                                  & String                                        & \\
    165167                                                                                        & title                                         & String                                        & \\
    166168                                                                                        & type                                  & String                                        & \\
     
    168170                                                                                        & category                                      & String                                        & \\
    169171                                                                                        & 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
    173176                        \multirow{7}{*}{Session}                                        & uid                                           & String                                        & \\
    174177                                                                                        & title                                         & String                                        & \\
     
    177180                                                                                        & applications                          & Array of Strings                              & UIDs of the Applications \\
    178181                                                                                        & surveys                                       & Array of Strings                              & UIDs of the Surveys \\
    179                                                                                         & answersets                            & Array of Strings                              & UIDs of the AnswerSets \\ \hline \hline
    180182                        \multirow{9}{*}{SessionInstance}                        & uid                                           & String                                        &  \\
    181183                                                                                        & title                                         & String                                        & \\
     
    186188                                                                                        & notes                                 & Array of Strings                              & \\
    187189                                                                                        & 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
    189192                        \multirow{4}{*}{Survey}                                 & uid                                           & String                                        & \\
    190193                                                                                        & title                                         & String                                        & \\
     
    192195                                                                                        & creator                                       & String                                        & UID of the user that created this survey \\
    193196                                                                                        & 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
    194213                \end{tabular} \\
    195214
Note: See TracChangeset for help on using the changeset viewer.