public function setPrimaryCriteria(ModelCriteria $criteria, Join $previousJoin)
    {
        $this->primaryCriteria = $criteria;
        $this->setPreviousJoin($previousJoin);
    }
public function setPrimaryCriteria(ModelCriteria $criteria, Join $previousJoin)
    {
        $this->primaryCriteria = $criteria;
        $this->setPreviousJoin($previousJoin);
    }
public function setPrimaryCriteria ( ModelCriteria $ criteria , Join $ previousJoin ) { $ this -> primaryCriteria = $ criteria ; $ this -> setPreviousJoin ( $ previousJoin ) ; }
Sets the primary Criteria for this secondary Criteria

@param ModelCriteria $criteria     The primary criteria
@param Join          $previousJoin The previousJoin for this ModelCriteria
Sets the primary Criteria for this secondary Criteria