/**
  * Declares an association between this object and a ChildTranslationApplication object.
  *
  * @param  ChildTranslationApplication $v
  * @return $this|\App\Models\TranslationCatalog The current object (for fluent API support)
  * @throws PropelException
  */
 public function setTranslationApplication(ChildTranslationApplication $v = null)
 {
     if ($v === null) {
         $this->setApplicationId(NULL);
     } else {
         $this->setApplicationId($v->getId());
     }
     $this->aTranslationApplication = $v;
     // Add binding for other direction of this n:n relationship.
     // If this object has already been added to the ChildTranslationApplication object, it will not be re-added.
     if ($v !== null) {
         $v->addTranslationCatalog($this);
     }
     return $this;
 }
 /**
  * Filter the query by a related \App\Models\TranslationApplication object
  *
  * @param \App\Models\TranslationApplication|ObjectCollection $translationApplication 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 ChildTranslationCatalogQuery The current query, for fluid interface
  */
 public function filterByTranslationApplication($translationApplication, $comparison = null)
 {
     if ($translationApplication instanceof \App\Models\TranslationApplication) {
         return $this->addUsingAlias(TranslationCatalogTableMap::COL_APPLICATION_ID, $translationApplication->getId(), $comparison);
     } elseif ($translationApplication instanceof ObjectCollection) {
         if (null === $comparison) {
             $comparison = Criteria::IN;
         }
         return $this->addUsingAlias(TranslationCatalogTableMap::COL_APPLICATION_ID, $translationApplication->toKeyValue('PrimaryKey', 'Id'), $comparison);
     } else {
         throw new PropelException('filterByTranslationApplication() only accepts arguments of type \\App\\Models\\TranslationApplication or Collection');
     }
 }
 /**
  * Exclude object from result
  *
  * @param   ChildTranslationApplication $translationApplication Object to remove from the list of results
  *
  * @return $this|ChildTranslationApplicationQuery The current query, for fluid interface
  */
 public function prune($translationApplication = null)
 {
     if ($translationApplication) {
         $this->addUsingAlias(TranslationApplicationTableMap::COL_ID, $translationApplication->getId(), Criteria::NOT_EQUAL);
     }
     return $this;
 }