/**
  * Filter the query by a related \ECP\FittingRuleRow object
  *
  * @param \ECP\FittingRuleRow|ObjectCollection $fittingRuleRow 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 ChildItemFilterTypeQuery The current query, for fluid interface
  */
 public function filterByFittingRuleRow($fittingRuleRow, $comparison = null)
 {
     if ($fittingRuleRow instanceof \ECP\FittingRuleRow) {
         return $this->addUsingAlias(ItemFilterTypeTableMap::COL_FITTINGRULEROWID, $fittingRuleRow->getId(), $comparison);
     } elseif ($fittingRuleRow instanceof ObjectCollection) {
         if (null === $comparison) {
             $comparison = Criteria::IN;
         }
         return $this->addUsingAlias(ItemFilterTypeTableMap::COL_FITTINGRULEROWID, $fittingRuleRow->toKeyValue('PrimaryKey', 'Id'), $comparison);
     } else {
         throw new PropelException('filterByFittingRuleRow() only accepts arguments of type \\ECP\\FittingRuleRow or Collection');
     }
 }