vendor/shopware/core/System/Language/LanguageEntity.php line 64

Open in your IDE?
  1. <?php declare(strict_types=1);
  2. namespace Shopware\Core\System\Language;
  3. use Shopware\Core\Checkout\Customer\Aggregate\CustomerGroupTranslation\CustomerGroupTranslationCollection;
  4. use Shopware\Core\Checkout\Customer\CustomerCollection;
  5. use Shopware\Core\Checkout\Document\Aggregate\DocumentTypeTranslation\DocumentTypeTranslationCollection;
  6. use Shopware\Core\Checkout\Order\OrderCollection;
  7. use Shopware\Core\Checkout\Payment\Aggregate\PaymentMethodTranslation\PaymentMethodTranslationCollection;
  8. use Shopware\Core\Checkout\Promotion\Aggregate\PromotionTranslation\PromotionTranslationCollection;
  9. use Shopware\Core\Checkout\Shipping\Aggregate\ShippingMethodTranslation\ShippingMethodTranslationCollection;
  10. use Shopware\Core\Content\Category\Aggregate\CategoryTranslation\CategoryTranslationCollection;
  11. use Shopware\Core\Content\Cms\Aggregate\CmsPageTranslation\CmsPageTranslationEntity;
  12. use Shopware\Core\Content\Cms\Aggregate\CmsSlotTranslation\CmsSlotTranslationEntity;
  13. use Shopware\Core\Content\ImportExport\ImportExportProfileTranslationCollection;
  14. use Shopware\Core\Content\LandingPage\Aggregate\LandingPageTranslation\LandingPageTranslationCollection;
  15. use Shopware\Core\Content\MailTemplate\Aggregate\MailHeaderFooter\MailHeaderFooterCollection;
  16. use Shopware\Core\Content\MailTemplate\Aggregate\MailTemplateType\MailTemplateTypeDefinition;
  17. use Shopware\Core\Content\MailTemplate\MailTemplateCollection;
  18. use Shopware\Core\Content\Media\Aggregate\MediaTranslation\MediaTranslationCollection;
  19. use Shopware\Core\Content\Newsletter\Aggregate\NewsletterRecipient\NewsletterRecipientCollection;
  20. use Shopware\Core\Content\Product\Aggregate\ProductCrossSellingTranslation\ProductCrossSellingTranslationCollection;
  21. use Shopware\Core\Content\Product\Aggregate\ProductFeatureSetTranslation\ProductFeatureSetTranslationCollection;
  22. use Shopware\Core\Content\Product\Aggregate\ProductKeywordDictionary\ProductKeywordDictionaryCollection;
  23. use Shopware\Core\Content\Product\Aggregate\ProductManufacturerTranslation\ProductManufacturerTranslationCollection;
  24. use Shopware\Core\Content\Product\Aggregate\ProductReview\ProductReviewCollection;
  25. use Shopware\Core\Content\Product\Aggregate\ProductSearchConfig\ProductSearchConfigEntity;
  26. use Shopware\Core\Content\Product\Aggregate\ProductSearchKeyword\ProductSearchKeywordCollection;
  27. use Shopware\Core\Content\Product\Aggregate\ProductTranslation\ProductTranslationCollection;
  28. use Shopware\Core\Content\Product\SalesChannel\Sorting\ProductSortingTranslationCollection;
  29. use Shopware\Core\Content\ProductStream\Aggregate\ProductStreamTranslation\ProductStreamTranslationCollection;
  30. use Shopware\Core\Content\Property\Aggregate\PropertyGroupOptionTranslation\PropertyGroupOptionTranslationCollection;
  31. use Shopware\Core\Content\Property\Aggregate\PropertyGroupTranslation\PropertyGroupTranslationCollection;
  32. use Shopware\Core\Content\Seo\SeoUrl\SeoUrlCollection;
  33. use Shopware\Core\Framework\App\Aggregate\ActionButtonTranslation\ActionButtonTranslationCollection;
  34. use Shopware\Core\Framework\App\Aggregate\AppScriptConditionTranslation\AppScriptConditionTranslationCollection;
  35. use Shopware\Core\Framework\App\Aggregate\AppTranslation\AppTranslationCollection;
  36. use Shopware\Core\Framework\App\Aggregate\CmsBlockTranslation\AppCmsBlockTranslationCollection;
  37. use Shopware\Core\Framework\App\Aggregate\FlowActionTranslation\AppFlowActionTranslationCollection;
  38. use Shopware\Core\Framework\DataAbstractionLayer\Entity;
  39. use Shopware\Core\Framework\DataAbstractionLayer\EntityCollection;
  40. use Shopware\Core\Framework\DataAbstractionLayer\EntityCustomFieldsTrait;
  41. use Shopware\Core\Framework\DataAbstractionLayer\EntityIdTrait;
  42. use Shopware\Core\Framework\Plugin\Aggregate\PluginTranslation\PluginTranslationCollection;
  43. use Shopware\Core\Framework\Struct\Collection;
  44. use Shopware\Core\System\Country\Aggregate\CountryStateTranslation\CountryStateTranslationCollection;
  45. use Shopware\Core\System\Country\Aggregate\CountryTranslation\CountryTranslationCollection;
  46. use Shopware\Core\System\Currency\Aggregate\CurrencyTranslation\CurrencyTranslationCollection;
  47. use Shopware\Core\System\DeliveryTime\DeliveryTimeCollection;
  48. use Shopware\Core\System\Locale\Aggregate\LocaleTranslation\LocaleTranslationCollection;
  49. use Shopware\Core\System\Locale\LocaleEntity;
  50. use Shopware\Core\System\NumberRange\Aggregate\NumberRangeTranslation\NumberRangeTranslationCollection;
  51. use Shopware\Core\System\NumberRange\Aggregate\NumberRangeTypeTranslation\NumberRangeTypeTranslationCollection;
  52. use Shopware\Core\System\SalesChannel\Aggregate\SalesChannelDomain\SalesChannelDomainCollection;
  53. use Shopware\Core\System\SalesChannel\Aggregate\SalesChannelTranslation\SalesChannelTranslationCollection;
  54. use Shopware\Core\System\SalesChannel\Aggregate\SalesChannelTypeTranslation\SalesChannelTypeTranslationCollection;
  55. use Shopware\Core\System\SalesChannel\SalesChannelCollection;
  56. use Shopware\Core\System\Salutation\Aggregate\SalutationTranslation\SalutationTranslationCollection;
  57. use Shopware\Core\System\StateMachine\Aggregation\StateMachineState\StateMachineStateTranslationCollection;
  58. use Shopware\Core\System\StateMachine\StateMachineTranslationCollection;
  59. use Shopware\Core\System\Tax\Aggregate\TaxRuleTypeTranslation\TaxRuleTypeTranslationCollection;
  60. use Shopware\Core\System\Unit\Aggregate\UnitTranslation\UnitTranslationCollection;
  61. class LanguageEntity extends Entity
  62. {
  63.     use EntityIdTrait;
  64.     use EntityCustomFieldsTrait;
  65.     /**
  66.      * @var string|null
  67.      */
  68.     protected $parentId;
  69.     /**
  70.      * @var string
  71.      */
  72.     protected $localeId;
  73.     /**
  74.      * @var string|null
  75.      */
  76.     protected $translationCodeId;
  77.     /**
  78.      * @var LocaleEntity|null
  79.      */
  80.     protected $translationCode;
  81.     /**
  82.      * @var string
  83.      */
  84.     protected $name;
  85.     /**
  86.      * @var LocaleEntity|null
  87.      */
  88.     protected $locale;
  89.     /**
  90.      * @var LanguageEntity|null
  91.      */
  92.     protected $parent;
  93.     /**
  94.      * @var LanguageCollection|null
  95.      */
  96.     protected $children;
  97.     /**
  98.      * @var SalesChannelCollection|null
  99.      */
  100.     protected $salesChannels;
  101.     /**
  102.      * @var CustomerCollection|null
  103.      */
  104.     protected $customers;
  105.     /**
  106.      * @var SalesChannelCollection|null
  107.      */
  108.     protected $salesChannelDefaultAssignments;
  109.     /**
  110.      * @var CategoryTranslationCollection|null
  111.      */
  112.     protected $categoryTranslations;
  113.     /**
  114.      * @var CountryStateTranslationCollection|null
  115.      */
  116.     protected $countryStateTranslations;
  117.     /**
  118.      * @var CountryTranslationCollection|null
  119.      */
  120.     protected $countryTranslations;
  121.     /**
  122.      * @var CurrencyTranslationCollection|null
  123.      */
  124.     protected $currencyTranslations;
  125.     /**
  126.      * @var CustomerGroupTranslationCollection|null
  127.      */
  128.     protected $customerGroupTranslations;
  129.     /**
  130.      * @var LocaleTranslationCollection|null
  131.      */
  132.     protected $localeTranslations;
  133.     /**
  134.      * @var MediaTranslationCollection|null
  135.      */
  136.     protected $mediaTranslations;
  137.     /**
  138.      * @var PaymentMethodTranslationCollection|null
  139.      */
  140.     protected $paymentMethodTranslations;
  141.     /**
  142.      * @var ProductManufacturerTranslationCollection|null
  143.      */
  144.     protected $productManufacturerTranslations;
  145.     /**
  146.      * @var ProductTranslationCollection|null
  147.      */
  148.     protected $productTranslations;
  149.     /**
  150.      * @var ShippingMethodTranslationCollection|null
  151.      */
  152.     protected $shippingMethodTranslations;
  153.     /**
  154.      * @var UnitTranslationCollection|null
  155.      */
  156.     protected $unitTranslations;
  157.     /**
  158.      * @var PropertyGroupTranslationCollection|null
  159.      */
  160.     protected $propertyGroupTranslations;
  161.     /**
  162.      * @var PropertyGroupOptionTranslationCollection|null
  163.      */
  164.     protected $propertyGroupOptionTranslations;
  165.     /**
  166.      * @var SalesChannelTranslationCollection|null
  167.      */
  168.     protected $salesChannelTranslations;
  169.     /**
  170.      * @var SalesChannelTypeTranslationCollection|null
  171.      */
  172.     protected $salesChannelTypeTranslations;
  173.     /**
  174.      * @var SalutationTranslationCollection|null
  175.      */
  176.     protected $salutationTranslations;
  177.     /**
  178.      * @var SalesChannelDomainCollection|null
  179.      */
  180.     protected $salesChannelDomains;
  181.     /**
  182.      * @var PluginTranslationCollection|null
  183.      */
  184.     protected $pluginTranslations;
  185.     /**
  186.      * @var ProductStreamTranslationCollection|null
  187.      */
  188.     protected $productStreamTranslations;
  189.     /**
  190.      * @var StateMachineTranslationCollection|null
  191.      */
  192.     protected $stateMachineTranslations;
  193.     /**
  194.      * @var StateMachineStateTranslationCollection|null
  195.      */
  196.     protected $stateMachineStateTranslations;
  197.     /**
  198.      * @var EntityCollection<CmsPageTranslationEntity>|null
  199.      */
  200.     protected $cmsPageTranslations;
  201.     /**
  202.      * @var EntityCollection<CmsSlotTranslationEntity>|null
  203.      */
  204.     protected $cmsSlotTranslations;
  205.     /**
  206.      * @var MailTemplateCollection|null
  207.      */
  208.     protected $mailTemplateTranslations;
  209.     /**
  210.      * @var MailHeaderFooterCollection|null
  211.      */
  212.     protected $mailHeaderFooterTranslations;
  213.     /**
  214.      * @var DocumentTypeTranslationCollection|null
  215.      */
  216.     protected $documentTypeTranslations;
  217.     /**
  218.      * @var DeliveryTimeCollection|null
  219.      */
  220.     protected $deliveryTimeTranslations;
  221.     /**
  222.      * @var NewsletterRecipientCollection|null
  223.      */
  224.     protected $newsletterRecipients;
  225.     /**
  226.      * @var OrderCollection|null
  227.      */
  228.     protected $orders;
  229.     /**
  230.      * @var NumberRangeTypeTranslationCollection|null
  231.      */
  232.     protected $numberRangeTypeTranslations;
  233.     /**
  234.      * @var ProductSearchKeywordCollection|null
  235.      */
  236.     protected $productSearchKeywords;
  237.     /**
  238.      * @var ProductKeywordDictionaryCollection|null
  239.      */
  240.     protected $productKeywordDictionaries;
  241.     /**
  242.      * @var MailTemplateTypeDefinition|null
  243.      */
  244.     protected $mailTemplateTypeTranslations;
  245.     /**
  246.      * @var PromotionTranslationCollection|null
  247.      */
  248.     protected $promotionTranslations;
  249.     /**
  250.      * @var NumberRangeTranslationCollection|null
  251.      */
  252.     protected $numberRangeTranslations;
  253.     /**
  254.      * @var ProductReviewCollection|null
  255.      */
  256.     protected $productReviews;
  257.     /**
  258.      * @var SeoUrlCollection|null
  259.      */
  260.     protected $seoUrlTranslations;
  261.     /**
  262.      * @var TaxRuleTypeTranslationCollection|null
  263.      */
  264.     protected $taxRuleTypeTranslations;
  265.     /**
  266.      * @var ProductCrossSellingTranslationCollection|null
  267.      */
  268.     protected $productCrossSellingTranslations;
  269.     /**
  270.      * @var ImportExportProfileTranslationCollection|null
  271.      */
  272.     protected $importExportProfileTranslations;
  273.     /**
  274.      * @var ProductFeatureSetTranslationCollection|null
  275.      */
  276.     protected $productFeatureSetTranslations;
  277.     /**
  278.      * @var AppTranslationCollection|null
  279.      */
  280.     protected $appTranslations;
  281.     /**
  282.      * @var ActionButtonTranslationCollection|null
  283.      */
  284.     protected $actionButtonTranslations;
  285.     /**
  286.      * @var ProductSortingTranslationCollection|null
  287.      */
  288.     protected $productSortingTranslations;
  289.     /**
  290.      * @var ProductSearchConfigEntity|null
  291.      */
  292.     protected $productSearchConfig;
  293.     /**
  294.      * @var LandingPageTranslationCollection|null
  295.      */
  296.     protected $landingPageTranslations;
  297.     /**
  298.      * @var AppCmsBlockTranslationCollection|null
  299.      */
  300.     protected $appCmsBlockTranslations;
  301.     /**
  302.      * @var AppScriptConditionTranslationCollection|null
  303.      */
  304.     protected $appScriptConditionTranslations;
  305.     /**
  306.      * @var AppFlowActionTranslationCollection|null
  307.      */
  308.     protected $appFlowActionTranslations;
  309.     public function getMailHeaderFooterTranslations(): ?MailHeaderFooterCollection
  310.     {
  311.         return $this->mailHeaderFooterTranslations;
  312.     }
  313.     public function setMailHeaderFooterTranslations(MailHeaderFooterCollection $mailHeaderFooterTranslations): void
  314.     {
  315.         $this->mailHeaderFooterTranslations $mailHeaderFooterTranslations;
  316.     }
  317.     public function getParentId(): ?string
  318.     {
  319.         return $this->parentId;
  320.     }
  321.     public function setParentId(?string $parentId): void
  322.     {
  323.         $this->parentId $parentId;
  324.     }
  325.     public function getLocaleId(): string
  326.     {
  327.         return $this->localeId;
  328.     }
  329.     public function setLocaleId(string $localeId): void
  330.     {
  331.         $this->localeId $localeId;
  332.     }
  333.     public function getTranslationCodeId(): ?string
  334.     {
  335.         return $this->translationCodeId;
  336.     }
  337.     public function setTranslationCodeId(?string $translationCodeId): void
  338.     {
  339.         $this->translationCodeId $translationCodeId;
  340.     }
  341.     public function getTranslationCode(): ?LocaleEntity
  342.     {
  343.         return $this->translationCode;
  344.     }
  345.     public function setTranslationCode(?LocaleEntity $translationCode): void
  346.     {
  347.         $this->translationCode $translationCode;
  348.     }
  349.     public function getName(): string
  350.     {
  351.         return $this->name;
  352.     }
  353.     public function setName(string $name): void
  354.     {
  355.         $this->name $name;
  356.     }
  357.     public function getLocale(): ?LocaleEntity
  358.     {
  359.         return $this->locale;
  360.     }
  361.     public function setLocale(LocaleEntity $locale): void
  362.     {
  363.         $this->locale $locale;
  364.     }
  365.     public function getParent(): ?LanguageEntity
  366.     {
  367.         return $this->parent;
  368.     }
  369.     public function setParent(LanguageEntity $parent): void
  370.     {
  371.         $this->parent $parent;
  372.     }
  373.     public function getChildren(): ?LanguageCollection
  374.     {
  375.         return $this->children;
  376.     }
  377.     public function setChildren(LanguageCollection $children): void
  378.     {
  379.         $this->children $children;
  380.     }
  381.     public function getCategoryTranslations(): ?CategoryTranslationCollection
  382.     {
  383.         return $this->categoryTranslations;
  384.     }
  385.     public function setCategoryTranslations(CategoryTranslationCollection $categoryTranslations): void
  386.     {
  387.         $this->categoryTranslations $categoryTranslations;
  388.     }
  389.     public function getCountryStateTranslations(): ?CountryStateTranslationCollection
  390.     {
  391.         return $this->countryStateTranslations;
  392.     }
  393.     public function setCountryStateTranslations(CountryStateTranslationCollection $countryStateTranslations): void
  394.     {
  395.         $this->countryStateTranslations $countryStateTranslations;
  396.     }
  397.     public function getCountryTranslations(): ?CountryTranslationCollection
  398.     {
  399.         return $this->countryTranslations;
  400.     }
  401.     public function setCountryTranslations(CountryTranslationCollection $countryTranslations): void
  402.     {
  403.         $this->countryTranslations $countryTranslations;
  404.     }
  405.     public function getCurrencyTranslations(): ?CurrencyTranslationCollection
  406.     {
  407.         return $this->currencyTranslations;
  408.     }
  409.     public function setCurrencyTranslations(CurrencyTranslationCollection $currencyTranslations): void
  410.     {
  411.         $this->currencyTranslations $currencyTranslations;
  412.     }
  413.     public function getCustomerGroupTranslations(): ?CustomerGroupTranslationCollection
  414.     {
  415.         return $this->customerGroupTranslations;
  416.     }
  417.     public function setCustomerGroupTranslations(CustomerGroupTranslationCollection $customerGroupTranslations): void
  418.     {
  419.         $this->customerGroupTranslations $customerGroupTranslations;
  420.     }
  421.     public function getLocaleTranslations(): ?LocaleTranslationCollection
  422.     {
  423.         return $this->localeTranslations;
  424.     }
  425.     public function setLocaleTranslations(LocaleTranslationCollection $localeTranslations): void
  426.     {
  427.         $this->localeTranslations $localeTranslations;
  428.     }
  429.     public function getMediaTranslations(): ?MediaTranslationCollection
  430.     {
  431.         return $this->mediaTranslations;
  432.     }
  433.     public function setMediaTranslations(MediaTranslationCollection $mediaTranslations): void
  434.     {
  435.         $this->mediaTranslations $mediaTranslations;
  436.     }
  437.     public function getPaymentMethodTranslations(): ?PaymentMethodTranslationCollection
  438.     {
  439.         return $this->paymentMethodTranslations;
  440.     }
  441.     public function setPaymentMethodTranslations(PaymentMethodTranslationCollection $paymentMethodTranslations): void
  442.     {
  443.         $this->paymentMethodTranslations $paymentMethodTranslations;
  444.     }
  445.     public function getProductManufacturerTranslations(): ?ProductManufacturerTranslationCollection
  446.     {
  447.         return $this->productManufacturerTranslations;
  448.     }
  449.     public function setProductManufacturerTranslations(ProductManufacturerTranslationCollection $productManufacturerTranslations): void
  450.     {
  451.         $this->productManufacturerTranslations $productManufacturerTranslations;
  452.     }
  453.     public function getProductTranslations(): ?ProductTranslationCollection
  454.     {
  455.         return $this->productTranslations;
  456.     }
  457.     public function setProductTranslations(ProductTranslationCollection $productTranslations): void
  458.     {
  459.         $this->productTranslations $productTranslations;
  460.     }
  461.     public function getShippingMethodTranslations(): ?ShippingMethodTranslationCollection
  462.     {
  463.         return $this->shippingMethodTranslations;
  464.     }
  465.     public function setShippingMethodTranslations(ShippingMethodTranslationCollection $shippingMethodTranslations): void
  466.     {
  467.         $this->shippingMethodTranslations $shippingMethodTranslations;
  468.     }
  469.     public function getUnitTranslations(): ?UnitTranslationCollection
  470.     {
  471.         return $this->unitTranslations;
  472.     }
  473.     public function setUnitTranslations(UnitTranslationCollection $unitTranslations): void
  474.     {
  475.         $this->unitTranslations $unitTranslations;
  476.     }
  477.     public function getSalesChannels(): ?SalesChannelCollection
  478.     {
  479.         return $this->salesChannels;
  480.     }
  481.     public function setSalesChannels(SalesChannelCollection $salesChannels): void
  482.     {
  483.         $this->salesChannels $salesChannels;
  484.     }
  485.     public function getSalesChannelDefaultAssignments(): ?SalesChannelCollection
  486.     {
  487.         return $this->salesChannelDefaultAssignments;
  488.     }
  489.     public function getCustomers(): ?CustomerCollection
  490.     {
  491.         return $this->customers;
  492.     }
  493.     public function setCustomers(CustomerCollection $customers): void
  494.     {
  495.         $this->customers $customers;
  496.     }
  497.     public function setSalesChannelDefaultAssignments(SalesChannelCollection $salesChannelDefaultAssignments): void
  498.     {
  499.         $this->salesChannelDefaultAssignments $salesChannelDefaultAssignments;
  500.     }
  501.     public function getSalutationTranslations(): ?SalutationTranslationCollection
  502.     {
  503.         return $this->salutationTranslations;
  504.     }
  505.     public function setSalutationTranslations(SalutationTranslationCollection $salutationTranslations): void
  506.     {
  507.         $this->salutationTranslations $salutationTranslations;
  508.     }
  509.     public function getPropertyGroupTranslations(): ?PropertyGroupTranslationCollection
  510.     {
  511.         return $this->propertyGroupTranslations;
  512.     }
  513.     public function setPropertyGroupTranslations(PropertyGroupTranslationCollection $propertyGroupTranslations): void
  514.     {
  515.         $this->propertyGroupTranslations $propertyGroupTranslations;
  516.     }
  517.     public function getPropertyGroupOptionTranslations(): ?PropertyGroupOptionTranslationCollection
  518.     {
  519.         return $this->propertyGroupOptionTranslations;
  520.     }
  521.     public function setPropertyGroupOptionTranslations(PropertyGroupOptionTranslationCollection $propertyGroupOptionTranslationCollection): void
  522.     {
  523.         $this->propertyGroupOptionTranslations $propertyGroupOptionTranslationCollection;
  524.     }
  525.     public function getSalesChannelTranslations(): ?SalesChannelTranslationCollection
  526.     {
  527.         return $this->salesChannelTranslations;
  528.     }
  529.     public function setSalesChannelTranslations(SalesChannelTranslationCollection $salesChannelTranslations): void
  530.     {
  531.         $this->salesChannelTranslations $salesChannelTranslations;
  532.     }
  533.     public function getSalesChannelTypeTranslations(): ?SalesChannelTypeTranslationCollection
  534.     {
  535.         return $this->salesChannelTypeTranslations;
  536.     }
  537.     public function setSalesChannelTypeTranslations(SalesChannelTypeTranslationCollection $salesChannelTypeTranslations): void
  538.     {
  539.         $this->salesChannelTypeTranslations $salesChannelTypeTranslations;
  540.     }
  541.     public function getSalesChannelDomains(): ?SalesChannelDomainCollection
  542.     {
  543.         return $this->salesChannelDomains;
  544.     }
  545.     public function setSalesChannelDomains(SalesChannelDomainCollection $salesChannelDomains): void
  546.     {
  547.         $this->salesChannelDomains $salesChannelDomains;
  548.     }
  549.     public function getPluginTranslations(): ?PluginTranslationCollection
  550.     {
  551.         return $this->pluginTranslations;
  552.     }
  553.     public function setPluginTranslations(PluginTranslationCollection $pluginTranslations): void
  554.     {
  555.         $this->pluginTranslations $pluginTranslations;
  556.     }
  557.     public function getProductStreamTranslations(): ?ProductStreamTranslationCollection
  558.     {
  559.         return $this->productStreamTranslations;
  560.     }
  561.     public function setProductStreamTranslations(ProductStreamTranslationCollection $productStreamTranslations): void
  562.     {
  563.         $this->productStreamTranslations $productStreamTranslations;
  564.     }
  565.     /**
  566.      * @return StateMachineTranslationCollection|null
  567.      */
  568.     public function getStateMachineTranslations(): ?Collection
  569.     {
  570.         return $this->stateMachineTranslations;
  571.     }
  572.     /**
  573.      * @param StateMachineTranslationCollection $stateMachineTranslations
  574.      */
  575.     public function setStateMachineTranslations(Collection $stateMachineTranslations): void
  576.     {
  577.         $this->stateMachineTranslations $stateMachineTranslations;
  578.     }
  579.     /**
  580.      * @return StateMachineStateTranslationCollection|null
  581.      */
  582.     public function getStateMachineStateTranslations(): ?Collection
  583.     {
  584.         return $this->stateMachineStateTranslations;
  585.     }
  586.     /**
  587.      * @param StateMachineStateTranslationCollection $stateMachineStateTranslations
  588.      */
  589.     public function setStateMachineStateTranslations(Collection $stateMachineStateTranslations): void
  590.     {
  591.         $this->stateMachineStateTranslations $stateMachineStateTranslations;
  592.     }
  593.     /**
  594.      * @return EntityCollection<CmsPageTranslationEntity>|null
  595.      */
  596.     public function getCmsPageTranslations(): ?Collection
  597.     {
  598.         return $this->cmsPageTranslations;
  599.     }
  600.     /**
  601.      * @param EntityCollection<CmsPageTranslationEntity> $cmsPageTranslations
  602.      */
  603.     public function setCmsPageTranslations(Collection $cmsPageTranslations): void
  604.     {
  605.         $this->cmsPageTranslations $cmsPageTranslations;
  606.     }
  607.     /**
  608.      * @return EntityCollection<CmsSlotTranslationEntity>|null
  609.      */
  610.     public function getCmsSlotTranslations(): ?Collection
  611.     {
  612.         return $this->cmsSlotTranslations;
  613.     }
  614.     /**
  615.      * @param EntityCollection<CmsSlotTranslationEntity> $cmsSlotTranslations
  616.      */
  617.     public function setCmsSlotTranslations(Collection $cmsSlotTranslations): void
  618.     {
  619.         $this->cmsSlotTranslations $cmsSlotTranslations;
  620.     }
  621.     public function getMailTemplateTranslations(): ?MailTemplateCollection
  622.     {
  623.         return $this->mailTemplateTranslations;
  624.     }
  625.     public function setMailTemplateTranslations(MailTemplateCollection $mailTemplateTranslations): void
  626.     {
  627.         $this->mailTemplateTranslations $mailTemplateTranslations;
  628.     }
  629.     public function getDocumentTypeTranslations(): ?DocumentTypeTranslationCollection
  630.     {
  631.         return $this->documentTypeTranslations;
  632.     }
  633.     public function setDocumentTypeTranslations(DocumentTypeTranslationCollection $documentTypeTranslations): void
  634.     {
  635.         $this->documentTypeTranslations $documentTypeTranslations;
  636.     }
  637.     public function getDeliveryTimeTranslations(): ?DeliveryTimeCollection
  638.     {
  639.         return $this->deliveryTimeTranslations;
  640.     }
  641.     public function setDeliveryTimeTranslations(DeliveryTimeCollection $deliveryTimeTranslations): void
  642.     {
  643.         $this->deliveryTimeTranslations $deliveryTimeTranslations;
  644.     }
  645.     public function getNewsletterRecipients(): ?NewsletterRecipientCollection
  646.     {
  647.         return $this->newsletterRecipients;
  648.     }
  649.     public function setNewsletterRecipients(NewsletterRecipientCollection $newsletterRecipients): void
  650.     {
  651.         $this->newsletterRecipients $newsletterRecipients;
  652.     }
  653.     public function getOrders(): ?OrderCollection
  654.     {
  655.         return $this->orders;
  656.     }
  657.     public function setOrders(OrderCollection $orders): void
  658.     {
  659.         $this->orders $orders;
  660.     }
  661.     public function getNumberRangeTypeTranslations(): ?NumberRangeTypeTranslationCollection
  662.     {
  663.         return $this->numberRangeTypeTranslations;
  664.     }
  665.     public function setNumberRangeTypeTranslations(NumberRangeTypeTranslationCollection $numberRangeTypeTranslations): void
  666.     {
  667.         $this->numberRangeTypeTranslations $numberRangeTypeTranslations;
  668.     }
  669.     public function getMailTemplateTypeTranslations(): ?MailTemplateTypeDefinition
  670.     {
  671.         return $this->mailTemplateTypeTranslations;
  672.     }
  673.     public function setMailTemplateTypeTranslations(MailTemplateTypeDefinition $mailTemplateTypeTranslations): void
  674.     {
  675.         $this->mailTemplateTypeTranslations $mailTemplateTypeTranslations;
  676.     }
  677.     public function getProductSearchKeywords(): ?ProductSearchKeywordCollection
  678.     {
  679.         return $this->productSearchKeywords;
  680.     }
  681.     public function setProductSearchKeywords(ProductSearchKeywordCollection $productSearchKeywords): void
  682.     {
  683.         $this->productSearchKeywords $productSearchKeywords;
  684.     }
  685.     public function getProductKeywordDictionaries(): ?ProductKeywordDictionaryCollection
  686.     {
  687.         return $this->productKeywordDictionaries;
  688.     }
  689.     public function setProductKeywordDictionaries(ProductKeywordDictionaryCollection $productKeywordDictionaries): void
  690.     {
  691.         $this->productKeywordDictionaries $productKeywordDictionaries;
  692.     }
  693.     public function getPromotionTranslations(): ?PromotionTranslationCollection
  694.     {
  695.         return $this->promotionTranslations;
  696.     }
  697.     public function setPromotionTranslations(PromotionTranslationCollection $promotionTranslations): void
  698.     {
  699.         $this->promotionTranslations $promotionTranslations;
  700.     }
  701.     public function getNumberRangeTranslations(): ?NumberRangeTranslationCollection
  702.     {
  703.         return $this->numberRangeTranslations;
  704.     }
  705.     public function setNumberRangeTranslations(NumberRangeTranslationCollection $numberRangeTranslations): void
  706.     {
  707.         $this->numberRangeTranslations $numberRangeTranslations;
  708.     }
  709.     public function getProductReviews(): ?ProductReviewCollection
  710.     {
  711.         return $this->productReviews;
  712.     }
  713.     public function setProductReviews(ProductReviewCollection $productReviews): void
  714.     {
  715.         $this->productReviews $productReviews;
  716.     }
  717.     public function getSeoUrlTranslations(): ?SeoUrlCollection
  718.     {
  719.         return $this->seoUrlTranslations;
  720.     }
  721.     public function setSeoUrlTranslations(SeoUrlCollection $seoUrlTranslations): void
  722.     {
  723.         $this->seoUrlTranslations $seoUrlTranslations;
  724.     }
  725.     public function getTaxRuleTypeTranslations(): ?TaxRuleTypeTranslationCollection
  726.     {
  727.         return $this->taxRuleTypeTranslations;
  728.     }
  729.     public function setTaxRuleTypeTranslations(TaxRuleTypeTranslationCollection $taxRuleTypeTranslations): void
  730.     {
  731.         $this->taxRuleTypeTranslations $taxRuleTypeTranslations;
  732.     }
  733.     public function getProductCrossSellingTranslations(): ?ProductCrossSellingTranslationCollection
  734.     {
  735.         return $this->productCrossSellingTranslations;
  736.     }
  737.     public function setProductCrossSellingTranslations(ProductCrossSellingTranslationCollection $productCrossSellingTranslations): void
  738.     {
  739.         $this->productCrossSellingTranslations $productCrossSellingTranslations;
  740.     }
  741.     public function getImportExportProfileTranslations(): ?ImportExportProfileTranslationCollection
  742.     {
  743.         return $this->importExportProfileTranslations;
  744.     }
  745.     public function setImportExportProfileTranslations(ImportExportProfileTranslationCollection $importExportProfileTranslations): void
  746.     {
  747.         $this->importExportProfileTranslations $importExportProfileTranslations;
  748.     }
  749.     public function getProductFeatureSetTranslations(): ?ProductFeatureSetTranslationCollection
  750.     {
  751.         return $this->productFeatureSetTranslations;
  752.     }
  753.     public function setProductFeatureSetTranslations(ProductFeatureSetTranslationCollection $productFeatureSetTranslations): void
  754.     {
  755.         $this->productFeatureSetTranslations $productFeatureSetTranslations;
  756.     }
  757.     public function getAppTranslations(): ?AppTranslationCollection
  758.     {
  759.         return $this->appTranslations;
  760.     }
  761.     public function setAppTranslations(AppTranslationCollection $appTranslations): void
  762.     {
  763.         $this->appTranslations $appTranslations;
  764.     }
  765.     public function getActionButtonTranslations(): ?ActionButtonTranslationCollection
  766.     {
  767.         return $this->actionButtonTranslations;
  768.     }
  769.     public function setActionButtonTranslations(ActionButtonTranslationCollection $actionButtonTranslations): void
  770.     {
  771.         $this->actionButtonTranslations $actionButtonTranslations;
  772.     }
  773.     public function getProductSortingTranslations(): ?ProductSortingTranslationCollection
  774.     {
  775.         return $this->productSortingTranslations;
  776.     }
  777.     public function setProductSortingTranslations(ProductSortingTranslationCollection $productSortingTranslations): void
  778.     {
  779.         $this->productSortingTranslations $productSortingTranslations;
  780.     }
  781.     public function getProductSearchConfig(): ?ProductSearchConfigEntity
  782.     {
  783.         return $this->productSearchConfig;
  784.     }
  785.     public function setProductSearchConfig(ProductSearchConfigEntity $productSearchConfig): void
  786.     {
  787.         $this->productSearchConfig $productSearchConfig;
  788.     }
  789.     public function getLandingPageTranslations(): ?LandingPageTranslationCollection
  790.     {
  791.         return $this->landingPageTranslations;
  792.     }
  793.     public function setLandingPageTranslations(LandingPageTranslationCollection $landingPageTranslations): void
  794.     {
  795.         $this->landingPageTranslations $landingPageTranslations;
  796.     }
  797.     public function getAppCmsBlockTranslations(): ?AppCmsBlockTranslationCollection
  798.     {
  799.         return $this->appCmsBlockTranslations;
  800.     }
  801.     public function setAppCmsBlockTranslations(AppCmsBlockTranslationCollection $appCmsBlockTranslations): void
  802.     {
  803.         $this->appCmsBlockTranslations $appCmsBlockTranslations;
  804.     }
  805.     public function getAppScriptConditionTranslations(): ?AppScriptConditionTranslationCollection
  806.     {
  807.         return $this->appScriptConditionTranslations;
  808.     }
  809.     public function setAppScriptConditionTranslations(AppScriptConditionTranslationCollection $appScriptConditionTranslations): void
  810.     {
  811.         $this->appScriptConditionTranslations $appScriptConditionTranslations;
  812.     }
  813.     public function getAppFlowActionTranslations(): ?AppFlowActionTranslationCollection
  814.     {
  815.         return $this->appFlowActionTranslations;
  816.     }
  817.     public function setAppFlowActionTranslations(AppFlowActionTranslationCollection $appFlowActionTranslations): void
  818.     {
  819.         $this->appFlowActionTranslations $appFlowActionTranslations;
  820.     }
  821.     public function getApiAlias(): string
  822.     {
  823.         return 'language';
  824.     }
  825. }