Public Member Functions | |
Module () | |
Module (int pID, Programme *parent, QString name, QString nomenclature, int duration, int weeklyPeriods, short pSemester) | |
virtual QString | getDescription () const |
QString | getName () const |
QString | getNomenclature () const |
int | getDuration () const |
int | getWeeklyPeriods () const |
short | getSemester () const |
Institute * | getInst () |
QString | getInstName () const |
int | getInstID () |
Programme * | getProg () |
QString | getProgName () const |
int | getProgID () |
bool | setName (QString pName) |
bool | setNomenclature (QString pNomenclature) |
bool | setDuration (int pDuration) |
bool | setWeeklyPeriods (int pPeriods) |
bool | setSemester (int pSem) |
bool | isEvenSem () |
bool | isOddSem () |
Static Public Member Functions | |
static void | PrepareSQL (sql *dbConn) |
static bool | uniqueName (QString name, int parentID) |
static bool | uniqueNomenclature (QString nomenclature, int parentID) |
Protected Member Functions | |
void | bindValues (int preparedSQL, int start) |
Static Protected Attributes | |
static int | insertSQL = 0 |
static int | updateSQL = 0 |
static int | deleteSQL = 0 |
static int | uniqueNameSQL = 0 |
static int | uniqueNomenclatureSQL = 0 |
static int | errorSQL = 0 |
Friends | |
class | ModuleItem |
Definition at line 27 of file Module.h.