/**
  * 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');
     }
 }
 /**
  * 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;
 }
 /**
  * Declares an association between this object and a ChildTranslationCatalog object.
  *
  * @param  ChildTranslationCatalog $v
  * @return $this|\App\Models\TranslationKeyword The current object (for fluent API support)
  * @throws PropelException
  */
 public function setTranslationCatalog(ChildTranslationCatalog $v = null)
 {
     if ($v === null) {
         $this->setCatalogId(NULL);
     } else {
         $this->setCatalogId($v->getId());
     }
     $this->aTranslationCatalog = $v;
     // Add binding for other direction of this n:n relationship.
     // If this object has already been added to the ChildTranslationCatalog object, it will not be re-added.
     if ($v !== null) {
         $v->addTranslationKeyword($this);
     }
     return $this;
 }