dbMap !== null); } /** * Gets the databasemap this map builder built. * * @return the databasemap */ public function getDatabaseMap() { return $this->dbMap; } /** * The doBuild() method builds the DatabaseMap * * @return void * @throws PropelException */ public function doBuild() { $this->dbMap = Propel::getDatabaseMap('workflow'); $tMap = $this->dbMap->addTable('BPMN_DOCUMENTATION'); $tMap->setPhpName('BpmnDocumentation'); $tMap->setUseIdGenerator(false); $tMap->addPrimaryKey('DOC_UID', 'DocUid', 'string', CreoleTypes::VARCHAR, true, 32); $tMap->addForeignKey('PRJ_UID', 'PrjUid', 'string', CreoleTypes::VARCHAR, 'BPMN_PROJECT', 'PRJ_UID', true, 32); $tMap->addColumn('DOC_ELEMENT', 'DocElement', 'string', CreoleTypes::VARCHAR, true, 32); $tMap->addColumn('DOC_ELEMENT_TYPE', 'DocElementType', 'string', CreoleTypes::VARCHAR, true, 45); $tMap->addColumn('DOC_DOCUMENTATION', 'DocDocumentation', 'string', CreoleTypes::LONGVARCHAR, false, null); } // doBuild() } // BpmnDocumentationMapBuilder