示例#1
0
 public function equals(CrudInterface $comparison_obj)
 {
     $returnValue = FALSE;
     if ($comparison_obj instanceof GameGoal) {
         if ($this->getGameId() == $comparison_obj->getGameId() && $this->getPeriodId() == $comparison_obj->getPeriodId() && $this->getTime() == $comparison_obj->getTime() && $this->getSeasonTeamPlayerId() == $comparison_obj->getSeasonTeamPlayerId() && $this->getAssistSeasonTeamPlayerId() == $comparison_obj->getAssistSeasonTeamPlayerId() && $this->getSecondAssistSeasonTeamPlayerId() == $comparison_obj->getSecondAssistSeasonTeamPlayerId()) {
             $returnValue = TRUE;
         }
     }
     return $returnValue;
 }