Brings this criteria back to its initial state, so that it
can be reused as if it was new. Except if the criteria has grown in
capacity, it is left at the current capacity.

@return void
327315
public function clear()
    {
        $this->map = array();
        $this->namedCriterions = array();
        $this->ignoreCase = false;
        $this->singleRecord = false;
        $this->selectModifiers = array();
        $this->selectColumns = array();
        $this->orderByColumns = array();
        $this->groupByColumns = array();
        $this->having = null;
        $this->asColumns = array();
        $this->joins = array();
        $this->selectQueries = array();
        $this->dbName = $this->originalDbName;
        $this->offset = 0;
        $this->limit = 0;
        $this->blobFlag = null;
        $this->aliases = array();
        $this->useTransaction = false;
        $this->conditionalProxy = null;
        $this->defaultCombineOperator = Criteria::LOGICAL_AND;
        $this->primaryTableName = null;
        $this->queryComment = null;

    }
1298326
public function buildCriteria()
    {
        $criteria = new Criteria(CustomerGroupTableMap::DATABASE_NAME);

        if ($this->isColumnModified(CustomerGroupTableMap::CODE)) $criteria->add(CustomerGroupTableMap::CODE, $this->code);
        if ($this->isColumnModified(CustomerGroupTableMap::IS_DEFAULT)) $criteria->add(CustomerGroupTableMap::IS_DEFAULT, $this->is_default);
        if ($this->isColumnModified(CustomerGroupTableMap::ID)) $criteria->add(CustomerGroupTableMap::ID, $this->id);
        if ($this->isColumnModified(CustomerGroupTableMap::CREATED_AT)) $criteria->add(CustomerGroupTableMap::CREATED_AT, $this->created_at);
        if ($this->isColumnModified(CustomerGroupTableMap::UPDATED_AT)) $criteria->add(CustomerGroupTableMap::UPDATED_AT, $this->updated_at);
        if ($this->isColumnModified(CustomerGroupTableMap::POSITION)) $criteria->add(CustomerGroupTableMap::POSITION, $this->position);

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

        if ($this->isColumnModified(LicensePeer::ID)) $criteria->add(LicensePeer::ID, $this->id);
        if ($this->isColumnModified(LicensePeer::MAX_CLIENTS)) $criteria->add(LicensePeer::MAX_CLIENTS, $this->max_clients);
        if ($this->isColumnModified(LicensePeer::DOMAIN)) $criteria->add(LicensePeer::DOMAIN, $this->domain);
        if ($this->isColumnModified(LicensePeer::VALID_UNTIL)) $criteria->add(LicensePeer::VALID_UNTIL, $this->valid_until);
        if ($this->isColumnModified(LicensePeer::SERIAL)) $criteria->add(LicensePeer::SERIAL, $this->serial);

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

        if ($this->isColumnModified(GamecurrencyTableMap::COL_ID)) {
            $criteria->add(GamecurrencyTableMap::COL_ID, $this->id);
        }
        if ($this->isColumnModified(GamecurrencyTableMap::COL_SENDERLOGIN)) {
            $criteria->add(GamecurrencyTableMap::COL_SENDERLOGIN, $this->senderlogin);
        }
        if ($this->isColumnModified(GamecurrencyTableMap::COL_RECEIVERLOGIN)) {
            $criteria->add(GamecurrencyTableMap::COL_RECEIVERLOGIN, $this->receiverlogin);
        }
        if ($this->isColumnModified(GamecurrencyTableMap::COL_TRANSACTIONID)) {
            $criteria->add(GamecurrencyTableMap::COL_TRANSACTIONID, $this->transactionid);
        }
        if ($this->isColumnModified(GamecurrencyTableMap::COL_BILLID)) {
            $criteria->add(GamecurrencyTableMap::COL_BILLID, $this->billid);
        }
        if ($this->isColumnModified(GamecurrencyTableMap::COL_AMOUNT)) {
            $criteria->add(GamecurrencyTableMap::COL_AMOUNT, $this->amount);
        }
        if ($this->isColumnModified(GamecurrencyTableMap::COL_MESSAGE)) {
            $criteria->add(GamecurrencyTableMap::COL_MESSAGE, $this->message);
        }
        if ($this->isColumnModified(GamecurrencyTableMap::COL_STATUS)) {
            $criteria->add(GamecurrencyTableMap::COL_STATUS, $this->status);
        }
        if ($this->isColumnModified(GamecurrencyTableMap::COL_DATETIME)) {
            $criteria->add(GamecurrencyTableMap::COL_DATETIME, $this->datetime);
        }

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

        if ($this->isColumnModified(TeamTableMap::ID)) $criteria->add(TeamTableMap::ID, $this->id);
        if ($this->isColumnModified(TeamTableMap::CREATED_AT)) $criteria->add(TeamTableMap::CREATED_AT, $this->created_at);
        if ($this->isColumnModified(TeamTableMap::UPDATED_AT)) $criteria->add(TeamTableMap::UPDATED_AT, $this->updated_at);

        return $criteria;
    }
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;
    }
929009
public function buildCriteria()
    {
        $criteria = new Criteria(DealerFolderTableMap::DATABASE_NAME);

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

        return $criteria;
    }
1327014
public function clear()
    {
        $this->id = null;
        $this->created_at = null;
        $this->updated_at = null;
        $this->alreadyInSave = false;
        $this->clearAllReferences();
        $this->resetModified();
        $this->setNew(true);
        $this->setDeleted(false);
    }
126371
public function buildCriteria()
    {
        $criteria = new Criteria(PositionTableMap::DATABASE_NAME);

        if ($this->isColumnModified(PositionTableMap::COL_ID)) {
            $criteria->add(PositionTableMap::COL_ID, $this->id);
        }
        if ($this->isColumnModified(PositionTableMap::COL_TITLE)) {
            $criteria->add(PositionTableMap::COL_TITLE, $this->title);
        }
        if ($this->isColumnModified(PositionTableMap::COL_SLUG)) {
            $criteria->add(PositionTableMap::COL_SLUG, $this->slug);
        }
        if ($this->isColumnModified(PositionTableMap::COL_SPORT_ID)) {
            $criteria->add(PositionTableMap::COL_SPORT_ID, $this->sport_id);
        }
        if ($this->isColumnModified(PositionTableMap::COL_DESCRIPTION)) {
            $criteria->add(PositionTableMap::COL_DESCRIPTION, $this->description);
        }

        return $criteria;
    }
73808
public function refresh()
    {
        $operationContext = $this->getCreationContext();

        $objectData = $this->getSession()->getBinding()->getObjectService()->getObject(
            $this->getRepositoryId(),
            $this->getId(),
            $operationContext->getQueryFilterString(),
            $operationContext->isIncludeAllowableActions(),
            $operationContext->getIncludeRelationships(),
            $operationContext->getRenditionFilterString(),
            $operationContext->isIncludePolicies(),
            $operationContext->isIncludeAcls(),
            null
        );

        $this->initialize(
            $this->getSession(),
            $this->getSession()->getTypeDefinition($this->getObjectType()->getId()),
            $this->creationContext,
            $objectData
        );
    }
29128
public function clear()
    {
        if (null !== $this->aPlayer) {
            $this->aPlayer->removeRecord($this);
        }
        $this->id = null;
        $this->mapuid = null;
        $this->nblaps = null;
        $this->score = null;
        $this->nbfinish = null;
        $this->avgscore = null;
        $this->checkpoints = null;
        $this->player_id = null;
        $this->created_at = null;
        $this->updated_at = null;
        $this->alreadyInSave = false;
        $this->clearAllReferences();
        $this->resetModified();
        $this->setNew(true);
        $this->setDeleted(false);
    }
682124
public function buildCriteria()
    {
        $criteria = new Criteria(SourceTableMap::DATABASE_NAME);

        if ($this->isColumnModified(SourceTableMap::COL_ID)) {
            $criteria->add(SourceTableMap::COL_ID, $this->id);
        }
        if ($this->isColumnModified(SourceTableMap::COL_TITLE)) {
            $criteria->add(SourceTableMap::COL_TITLE, $this->title);
        }
        if ($this->isColumnModified(SourceTableMap::COL_HOST)) {
            $criteria->add(SourceTableMap::COL_HOST, $this->host);
        }
        if ($this->isColumnModified(SourceTableMap::COL_ENDPOINT)) {
            $criteria->add(SourceTableMap::COL_ENDPOINT, $this->endpoint);
        }
        if ($this->isColumnModified(SourceTableMap::COL_CREATED_AT)) {
            $criteria->add(SourceTableMap::COL_CREATED_AT, $this->created_at);
        }
        if ($this->isColumnModified(SourceTableMap::COL_UPDATED_AT)) {
            $criteria->add(SourceTableMap::COL_UPDATED_AT, $this->updated_at);
        }

        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;
    }
711008
public function buildCriteria()
    {
        $criteria = new Criteria(UserTableMap::DATABASE_NAME);

        if ($this->isColumnModified(UserTableMap::COL_ID)) {
            $criteria->add(UserTableMap::COL_ID, $this->id);
        }
        if ($this->isColumnModified(UserTableMap::COL_USERNAME)) {
            $criteria->add(UserTableMap::COL_USERNAME, $this->username);
        }
        if ($this->isColumnModified(UserTableMap::COL_PASSWORD)) {
            $criteria->add(UserTableMap::COL_PASSWORD, $this->password);
        }
        if ($this->isColumnModified(UserTableMap::COL_FIRST_NAME)) {
            $criteria->add(UserTableMap::COL_FIRST_NAME, $this->first_name);
        }
        if ($this->isColumnModified(UserTableMap::COL_LAST_NAME)) {
            $criteria->add(UserTableMap::COL_LAST_NAME, $this->last_name);
        }
        if ($this->isColumnModified(UserTableMap::COL_CREATE_DATE)) {
            $criteria->add(UserTableMap::COL_CREATE_DATE, $this->create_date);
        }
        if ($this->isColumnModified(UserTableMap::COL_UPDATE_DATE)) {
            $criteria->add(UserTableMap::COL_UPDATE_DATE, $this->update_date);
        }
        if ($this->isColumnModified(UserTableMap::COL_STATUS)) {
            $criteria->add(UserTableMap::COL_STATUS, $this->status);
        }

        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;
    }
924201
public function buildCriteria()
    {
        $criteria = new Criteria(DealerFolderVersionTableMap::DATABASE_NAME);

        if ($this->isColumnModified(DealerFolderVersionTableMap::ID)) $criteria->add(DealerFolderVersionTableMap::ID, $this->id);
        if ($this->isColumnModified(DealerFolderVersionTableMap::DEALER_ID)) $criteria->add(DealerFolderVersionTableMap::DEALER_ID, $this->dealer_id);
        if ($this->isColumnModified(DealerFolderVersionTableMap::FOLDER_ID)) $criteria->add(DealerFolderVersionTableMap::FOLDER_ID, $this->folder_id);
        if ($this->isColumnModified(DealerFolderVersionTableMap::CREATED_AT)) $criteria->add(DealerFolderVersionTableMap::CREATED_AT, $this->created_at);
        if ($this->isColumnModified(DealerFolderVersionTableMap::UPDATED_AT)) $criteria->add(DealerFolderVersionTableMap::UPDATED_AT, $this->updated_at);
        if ($this->isColumnModified(DealerFolderVersionTableMap::VERSION)) $criteria->add(DealerFolderVersionTableMap::VERSION, $this->version);
        if ($this->isColumnModified(DealerFolderVersionTableMap::VERSION_CREATED_AT)) $criteria->add(DealerFolderVersionTableMap::VERSION_CREATED_AT, $this->version_created_at);
        if ($this->isColumnModified(DealerFolderVersionTableMap::VERSION_CREATED_BY)) $criteria->add(DealerFolderVersionTableMap::VERSION_CREATED_BY, $this->version_created_by);
        if ($this->isColumnModified(DealerFolderVersionTableMap::DEALER_ID_VERSION)) $criteria->add(DealerFolderVersionTableMap::DEALER_ID_VERSION, $this->dealer_id_version);
        if ($this->isColumnModified(DealerFolderVersionTableMap::FOLDER_ID_VERSION)) $criteria->add(DealerFolderVersionTableMap::FOLDER_ID_VERSION, $this->folder_id_version);

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

        if ($this->isColumnModified(ObjectTableMap::COL_ID)) {
            $criteria->add(ObjectTableMap::COL_ID, $this->id);
        }
        if ($this->isColumnModified(ObjectTableMap::COL_TITLE)) {
            $criteria->add(ObjectTableMap::COL_TITLE, $this->title);
        }
        if ($this->isColumnModified(ObjectTableMap::COL_SLUG)) {
            $criteria->add(ObjectTableMap::COL_SLUG, $this->slug);
        }
        if ($this->isColumnModified(ObjectTableMap::COL_FIXED)) {
            $criteria->add(ObjectTableMap::COL_FIXED, $this->fixed);
        }
        if ($this->isColumnModified(ObjectTableMap::COL_DESCRIPTION)) {
            $criteria->add(ObjectTableMap::COL_DESCRIPTION, $this->description);
        }
        if ($this->isColumnModified(ObjectTableMap::COL_SPORT_ID)) {
            $criteria->add(ObjectTableMap::COL_SPORT_ID, $this->sport_id);
        }
        if ($this->isColumnModified(ObjectTableMap::COL_SKILL_COUNT)) {
            $criteria->add(ObjectTableMap::COL_SKILL_COUNT, $this->skill_count);
        }

        return $criteria;
    }