public function preSave($builder)
 {
     $timestampColumnSetters = array();
     foreach ($this->behavior->getStates() as $state) {
         $timestampColumnSetters[$this->getStateConstant($state)] = $this->behavior->isTimestampable() ? 'set' . $this->behavior->getTable()->getColumn($state . '_at')->getPhpName() : '';
     }
     return $this->behavior->renderTemplate('objectPreSave', array('stateColumn' => $this->behavior->getTable()->getColumn($this->behavior->getParameter('state_column'))->getConstantName(), 'stateColumnGetter' => $this->getColumnGetter('state_column'), 'timestampable' => $this->behavior->isTimestampable(), 'timestampColumnSetters' => $timestampColumnSetters, 'modelTableMap' => $builder->getTableMapClass()));
 }