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