/**
  * Clears the current object, sets all attributes to their default values and removes
  * outgoing references as well as back-references (from other objects to this one. Results probably in a database
  * change of those foreign objects when you call `save` there).
  */
 public function clear()
 {
     if (null !== $this->aFittingRuleRow) {
         $this->aFittingRuleRow->removeItemFilterType($this);
     }
     $this->id = null;
     $this->fittingrulerowid = null;
     $this->itemid = null;
     $this->alreadyInSave = false;
     $this->clearAllReferences();
     $this->resetModified();
     $this->setNew(true);
     $this->setDeleted(false);
 }
 /**
  * Clears the current object, sets all attributes to their default values and removes
  * outgoing references as well as back-references (from other objects to this one. Results probably in a database
  * change of those foreign objects when you call `save` there).
  */
 public function clear()
 {
     if (null !== $this->aFittingRuleRow) {
         $this->aFittingRuleRow->removeItemFilterRule($this);
     }
     if (null !== $this->aconcatenationObj) {
         $this->aconcatenationObj->removeItemFilterRuleRelatedByConcatenation($this);
     }
     if (null !== $this->aItemFilterDef) {
         $this->aItemFilterDef->removeItemFilterRule($this);
     }
     if (null !== $this->acomparisonObj) {
         $this->acomparisonObj->removeItemFilterRuleRelatedByComparison($this);
     }
     $this->id = null;
     $this->fittingrulerowid = null;
     $this->ind3x = null;
     $this->concatenation = null;
     $this->itemfilterdefid = null;
     $this->comparison = null;
     $this->value = null;
     $this->content1 = null;
     $this->content2 = null;
     $this->alreadyInSave = false;
     $this->clearAllReferences();
     $this->resetModified();
     $this->setNew(true);
     $this->setDeleted(false);
 }
 /**
  * Exclude object from result
  *
  * @param   ChildFittingRuleRow $fittingRuleRow Object to remove from the list of results
  *
  * @return $this|ChildFittingRuleRowQuery The current query, for fluid interface
  */
 public function prune($fittingRuleRow = null)
 {
     if ($fittingRuleRow) {
         $this->addUsingAlias(FittingRuleRowTableMap::COL_ID, $fittingRuleRow->getId(), Criteria::NOT_EQUAL);
     }
     return $this;
 }
 /**
  * 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');
     }
 }
 /**
  * @param ChildFittingRuleRow $fittingRuleRow The ChildFittingRuleRow object to add.
  */
 protected function doAddFittingRuleRow(ChildFittingRuleRow $fittingRuleRow)
 {
     $this->collFittingRuleRows[] = $fittingRuleRow;
     $fittingRuleRow->setFittingRuleEntity($this);
 }
 /**
  * Filter the query by a related \ECP\FittingRuleRow object
  *
  * @param \ECP\FittingRuleRow|ObjectCollection $fittingRuleRow the related object to use as filter
  * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL
  *
  * @return ChildFittingRuleEntityQuery The current query, for fluid interface
  */
 public function filterByFittingRuleRow($fittingRuleRow, $comparison = null)
 {
     if ($fittingRuleRow instanceof \ECP\FittingRuleRow) {
         return $this->addUsingAlias(FittingRuleEntityTableMap::COL_ID, $fittingRuleRow->getFittingruleentityid(), $comparison);
     } elseif ($fittingRuleRow instanceof ObjectCollection) {
         return $this->useFittingRuleRowQuery()->filterByPrimaryKeys($fittingRuleRow->getPrimaryKeys())->endUse();
     } else {
         throw new PropelException('filterByFittingRuleRow() only accepts arguments of type \\ECP\\FittingRuleRow or Collection');
     }
 }
 /**
  * @param ChildFittingRuleRow $fittingRuleRowRelatedByComparison The ChildFittingRuleRow object to add.
  */
 protected function doAddFittingRuleRowRelatedByComparison(ChildFittingRuleRow $fittingRuleRowRelatedByComparison)
 {
     $this->collFittingRuleRowsRelatedByComparison[] = $fittingRuleRowRelatedByComparison;
     $fittingRuleRowRelatedByComparison->setcomparisonObj($this);
 }