public function setCountryRestriction(countryRestriction $restriction) { parent::setCountryRestrictType($restriction->getType()); parent::setCountryRestrictList($restriction->getCountryList()); }