Data Model Design Information (extra) - CMPUT301F12T06/classproject GitHub Wiki

#Task (object) #Task (object) ###User creates a task object that contains a basic description, name, task requirements and access rights.

-creator : String (contains the name of the creator of the task)

-name : String (name of the task)

-description: String (description of the task)

-id : Integer (unique ID for the task, may be used in data archiving/retrieval)

-requires : Byte (contains what the task requires from a submission (PHOTO | AUDIO | TEXT))

-privateAccess : Boolean (If true -- task is private otherwise task has public accessiblity)

-submissions : List of Submission (contains the list of submissions/fulfilled entries for the task)

#Submission (object) ###Each fulfilled task entry is contained in a submission object (belongs inside a Task object)

-author : String (author that created this fulfilled entry for a task)

-photos : List of bitmap (contains any photos attached in the fulfilled entry)

-sounds : List of sound (contains any sounds attached in the fulfilled entry)

-access : Integer (contains the sharing mode of the submission, either: share local, share creator, share public)

-timestamp: Integer (timestamp of when fulfilled entry was created)