Skip to content
Fyger edited this page Mar 22, 2012 · 3 revisions

Class Design

This shows the re-working of our current classes into more concise designs that follow the design patterns laid out in our class.

Models

Mole

The Mole class is used to dictate the moles that are being tracked by the user. It will contain values for the name of the mole, the id associated with the mole in the database, the description associated with the mole, the id's of the pictures assocaited with the image (ids of the pictures in the database), and lastly tag(s) to indicate the location of the picture, and potentially tags to indicate the description of the mole itself

Variables

unsigned int id
string name
string description
ArrayList<string> tags OR unsigned int[] tags (if we have a database of tags)
unsigned int[] picture_ids
Clone this wiki locally