Build a Criteria object containing the values of all modified columns in this object.

@return Criteria The Criteria object containing all modified values.
774573
public function buildCriteria()
    {
        $criteria = new Criteria(ReferenceTableMap::DATABASE_NAME);

        if ($this->isColumnModified(ReferenceTableMap::COL_ID)) {
            $criteria->add(ReferenceTableMap::COL_ID, $this->id);
        }
        if ($this->isColumnModified(ReferenceTableMap::COL_TYPE)) {
            $criteria->add(ReferenceTableMap::COL_TYPE, $this->type);
        }
        if ($this->isColumnModified(ReferenceTableMap::COL_TITLE)) {
            $criteria->add(ReferenceTableMap::COL_TITLE, $this->title);
        }
        if ($this->isColumnModified(ReferenceTableMap::COL_YEAR)) {
            $criteria->add(ReferenceTableMap::COL_YEAR, $this->year);
        }
        if ($this->isColumnModified(ReferenceTableMap::COL_PUBLISHER)) {
            $criteria->add(ReferenceTableMap::COL_PUBLISHER, $this->publisher);
        }
        if ($this->isColumnModified(ReferenceTableMap::COL_JOURNAL)) {
            $criteria->add(ReferenceTableMap::COL_JOURNAL, $this->journal);
        }
        if ($this->isColumnModified(ReferenceTableMap::COL_NUMBER)) {
            $criteria->add(ReferenceTableMap::COL_NUMBER, $this->number);
        }
        if ($this->isColumnModified(ReferenceTableMap::COL_SCHOOL)) {
            $criteria->add(ReferenceTableMap::COL_SCHOOL, $this->school);
        }
        if ($this->isColumnModified(ReferenceTableMap::COL_AUTHOR)) {
            $criteria->add(ReferenceTableMap::COL_AUTHOR, $this->author);
        }
        if ($this->isColumnModified(ReferenceTableMap::COL_EDITION)) {
            $criteria->add(ReferenceTableMap::COL_EDITION, $this->edition);
        }
        if ($this->isColumnModified(ReferenceTableMap::COL_VOLUME)) {
            $criteria->add(ReferenceTableMap::COL_VOLUME, $this->volume);
        }
        if ($this->isColumnModified(ReferenceTableMap::COL_ADDRESS)) {
            $criteria->add(ReferenceTableMap::COL_ADDRESS, $this->address);
        }
        if ($this->isColumnModified(ReferenceTableMap::COL_EDITOR)) {
            $criteria->add(ReferenceTableMap::COL_EDITOR, $this->editor);
        }
        if ($this->isColumnModified(ReferenceTableMap::COL_HOWPUBLISHED)) {
            $criteria->add(ReferenceTableMap::COL_HOWPUBLISHED, $this->howpublished);
        }
        if ($this->isColumnModified(ReferenceTableMap::COL_NOTE)) {
            $criteria->add(ReferenceTableMap::COL_NOTE, $this->note);
        }
        if ($this->isColumnModified(ReferenceTableMap::COL_BOOKTITLE)) {
            $criteria->add(ReferenceTableMap::COL_BOOKTITLE, $this->booktitle);
        }
        if ($this->isColumnModified(ReferenceTableMap::COL_PAGES)) {
            $criteria->add(ReferenceTableMap::COL_PAGES, $this->pages);
        }
        if ($this->isColumnModified(ReferenceTableMap::COL_URL)) {
            $criteria->add(ReferenceTableMap::COL_URL, $this->url);
        }
        if ($this->isColumnModified(ReferenceTableMap::COL_LASTCHECKED)) {
            $criteria->add(ReferenceTableMap::COL_LASTCHECKED, $this->lastchecked);
        }
        if ($this->isColumnModified(ReferenceTableMap::COL_MANAGED)) {
            $criteria->add(ReferenceTableMap::COL_MANAGED, $this->managed);
        }

        return $criteria;
    }
892063
public function buildCriteria()
    {
        $criteria = new Criteria(StructureNodeTableMap::DATABASE_NAME);

        if ($this->isColumnModified(StructureNodeTableMap::COL_ID)) {
            $criteria->add(StructureNodeTableMap::COL_ID, $this->id);
        }
        if ($this->isColumnModified(StructureNodeTableMap::COL_TYPE)) {
            $criteria->add(StructureNodeTableMap::COL_TYPE, $this->type);
        }
        if ($this->isColumnModified(StructureNodeTableMap::COL_SKILL_ID)) {
            $criteria->add(StructureNodeTableMap::COL_SKILL_ID, $this->skill_id);
        }
        if ($this->isColumnModified(StructureNodeTableMap::COL_TITLE)) {
            $criteria->add(StructureNodeTableMap::COL_TITLE, $this->title);
        }
        if ($this->isColumnModified(StructureNodeTableMap::COL_DESCENDANT_CLASS)) {
            $criteria->add(StructureNodeTableMap::COL_DESCENDANT_CLASS, $this->descendant_class);
        }

        return $criteria;
    }
933710
public function buildCriteria()
    {
        $criteria = new Criteria(AttributeTypeI18nTableMap::DATABASE_NAME);

        if ($this->isColumnModified(AttributeTypeI18nTableMap::ID)) $criteria->add(AttributeTypeI18nTableMap::ID, $this->id);
        if ($this->isColumnModified(AttributeTypeI18nTableMap::LOCALE)) $criteria->add(AttributeTypeI18nTableMap::LOCALE, $this->locale);
        if ($this->isColumnModified(AttributeTypeI18nTableMap::TITLE)) $criteria->add(AttributeTypeI18nTableMap::TITLE, $this->title);
        if ($this->isColumnModified(AttributeTypeI18nTableMap::DESCRIPTION)) $criteria->add(AttributeTypeI18nTableMap::DESCRIPTION, $this->description);

        return $criteria;
    }
679113
public function buildCriteria()
    {
        $criteria = new Criteria(AttributeTypeAvMetaTableMap::DATABASE_NAME);

        if ($this->isColumnModified(AttributeTypeAvMetaTableMap::ID)) $criteria->add(AttributeTypeAvMetaTableMap::ID, $this->id);
        if ($this->isColumnModified(AttributeTypeAvMetaTableMap::ATTRIBUTE_AV_ID)) $criteria->add(AttributeTypeAvMetaTableMap::ATTRIBUTE_AV_ID, $this->attribute_av_id);
        if ($this->isColumnModified(AttributeTypeAvMetaTableMap::ATTRIBUTE_ATTRIBUTE_TYPE_ID)) $criteria->add(AttributeTypeAvMetaTableMap::ATTRIBUTE_ATTRIBUTE_TYPE_ID, $this->attribute_attribute_type_id);
        if ($this->isColumnModified(AttributeTypeAvMetaTableMap::LOCALE)) $criteria->add(AttributeTypeAvMetaTableMap::LOCALE, $this->locale);
        if ($this->isColumnModified(AttributeTypeAvMetaTableMap::VALUE)) $criteria->add(AttributeTypeAvMetaTableMap::VALUE, $this->value);
        if ($this->isColumnModified(AttributeTypeAvMetaTableMap::CREATED_AT)) $criteria->add(AttributeTypeAvMetaTableMap::CREATED_AT, $this->created_at);
        if ($this->isColumnModified(AttributeTypeAvMetaTableMap::UPDATED_AT)) $criteria->add(AttributeTypeAvMetaTableMap::UPDATED_AT, $this->updated_at);

        return $criteria;
    }
390400
public function buildCriteria()
    {
        $criteria = new Criteria(CategoryTableMap::DATABASE_NAME);

        if ($this->isColumnModified(CategoryTableMap::COL_ID)) {
            $criteria->add(CategoryTableMap::COL_ID, $this->id);
        }
        if ($this->isColumnModified(CategoryTableMap::COL_SOURCE_ID)) {
            $criteria->add(CategoryTableMap::COL_SOURCE_ID, $this->source_id);
        }
        if ($this->isColumnModified(CategoryTableMap::COL_PAGEID)) {
            $criteria->add(CategoryTableMap::COL_PAGEID, $this->pageid);
        }
        if ($this->isColumnModified(CategoryTableMap::COL_TITLE)) {
            $criteria->add(CategoryTableMap::COL_TITLE, $this->title);
        }
        if ($this->isColumnModified(CategoryTableMap::COL_FILES)) {
            $criteria->add(CategoryTableMap::COL_FILES, $this->files);
        }
        if ($this->isColumnModified(CategoryTableMap::COL_SUBCATS)) {
            $criteria->add(CategoryTableMap::COL_SUBCATS, $this->subcats);
        }
        if ($this->isColumnModified(CategoryTableMap::COL_PAGES)) {
            $criteria->add(CategoryTableMap::COL_PAGES, $this->pages);
        }
        if ($this->isColumnModified(CategoryTableMap::COL_SIZE)) {
            $criteria->add(CategoryTableMap::COL_SIZE, $this->size);
        }
        if ($this->isColumnModified(CategoryTableMap::COL_HIDDEN)) {
            $criteria->add(CategoryTableMap::COL_HIDDEN, $this->hidden);
        }
        if ($this->isColumnModified(CategoryTableMap::COL_CREATED_AT)) {
            $criteria->add(CategoryTableMap::COL_CREATED_AT, $this->created_at);
        }
        if ($this->isColumnModified(CategoryTableMap::COL_UPDATED_AT)) {
            $criteria->add(CategoryTableMap::COL_UPDATED_AT, $this->updated_at);
        }
        if ($this->isColumnModified(CategoryTableMap::COL_TREE_LEFT)) {
            $criteria->add(CategoryTableMap::COL_TREE_LEFT, $this->tree_left);
        }
        if ($this->isColumnModified(CategoryTableMap::COL_TREE_RIGHT)) {
            $criteria->add(CategoryTableMap::COL_TREE_RIGHT, $this->tree_right);
        }
        if ($this->isColumnModified(CategoryTableMap::COL_TREE_LEVEL)) {
            $criteria->add(CategoryTableMap::COL_TREE_LEVEL, $this->tree_level);
        }

        return $criteria;
    }
1293324
public function buildCriteria()
    {
        $criteria = new Criteria(M2PTableMap::DATABASE_NAME);

        if ($this->isColumnModified(M2PTableMap::COL_MEDIA_ID)) {
            $criteria->add(M2PTableMap::COL_MEDIA_ID, $this->media_id);
        }
        if ($this->isColumnModified(M2PTableMap::COL_PAGE_ID)) {
            $criteria->add(M2PTableMap::COL_PAGE_ID, $this->page_id);
        }

        return $criteria;
    }
333892
public function buildCriteria()
    {
        $criteria = new Criteria(DealerAdminTableMap::DATABASE_NAME);

        if ($this->isColumnModified(DealerAdminTableMap::ID)) $criteria->add(DealerAdminTableMap::ID, $this->id);
        if ($this->isColumnModified(DealerAdminTableMap::DEALER_ID)) $criteria->add(DealerAdminTableMap::DEALER_ID, $this->dealer_id);
        if ($this->isColumnModified(DealerAdminTableMap::ADMIN_ID)) $criteria->add(DealerAdminTableMap::ADMIN_ID, $this->admin_id);
        if ($this->isColumnModified(DealerAdminTableMap::CREATED_AT)) $criteria->add(DealerAdminTableMap::CREATED_AT, $this->created_at);
        if ($this->isColumnModified(DealerAdminTableMap::UPDATED_AT)) $criteria->add(DealerAdminTableMap::UPDATED_AT, $this->updated_at);
        if ($this->isColumnModified(DealerAdminTableMap::VERSION)) $criteria->add(DealerAdminTableMap::VERSION, $this->version);
        if ($this->isColumnModified(DealerAdminTableMap::VERSION_CREATED_AT)) $criteria->add(DealerAdminTableMap::VERSION_CREATED_AT, $this->version_created_at);
        if ($this->isColumnModified(DealerAdminTableMap::VERSION_CREATED_BY)) $criteria->add(DealerAdminTableMap::VERSION_CREATED_BY, $this->version_created_by);

        return $criteria;
    }
717696
public function buildCriteria()
    {
        $criteria = new Criteria(RoleTableMap::DATABASE_NAME);

        if ($this->isColumnModified(RoleTableMap::COL_ID)) {
            $criteria->add(RoleTableMap::COL_ID, $this->id);
        }
        if ($this->isColumnModified(RoleTableMap::COL_NAME)) {
            $criteria->add(RoleTableMap::COL_NAME, $this->name);
        }
        if ($this->isColumnModified(RoleTableMap::COL_DESCRIPTION)) {
            $criteria->add(RoleTableMap::COL_DESCRIPTION, $this->description);
        }
        if ($this->isColumnModified(RoleTableMap::COL_CREATE_DATE)) {
            $criteria->add(RoleTableMap::COL_CREATE_DATE, $this->create_date);
        }
        if ($this->isColumnModified(RoleTableMap::COL_UPDATE_DATE)) {
            $criteria->add(RoleTableMap::COL_UPDATE_DATE, $this->update_date);
        }
        if ($this->isColumnModified(RoleTableMap::COL_STATUS)) {
            $criteria->add(RoleTableMap::COL_STATUS, $this->status);
        }

        return $criteria;
    }
527884
public function buildCriteria()
    {
        $criteria = new Criteria(IndexEngineIndexTableMap::DATABASE_NAME);

        if ($this->isColumnModified(IndexEngineIndexTableMap::ID)) {
            $criteria->add(IndexEngineIndexTableMap::ID, $this->id);
        }
        if ($this->isColumnModified(IndexEngineIndexTableMap::VISIBLE)) {
            $criteria->add(IndexEngineIndexTableMap::VISIBLE, $this->visible);
        }
        if ($this->isColumnModified(IndexEngineIndexTableMap::CODE)) {
            $criteria->add(IndexEngineIndexTableMap::CODE, $this->code);
        }
        if ($this->isColumnModified(IndexEngineIndexTableMap::TITLE)) {
            $criteria->add(IndexEngineIndexTableMap::TITLE, $this->title);
        }
        if ($this->isColumnModified(IndexEngineIndexTableMap::TYPE)) {
            $criteria->add(IndexEngineIndexTableMap::TYPE, $this->type);
        }
        if ($this->isColumnModified(IndexEngineIndexTableMap::ENTITY)) {
            $criteria->add(IndexEngineIndexTableMap::ENTITY, $this->entity);
        }
        if ($this->isColumnModified(IndexEngineIndexTableMap::SERIALIZED_COLUMNS)) {
            $criteria->add(IndexEngineIndexTableMap::SERIALIZED_COLUMNS, $this->serialized_columns);
        }
        if ($this->isColumnModified(IndexEngineIndexTableMap::SERIALIZED_CONDITION)) {
            $criteria->add(IndexEngineIndexTableMap::SERIALIZED_CONDITION, $this->serialized_condition);
        }
        if ($this->isColumnModified(IndexEngineIndexTableMap::INDEX_ENGINE_DRIVER_CONFIGURATION_ID)) {
            $criteria->add(IndexEngineIndexTableMap::INDEX_ENGINE_DRIVER_CONFIGURATION_ID, $this->index_engine_driver_configuration_id);
        }
        if ($this->isColumnModified(IndexEngineIndexTableMap::CREATED_AT)) {
            $criteria->add(IndexEngineIndexTableMap::CREATED_AT, $this->created_at);
        }
        if ($this->isColumnModified(IndexEngineIndexTableMap::UPDATED_AT)) {
            $criteria->add(IndexEngineIndexTableMap::UPDATED_AT, $this->updated_at);
        }
        if ($this->isColumnModified(IndexEngineIndexTableMap::VERSION)) {
            $criteria->add(IndexEngineIndexTableMap::VERSION, $this->version);
        }
        if ($this->isColumnModified(IndexEngineIndexTableMap::VERSION_CREATED_AT)) {
            $criteria->add(IndexEngineIndexTableMap::VERSION_CREATED_AT, $this->version_created_at);
        }
        if ($this->isColumnModified(IndexEngineIndexTableMap::VERSION_CREATED_BY)) {
            $criteria->add(IndexEngineIndexTableMap::VERSION_CREATED_BY, $this->version_created_by);
        }

        return $criteria;
    }
428070
public function buildCriteria()
    {
        $criteria = new Criteria(DealerProductTableMap::DATABASE_NAME);

        if ($this->isColumnModified(DealerProductTableMap::ID)) $criteria->add(DealerProductTableMap::ID, $this->id);
        if ($this->isColumnModified(DealerProductTableMap::DEALER_ID)) $criteria->add(DealerProductTableMap::DEALER_ID, $this->dealer_id);
        if ($this->isColumnModified(DealerProductTableMap::PRODUCT_ID)) $criteria->add(DealerProductTableMap::PRODUCT_ID, $this->product_id);
        if ($this->isColumnModified(DealerProductTableMap::CREATED_AT)) $criteria->add(DealerProductTableMap::CREATED_AT, $this->created_at);
        if ($this->isColumnModified(DealerProductTableMap::UPDATED_AT)) $criteria->add(DealerProductTableMap::UPDATED_AT, $this->updated_at);
        if ($this->isColumnModified(DealerProductTableMap::VERSION)) $criteria->add(DealerProductTableMap::VERSION, $this->version);
        if ($this->isColumnModified(DealerProductTableMap::VERSION_CREATED_AT)) $criteria->add(DealerProductTableMap::VERSION_CREATED_AT, $this->version_created_at);
        if ($this->isColumnModified(DealerProductTableMap::VERSION_CREATED_BY)) $criteria->add(DealerProductTableMap::VERSION_CREATED_BY, $this->version_created_by);

        return $criteria;
    }
859591
public function buildCriteria()
    {
        $criteria = new Criteria(UserRolePeer::DATABASE_NAME);

        if ($this->isColumnModified(UserRolePeer::USER_ID)) $criteria->add(UserRolePeer::USER_ID, $this->user_id);
        if ($this->isColumnModified(UserRolePeer::ROLE_ID)) $criteria->add(UserRolePeer::ROLE_ID, $this->role_id);

        return $criteria;
    }
136265
public function buildCriteria()
    {
        $criteria = new Criteria(C2MTableMap::DATABASE_NAME);

        if ($this->isColumnModified(C2MTableMap::COL_CATEGORY_ID)) {
            $criteria->add(C2MTableMap::COL_CATEGORY_ID, $this->category_id);
        }
        if ($this->isColumnModified(C2MTableMap::COL_MEDIA_ID)) {
            $criteria->add(C2MTableMap::COL_MEDIA_ID, $this->media_id);
        }

        return $criteria;
    }
1291527
public function buildCriteria()
    {
        $criteria = new Criteria(IndexEngineDriverConfigurationTableMap::DATABASE_NAME);

        if ($this->isColumnModified(IndexEngineDriverConfigurationTableMap::ID)) {
            $criteria->add(IndexEngineDriverConfigurationTableMap::ID, $this->id);
        }
        if ($this->isColumnModified(IndexEngineDriverConfigurationTableMap::CODE)) {
            $criteria->add(IndexEngineDriverConfigurationTableMap::CODE, $this->code);
        }
        if ($this->isColumnModified(IndexEngineDriverConfigurationTableMap::DRIVER_CODE)) {
            $criteria->add(IndexEngineDriverConfigurationTableMap::DRIVER_CODE, $this->driver_code);
        }
        if ($this->isColumnModified(IndexEngineDriverConfigurationTableMap::TITLE)) {
            $criteria->add(IndexEngineDriverConfigurationTableMap::TITLE, $this->title);
        }
        if ($this->isColumnModified(IndexEngineDriverConfigurationTableMap::SERIALIZED_CONFIGURATION)) {
            $criteria->add(IndexEngineDriverConfigurationTableMap::SERIALIZED_CONFIGURATION, $this->serialized_configuration);
        }

        return $criteria;
    }
1115598
public function buildCriteria()
    {
        $criteria = new Criteria(DealerContactInfoVersionTableMap::DATABASE_NAME);

        if ($this->isColumnModified(DealerContactInfoVersionTableMap::ID)) $criteria->add(DealerContactInfoVersionTableMap::ID, $this->id);
        if ($this->isColumnModified(DealerContactInfoVersionTableMap::CONTACT_ID)) $criteria->add(DealerContactInfoVersionTableMap::CONTACT_ID, $this->contact_id);
        if ($this->isColumnModified(DealerContactInfoVersionTableMap::CONTACT_TYPE)) $criteria->add(DealerContactInfoVersionTableMap::CONTACT_TYPE, $this->contact_type);
        if ($this->isColumnModified(DealerContactInfoVersionTableMap::CREATED_AT)) $criteria->add(DealerContactInfoVersionTableMap::CREATED_AT, $this->created_at);
        if ($this->isColumnModified(DealerContactInfoVersionTableMap::UPDATED_AT)) $criteria->add(DealerContactInfoVersionTableMap::UPDATED_AT, $this->updated_at);
        if ($this->isColumnModified(DealerContactInfoVersionTableMap::VERSION)) $criteria->add(DealerContactInfoVersionTableMap::VERSION, $this->version);
        if ($this->isColumnModified(DealerContactInfoVersionTableMap::VERSION_CREATED_AT)) $criteria->add(DealerContactInfoVersionTableMap::VERSION_CREATED_AT, $this->version_created_at);
        if ($this->isColumnModified(DealerContactInfoVersionTableMap::VERSION_CREATED_BY)) $criteria->add(DealerContactInfoVersionTableMap::VERSION_CREATED_BY, $this->version_created_by);
        if ($this->isColumnModified(DealerContactInfoVersionTableMap::CONTACT_ID_VERSION)) $criteria->add(DealerContactInfoVersionTableMap::CONTACT_ID_VERSION, $this->contact_id_version);

        return $criteria;
    }
1183541
public function buildCriteria()
    {
        $criteria = new Criteria(MapratingTableMap::DATABASE_NAME);

        if ($this->isColumnModified(MapratingTableMap::COL_ID)) {
            $criteria->add(MapratingTableMap::COL_ID, $this->id);
        }
        if ($this->isColumnModified(MapratingTableMap::COL_LOGIN)) {
            $criteria->add(MapratingTableMap::COL_LOGIN, $this->login);
        }
        if ($this->isColumnModified(MapratingTableMap::COL_MAPUID)) {
            $criteria->add(MapratingTableMap::COL_MAPUID, $this->mapuid);
        }
        if ($this->isColumnModified(MapratingTableMap::COL_SCORE)) {
            $criteria->add(MapratingTableMap::COL_SCORE, $this->score);
        }
        if ($this->isColumnModified(MapratingTableMap::COL_CREATED_AT)) {
            $criteria->add(MapratingTableMap::COL_CREATED_AT, $this->created_at);
        }
        if ($this->isColumnModified(MapratingTableMap::COL_UPDATED_AT)) {
            $criteria->add(MapratingTableMap::COL_UPDATED_AT, $this->updated_at);
        }

        return $criteria;
    }
62381
public function buildCriteria()
    {
        $criteria = new Criteria(CustomerCustomerGroupTableMap::DATABASE_NAME);

        if ($this->isColumnModified(CustomerCustomerGroupTableMap::CUSTOMER_ID)) $criteria->add(CustomerCustomerGroupTableMap::CUSTOMER_ID, $this->customer_id);
        if ($this->isColumnModified(CustomerCustomerGroupTableMap::CUSTOMER_GROUP_ID)) $criteria->add(CustomerCustomerGroupTableMap::CUSTOMER_GROUP_ID, $this->customer_group_id);

        return $criteria;
    }
640940
public function buildCriteria()
    {
        $criteria = new Criteria(RecordTableMap::DATABASE_NAME);

        if ($this->isColumnModified(RecordTableMap::COL_ID)) {
            $criteria->add(RecordTableMap::COL_ID, $this->id);
        }
        if ($this->isColumnModified(RecordTableMap::COL_MAPUID)) {
            $criteria->add(RecordTableMap::COL_MAPUID, $this->mapuid);
        }
        if ($this->isColumnModified(RecordTableMap::COL_NBLAPS)) {
            $criteria->add(RecordTableMap::COL_NBLAPS, $this->nblaps);
        }
        if ($this->isColumnModified(RecordTableMap::COL_SCORE)) {
            $criteria->add(RecordTableMap::COL_SCORE, $this->score);
        }
        if ($this->isColumnModified(RecordTableMap::COL_NBFINISH)) {
            $criteria->add(RecordTableMap::COL_NBFINISH, $this->nbfinish);
        }
        if ($this->isColumnModified(RecordTableMap::COL_AVGSCORE)) {
            $criteria->add(RecordTableMap::COL_AVGSCORE, $this->avgscore);
        }
        if ($this->isColumnModified(RecordTableMap::COL_CHECKPOINTS)) {
            $criteria->add(RecordTableMap::COL_CHECKPOINTS, $this->checkpoints);
        }
        if ($this->isColumnModified(RecordTableMap::COL_PLAYER_ID)) {
            $criteria->add(RecordTableMap::COL_PLAYER_ID, $this->player_id);
        }
        if ($this->isColumnModified(RecordTableMap::COL_CREATED_AT)) {
            $criteria->add(RecordTableMap::COL_CREATED_AT, $this->created_at);
        }
        if ($this->isColumnModified(RecordTableMap::COL_UPDATED_AT)) {
            $criteria->add(RecordTableMap::COL_UPDATED_AT, $this->updated_at);
        }

        return $criteria;
    }