public function equals(CrudInterface $comparison_obj) { $returnValue = FALSE; if ($comparison_obj instanceof SeasonTeamPlayer) { if ($this->getSeasonTeamId() == $comparison_obj->getSeasonTeamId() && $this->getPlayerId() == $comparison_obj->getPlayerId() && $this->getNumber() == $comparison_obj->getNumber()) { $returnValue = TRUE; } } return $returnValue; }