Source for file EtvaServerMapBuilder.php
Documentation is available at EtvaServerMapBuilder.php
* This class adds structure of 'server' table to 'propel' DatabaseMap object.
* This class was autogenerated by Propel 1.3.0-dev on:
* Thu Jun 18 14:28:37 2009
* These statically-built map classes are used by Propel to do runtime db structure discovery.
* For example, the createSelectSql() method checks the type of a given column used in an
* ORDER BY clause to know whether it needs to apply SQL to make the ORDER BY case-insensitive
* (i.e. if it's a text column type).
* The (dot-path) name of this class
const CLASS_NAME = 'lib.model.map.EtvaServerMapBuilder';
* Tells us if this DatabaseMapBuilder is built so that we
* don't have to re-build it every time.
* @return boolean true if this DatabaseMapBuilder is built, false otherwise.
return ($this->dbMap !== null);
* Gets the databasemap this map builder built.
* @return the databasemap
* The doBuild() method builds the DatabaseMap
* @throws PropelException
$tMap->setPhpName('EtvaServer');
$tMap->setClassname('EtvaServer');
$tMap->setUseIdGenerator(true);
$tMap->addPrimaryKey('ID', 'Id', 'INTEGER', true, null);
$tMap->addForeignKey('LOGICALVOLUME_ID', 'LogicalvolumeId', 'INTEGER', 'logicalvolume', 'ID', true, null);
$tMap->addForeignKey('NODE_ID', 'NodeId', 'INTEGER', 'node', 'ID', true, null);
$tMap->addColumn('NAME', 'Name', 'VARCHAR', true, 255);
$tMap->addColumn('DESCRIPTION', 'Description', 'LONGVARCHAR', false, null);
$tMap->addColumn('IP', 'Ip', 'VARCHAR', true, 255);
$tMap->addColumn('VNC_PORT', 'VncPort', 'INTEGER', false, null);
$tMap->addColumn('UID', 'Uid', 'VARCHAR', false, 255);
$tMap->addColumn('MEM', 'Mem', 'VARCHAR', false, 255);
$tMap->addColumn('VCPU', 'Vcpu', 'INTEGER', false, null);
$tMap->addColumn('CPUSET', 'Cpuset', 'VARCHAR', false, 255);
$tMap->addColumn('LOCATION', 'Location', 'VARCHAR', false, 255);
$tMap->addColumn('NETWORK_CARDS', 'NetworkCards', 'INTEGER', false, null);
$tMap->addColumn('STATE', 'State', 'VARCHAR', true, 255);
$tMap->addColumn('MAC_ADDRESSES', 'MacAddresses', 'LONGVARCHAR', false, null);
$tMap->addForeignKey('SF_GUARD_GROUP_ID', 'SfGuardGroupId', 'INTEGER', 'sf_guard_group', 'ID', true, null);
$tMap->addColumn('CREATED_AT', 'CreatedAt', 'TIMESTAMP', true, null);
$tMap->addColumn('UPDATED_AT', 'UpdatedAt', 'TIMESTAMP', true, null);
} // EtvaServerMapBuilder
|