/**
  * Exclude object from result
  *
  * @param   ChildCompositionRow $compositionRow Object to remove from the list of results
  *
  * @return $this|ChildCompositionRowQuery The current query, for fluid interface
  */
 public function prune($compositionRow = null)
 {
     if ($compositionRow) {
         $this->addUsingAlias(CompositionRowTableMap::COL_ID, $compositionRow->getId(), Criteria::NOT_EQUAL);
     }
     return $this;
 }
 /**
  * Filter the query by a related \ECP\CompositionRow object
  *
  * @param \ECP\CompositionRow|ObjectCollection $compositionRow 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 ChildFitEntryQuery The current query, for fluid interface
  */
 public function filterByCompositionRow($compositionRow, $comparison = null)
 {
     if ($compositionRow instanceof \ECP\CompositionRow) {
         return $this->addUsingAlias(FitEntryTableMap::COL_COMPOSITIONROWID, $compositionRow->getId(), $comparison);
     } elseif ($compositionRow instanceof ObjectCollection) {
         if (null === $comparison) {
             $comparison = Criteria::IN;
         }
         return $this->addUsingAlias(FitEntryTableMap::COL_COMPOSITIONROWID, $compositionRow->toKeyValue('PrimaryKey', 'Id'), $comparison);
     } else {
         throw new PropelException('filterByCompositionRow() only accepts arguments of type \\ECP\\CompositionRow or Collection');
     }
 }
 /**
  * Declares an association between this object and a ChildCompositionRow object.
  *
  * @param  ChildCompositionRow $v
  * @return $this|\ECP\FitEntry The current object (for fluent API support)
  * @throws PropelException
  */
 public function setCompositionRow(ChildCompositionRow $v = null)
 {
     if ($v === null) {
         $this->setCompositionrowid(NULL);
     } else {
         $this->setCompositionrowid($v->getId());
     }
     $this->aCompositionRow = $v;
     // Add binding for other direction of this n:n relationship.
     // If this object has already been added to the ChildCompositionRow object, it will not be re-added.
     if ($v !== null) {
         $v->addFitEntry($this);
     }
     return $this;
 }