/**
  * Exclude object from result
  *
  * @param   ChildTranslationCatalog $translationCatalog Object to remove from the list of results
  *
  * @return $this|ChildTranslationCatalogQuery The current query, for fluid interface
  */
 public function prune($translationCatalog = null)
 {
     if ($translationCatalog) {
         $this->addUsingAlias(TranslationCatalogTableMap::COL_ID, $translationCatalog->getId(), Criteria::NOT_EQUAL);
     }
     return $this;
 }
 /**
  * Filter the query by a related \App\Models\TranslationCatalog object
  *
  * @param \App\Models\TranslationCatalog|ObjectCollection $translationCatalog The related object(s) to use as filter
  * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL
  *
  * @throws \Propel\Runtime\Exception\PropelException
  *
  * @return ChildTranslationKeywordQuery The current query, for fluid interface
  */
 public function filterByTranslationCatalog($translationCatalog, $comparison = null)
 {
     if ($translationCatalog instanceof \App\Models\TranslationCatalog) {
         return $this->addUsingAlias(TranslationKeywordTableMap::COL_CATALOG_ID, $translationCatalog->getId(), $comparison);
     } elseif ($translationCatalog instanceof ObjectCollection) {
         if (null === $comparison) {
             $comparison = Criteria::IN;
         }
         return $this->addUsingAlias(TranslationKeywordTableMap::COL_CATALOG_ID, $translationCatalog->toKeyValue('PrimaryKey', 'Id'), $comparison);
     } else {
         throw new PropelException('filterByTranslationCatalog() only accepts arguments of type \\App\\Models\\TranslationCatalog or Collection');
     }
 }
 /**
  * Clears the current object, sets all attributes to their default values and removes
  * outgoing references as well as back-references (from other objects to this one. Results probably in a database
  * change of those foreign objects when you call `save` there).
  */
 public function clear()
 {
     if (null !== $this->aTranslationCatalog) {
         $this->aTranslationCatalog->removeTranslationKeyword($this);
     }
     $this->id = null;
     $this->catalog_id = null;
     $this->keyword = null;
     $this->created_at = null;
     $this->updated_at = null;
     $this->alreadyInSave = false;
     $this->clearAllReferences();
     $this->resetModified();
     $this->setNew(true);
     $this->setDeleted(false);
 }
 /**
  * Filter the query by a related \App\Models\TranslationCatalog object
  *
  * @param \App\Models\TranslationCatalog|ObjectCollection $translationCatalog the related object to use as filter
  * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL
  *
  * @return ChildTranslationApplicationQuery The current query, for fluid interface
  */
 public function filterByTranslationCatalog($translationCatalog, $comparison = null)
 {
     if ($translationCatalog instanceof \App\Models\TranslationCatalog) {
         return $this->addUsingAlias(TranslationApplicationTableMap::COL_ID, $translationCatalog->getApplicationId(), $comparison);
     } elseif ($translationCatalog instanceof ObjectCollection) {
         return $this->useTranslationCatalogQuery()->filterByPrimaryKeys($translationCatalog->getPrimaryKeys())->endUse();
     } else {
         throw new PropelException('filterByTranslationCatalog() only accepts arguments of type \\App\\Models\\TranslationCatalog or Collection');
     }
 }
 /**
  * @param ChildTranslationCatalog $translationCatalog The ChildTranslationCatalog object to add.
  */
 protected function doAddTranslationCatalog(ChildTranslationCatalog $translationCatalog)
 {
     $this->collTranslationCatalogs[] = $translationCatalog;
     $translationCatalog->setTranslationApplication($this);
 }