/**
  * Exclude object from result
  *
  * @param     MeshingTrustRemote $meshingTrustRemote Object to remove from the list of results
  *
  * @return    MeshingTrustRemoteQuery The current query, for fluid interface
  */
 public function prune($meshingTrustRemote = null)
 {
     if ($meshingTrustRemote) {
         $this->addCond('pruneCond0', $this->getAliasedColName(MeshingTrustRemotePeer::FROM_OWN_NODE_ID), $meshingTrustRemote->getFromOwnNodeId(), Criteria::NOT_EQUAL);
         $this->addCond('pruneCond1', $this->getAliasedColName(MeshingTrustRemotePeer::IN_OWN_NODE_ID), $meshingTrustRemote->getInOwnNodeId(), Criteria::NOT_EQUAL);
         $this->addCond('pruneCond2', $this->getAliasedColName(MeshingTrustRemotePeer::KNOWN_NODE_ID), $meshingTrustRemote->getKnownNodeId(), Criteria::NOT_EQUAL);
         $this->combine(array('pruneCond0', 'pruneCond1', 'pruneCond2'), Criteria::LOGICAL_OR);
     }
     return $this;
 }
 /**
  * Filter the query by a related MeshingTrustRemote object
  *
  * @param     MeshingTrustRemote $meshingTrustRemote  the related object to use as filter
  * @param     string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL
  *
  * @return    P2POwnNodeQuery The current query, for fluid interface
  */
 public function filterByMeshingTrustRemoteRelatedByFromOwnNodeId($meshingTrustRemote, $comparison = null)
 {
     if ($meshingTrustRemote instanceof MeshingTrustRemote) {
         return $this->addUsingAlias(P2POwnNodePeer::ID, $meshingTrustRemote->getFromOwnNodeId(), $comparison);
     } elseif ($meshingTrustRemote instanceof PropelCollection) {
         return $this->useMeshingTrustRemoteRelatedByFromOwnNodeIdQuery()->filterByPrimaryKeys($meshingTrustRemote->getPrimaryKeys())->endUse();
     } else {
         throw new PropelException('filterByMeshingTrustRemoteRelatedByFromOwnNodeId() only accepts arguments of type MeshingTrustRemote or PropelCollection');
     }
 }