function create()
    {
        global $ilDB;
        parent::create();
        if ($this->getMasteryScore() == NULL) {
            $this->setMasteryScore(0);
        }
        $ilDB->manipulateF('
		INSERT INTO aicc_units 
		(	obj_id, 
			c_type,
			command_line, 
			max_time_allowed, 
			time_limit_action,
			max_score, 
			core_vendor, 
			system_vendor, 
			file_name, 
			mastery_score,
			web_launch, 
			au_password
		) 
		VALUES (%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s)', array('integer', 'text', 'text', 'time', 'text', 'float', 'text', 'text', 'text', 'integer', 'text', 'text'), array($this->getId(), $this->getAUType(), $this->getCommand_line(), $this->getMaxTimeAllowed(), $this->getTimeLimitAction(), $this->getMaxScore(), $this->getCoreVendor(), $this->getSystemVendor(), $this->getFilename(), $this->getMasteryScore(), $this->getWebLaunch(), $this->getAUPassword()));
    }
 function create()
 {
     global $ilDB;
     parent::create();
     $ilDB->insert('aicc_course', array('obj_id' => array('integer', $this->getId()), 'course_creator' => array('text', $this->getCourseCreator()), 'course_id' => array('text', $this->getCourseId()), 'course_system' => array('text', $this->getCourseSystem()), 'course_title' => array('text', $this->getCourseTitle()), 'c_level' => array('text', $this->getLevel()), 'max_fields_cst' => array('integer', $this->getMaxFieldsCst()), 'max_fields_ort' => array('integer', $this->getMaxFieldsOrt()), 'total_aus' => array('integer', $this->getTotalAUs()), 'total_blocks' => array('integer', $this->getTotalBlocks()), 'total_complex_obj' => array('integer', $this->getTotalComplexObj()), 'total_objectives' => array('integer', $this->getTotalObjectives()), 'version' => array('text', $this->getVersion()), 'max_normal' => array('integer', $this->getMaxNormal()), 'description' => array('clob', $this->getDescription())));
 }