/**
  * Filter the query by a related Negara object
  *
  * @param   Negara|PropelObjectCollection $negara The related object(s) to use as filter
  * @param     string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL
  *
  * @return                 PropinsiQuery The current query, for fluid interface
  * @throws PropelException - if the provided filter is invalid.
  */
 public function filterByNegara($negara, $comparison = null)
 {
     if ($negara instanceof Negara) {
         return $this->addUsingAlias(PropinsiPeer::ID_NEGARA, $negara->getId(), $comparison);
     } elseif ($negara instanceof PropelObjectCollection) {
         if (null === $comparison) {
             $comparison = Criteria::IN;
         }
         return $this->addUsingAlias(PropinsiPeer::ID_NEGARA, $negara->toKeyValue('PrimaryKey', 'Id'), $comparison);
     } else {
         throw new PropelException('filterByNegara() only accepts arguments of type Negara or PropelCollection');
     }
 }