var/classes/DataObject/Apartment.php line 693

Open in your IDE?
  1. <?php
  2. /**
  3. * Inheritance: no
  4. * Variants: no
  5. Fields Summary:
  6. - name [input]
  7. - stars [select]
  8. - guests [numeric]
  9. - price [numeric]
  10. - position [slider]
  11. - localizedfields [localizedfields]
  12. -- shortDescription [input]
  13. -- description [wysiwyg]
  14. -- feature1 [input]
  15. -- feature2 [input]
  16. -- feature3 [input]
  17. -- feature4 [input]
  18. -- feature5 [input]
  19. -- feature6 [input]
  20. -- feature7 [input]
  21. -- feature8 [input]
  22. -- feature9 [input]
  23. -- feature10 [input]
  24. -- feature11 [input]
  25. -- feature12 [input]
  26. - icon1 [checkbox]
  27. - icon2 [checkbox]
  28. - icon3 [checkbox]
  29. - icon4 [checkbox]
  30. - icon5 [checkbox]
  31. - icon6 [checkbox]
  32. - icon7 [checkbox]
  33. - facilityFreeWifi [checkbox]
  34. - facilityCalbeTv [checkbox]
  35. - facilityKitchenette [checkbox]
  36. - facilityRefrigerator [checkbox]
  37. - facilityDishwasher [checkbox]
  38. - facilityCoffeeMaker [checkbox]
  39. - facilityElectricKettle [checkbox]
  40. - facilityToaster [checkbox]
  41. - facilityEggBoiler [checkbox]
  42. - facilityIron [checkbox]
  43. - facilityIronBoard [checkbox]
  44. - facilityBedProtection [checkbox]
  45. - facilityChildTableware [checkbox]
  46. - facilityRoomSafe [checkbox]
  47. - facilityNespresso [checkbox]
  48. - facilityRadio [checkbox]
  49. - facilityHairDryer [checkbox]
  50. - facilityBedLinen [checkbox]
  51. - facilityTowels [checkbox]
  52. - facilityTowelDryer [checkbox]
  53. - facilityElectricFrame [checkbox]
  54. - facilityIntercom [checkbox]
  55. - extraFrenchBalcony [checkbox]
  56. - extraWheelchairDoors [checkbox]
  57. - extraWheelchairBath [checkbox]
  58. - extraAccessibility [checkbox]
  59. - extraAllergyFriendly [checkbox]
  60. - extraUnderfloorHeating [checkbox]
  61. - extraShutters [checkbox]
  62. - extraWaterSoftener [checkbox]
  63. - extraWashingMachine [checkbox]
  64. - extraTumbleDryer [checkbox]
  65. - extraCleaning [checkbox]
  66. - extraBikeLocker [checkbox]
  67. - extraBabyCrib [checkbox]
  68. - extraHighChair [checkbox]
  69. - logo [image]
  70. - mainImage [image]
  71. - gallery [imageGallery]
  72. - floorPlan [image]
  73. */
  74. namespace Pimcore\Model\DataObject;
  75. use Pimcore\Model\DataObject\Exception\InheritanceParentNotFoundException;
  76. use Pimcore\Model\DataObject\PreGetValueHookInterface;
  77. /**
  78. * @method static \Pimcore\Model\DataObject\Apartment\Listing getList(array $config = [])
  79. * @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByName($value, $limit = 0, $offset = 0, $objectTypes = null)
  80. * @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByStars($value, $limit = 0, $offset = 0, $objectTypes = null)
  81. * @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByGuests($value, $limit = 0, $offset = 0, $objectTypes = null)
  82. * @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByPrice($value, $limit = 0, $offset = 0, $objectTypes = null)
  83. * @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByPosition($value, $limit = 0, $offset = 0, $objectTypes = null)
  84. * @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByLocalizedfields($field, $value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  85. * @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByShortDescription($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  86. * @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByDescription($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  87. * @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByFeature1($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  88. * @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByFeature2($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  89. * @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByFeature3($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  90. * @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByFeature4($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  91. * @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByFeature5($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  92. * @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByFeature6($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  93. * @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByFeature7($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  94. * @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByFeature8($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  95. * @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByFeature9($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  96. * @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByFeature10($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  97. * @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByFeature11($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  98. * @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByFeature12($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  99. * @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByIcon1($value, $limit = 0, $offset = 0, $objectTypes = null)
  100. * @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByIcon2($value, $limit = 0, $offset = 0, $objectTypes = null)
  101. * @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByIcon3($value, $limit = 0, $offset = 0, $objectTypes = null)
  102. * @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByIcon4($value, $limit = 0, $offset = 0, $objectTypes = null)
  103. * @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByIcon5($value, $limit = 0, $offset = 0, $objectTypes = null)
  104. * @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByIcon6($value, $limit = 0, $offset = 0, $objectTypes = null)
  105. * @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByIcon7($value, $limit = 0, $offset = 0, $objectTypes = null)
  106. * @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByFacilityFreeWifi($value, $limit = 0, $offset = 0, $objectTypes = null)
  107. * @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByFacilityCalbeTv($value, $limit = 0, $offset = 0, $objectTypes = null)
  108. * @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByFacilityKitchenette($value, $limit = 0, $offset = 0, $objectTypes = null)
  109. * @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByFacilityRefrigerator($value, $limit = 0, $offset = 0, $objectTypes = null)
  110. * @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByFacilityDishwasher($value, $limit = 0, $offset = 0, $objectTypes = null)
  111. * @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByFacilityCoffeeMaker($value, $limit = 0, $offset = 0, $objectTypes = null)
  112. * @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByFacilityElectricKettle($value, $limit = 0, $offset = 0, $objectTypes = null)
  113. * @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByFacilityToaster($value, $limit = 0, $offset = 0, $objectTypes = null)
  114. * @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByFacilityEggBoiler($value, $limit = 0, $offset = 0, $objectTypes = null)
  115. * @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByFacilityIron($value, $limit = 0, $offset = 0, $objectTypes = null)
  116. * @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByFacilityIronBoard($value, $limit = 0, $offset = 0, $objectTypes = null)
  117. * @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByFacilityBedProtection($value, $limit = 0, $offset = 0, $objectTypes = null)
  118. * @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByFacilityChildTableware($value, $limit = 0, $offset = 0, $objectTypes = null)
  119. * @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByFacilityRoomSafe($value, $limit = 0, $offset = 0, $objectTypes = null)
  120. * @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByFacilityNespresso($value, $limit = 0, $offset = 0, $objectTypes = null)
  121. * @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByFacilityRadio($value, $limit = 0, $offset = 0, $objectTypes = null)
  122. * @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByFacilityHairDryer($value, $limit = 0, $offset = 0, $objectTypes = null)
  123. * @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByFacilityBedLinen($value, $limit = 0, $offset = 0, $objectTypes = null)
  124. * @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByFacilityTowels($value, $limit = 0, $offset = 0, $objectTypes = null)
  125. * @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByFacilityTowelDryer($value, $limit = 0, $offset = 0, $objectTypes = null)
  126. * @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByFacilityElectricFrame($value, $limit = 0, $offset = 0, $objectTypes = null)
  127. * @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByFacilityIntercom($value, $limit = 0, $offset = 0, $objectTypes = null)
  128. * @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByExtraFrenchBalcony($value, $limit = 0, $offset = 0, $objectTypes = null)
  129. * @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByExtraWheelchairDoors($value, $limit = 0, $offset = 0, $objectTypes = null)
  130. * @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByExtraWheelchairBath($value, $limit = 0, $offset = 0, $objectTypes = null)
  131. * @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByExtraAccessibility($value, $limit = 0, $offset = 0, $objectTypes = null)
  132. * @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByExtraAllergyFriendly($value, $limit = 0, $offset = 0, $objectTypes = null)
  133. * @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByExtraUnderfloorHeating($value, $limit = 0, $offset = 0, $objectTypes = null)
  134. * @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByExtraShutters($value, $limit = 0, $offset = 0, $objectTypes = null)
  135. * @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByExtraWaterSoftener($value, $limit = 0, $offset = 0, $objectTypes = null)
  136. * @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByExtraWashingMachine($value, $limit = 0, $offset = 0, $objectTypes = null)
  137. * @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByExtraTumbleDryer($value, $limit = 0, $offset = 0, $objectTypes = null)
  138. * @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByExtraCleaning($value, $limit = 0, $offset = 0, $objectTypes = null)
  139. * @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByExtraBikeLocker($value, $limit = 0, $offset = 0, $objectTypes = null)
  140. * @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByExtraBabyCrib($value, $limit = 0, $offset = 0, $objectTypes = null)
  141. * @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByExtraHighChair($value, $limit = 0, $offset = 0, $objectTypes = null)
  142. * @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByLogo($value, $limit = 0, $offset = 0, $objectTypes = null)
  143. * @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByMainImage($value, $limit = 0, $offset = 0, $objectTypes = null)
  144. * @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByFloorPlan($value, $limit = 0, $offset = 0, $objectTypes = null)
  145. */
  146. class Apartment extends Concrete
  147. {
  148. protected $o_classId "1";
  149. protected $o_className "Apartment";
  150. protected $name;
  151. protected $stars;
  152. protected $guests;
  153. protected $price;
  154. protected $position;
  155. protected $localizedfields;
  156. protected $icon1;
  157. protected $icon2;
  158. protected $icon3;
  159. protected $icon4;
  160. protected $icon5;
  161. protected $icon6;
  162. protected $icon7;
  163. protected $facilityFreeWifi;
  164. protected $facilityCalbeTv;
  165. protected $facilityKitchenette;
  166. protected $facilityRefrigerator;
  167. protected $facilityDishwasher;
  168. protected $facilityCoffeeMaker;
  169. protected $facilityElectricKettle;
  170. protected $facilityToaster;
  171. protected $facilityEggBoiler;
  172. protected $facilityIron;
  173. protected $facilityIronBoard;
  174. protected $facilityBedProtection;
  175. protected $facilityChildTableware;
  176. protected $facilityRoomSafe;
  177. protected $facilityNespresso;
  178. protected $facilityRadio;
  179. protected $facilityHairDryer;
  180. protected $facilityBedLinen;
  181. protected $facilityTowels;
  182. protected $facilityTowelDryer;
  183. protected $facilityElectricFrame;
  184. protected $facilityIntercom;
  185. protected $extraFrenchBalcony;
  186. protected $extraWheelchairDoors;
  187. protected $extraWheelchairBath;
  188. protected $extraAccessibility;
  189. protected $extraAllergyFriendly;
  190. protected $extraUnderfloorHeating;
  191. protected $extraShutters;
  192. protected $extraWaterSoftener;
  193. protected $extraWashingMachine;
  194. protected $extraTumbleDryer;
  195. protected $extraCleaning;
  196. protected $extraBikeLocker;
  197. protected $extraBabyCrib;
  198. protected $extraHighChair;
  199. protected $logo;
  200. protected $mainImage;
  201. protected $gallery;
  202. protected $floorPlan;
  203. /**
  204. * @param array $values
  205. * @return \Pimcore\Model\DataObject\Apartment
  206. */
  207. public static function create($values = array()) {
  208.     $object = new static();
  209.     $object->setValues($values);
  210.     return $object;
  211. }
  212. /**
  213. * Get name - Name des Apartments
  214. * @return string|null
  215. */
  216. public function getName(): ?string
  217. {
  218.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  219.         $preValue $this->preGetValue("name");
  220.         if ($preValue !== null) {
  221.             return $preValue;
  222.         }
  223.     }
  224.     $data $this->name;
  225.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  226.         return $data->getPlain();
  227.     }
  228.     return $data;
  229. }
  230. /**
  231. * Set name - Name des Apartments
  232. * @param string|null $name
  233. * @return \Pimcore\Model\DataObject\Apartment
  234. */
  235. public function setName(?string $name)
  236. {
  237.     $this->name $name;
  238.     return $this;
  239. }
  240. /**
  241. * Get stars - Sterne Kategorie
  242. * @return string|null
  243. */
  244. public function getStars(): ?string
  245. {
  246.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  247.         $preValue $this->preGetValue("stars");
  248.         if ($preValue !== null) {
  249.             return $preValue;
  250.         }
  251.     }
  252.     $data $this->stars;
  253.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  254.         return $data->getPlain();
  255.     }
  256.     return $data;
  257. }
  258. /**
  259. * Set stars - Sterne Kategorie
  260. * @param string|null $stars
  261. * @return \Pimcore\Model\DataObject\Apartment
  262. */
  263. public function setStars(?string $stars)
  264. {
  265.     $this->stars $stars;
  266.     return $this;
  267. }
  268. /**
  269. * Get guests - Max. Anzahl Gäste
  270. * @return float|null
  271. */
  272. public function getGuests(): ?float
  273. {
  274.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  275.         $preValue $this->preGetValue("guests");
  276.         if ($preValue !== null) {
  277.             return $preValue;
  278.         }
  279.     }
  280.     $data $this->guests;
  281.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  282.         return $data->getPlain();
  283.     }
  284.     return $data;
  285. }
  286. /**
  287. * Set guests - Max. Anzahl Gäste
  288. * @param float|null $guests
  289. * @return \Pimcore\Model\DataObject\Apartment
  290. */
  291. public function setGuests(?float $guests)
  292. {
  293.     /** @var \Pimcore\Model\DataObject\ClassDefinition\Data\Numeric $fd */
  294.     $fd $this->getClass()->getFieldDefinition("guests");
  295.     $this->guests $fd->preSetData($this$guests);
  296.     return $this;
  297. }
  298. /**
  299. * Get price - Preis pro Übernachtung (EUR) 
  300. * @return string|null
  301. */
  302. public function getPrice(): ?string
  303. {
  304.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  305.         $preValue $this->preGetValue("price");
  306.         if ($preValue !== null) {
  307.             return $preValue;
  308.         }
  309.     }
  310.     $data $this->price;
  311.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  312.         return $data->getPlain();
  313.     }
  314.     return $data;
  315. }
  316. /**
  317. * Set price - Preis pro Übernachtung (EUR) 
  318. * @param string|null $price
  319. * @return \Pimcore\Model\DataObject\Apartment
  320. */
  321. public function setPrice(?string $price)
  322. {
  323.     /** @var \Pimcore\Model\DataObject\ClassDefinition\Data\Numeric $fd */
  324.     $fd $this->getClass()->getFieldDefinition("price");
  325.     $this->price $fd->preSetData($this$price);
  326.     return $this;
  327. }
  328. /**
  329. * Get position - Reihenfolge
  330. * @return float|null
  331. */
  332. public function getPosition(): ?float
  333. {
  334.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  335.         $preValue $this->preGetValue("position");
  336.         if ($preValue !== null) {
  337.             return $preValue;
  338.         }
  339.     }
  340.     $data $this->position;
  341.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  342.         return $data->getPlain();
  343.     }
  344.     return $data;
  345. }
  346. /**
  347. * Set position - Reihenfolge
  348. * @param float|null $position
  349. * @return \Pimcore\Model\DataObject\Apartment
  350. */
  351. public function setPosition(?float $position)
  352. {
  353.     $this->position $position;
  354.     return $this;
  355. }
  356. /**
  357. * Get localizedfields - Kurzbeschreibung
  358. * @return \Pimcore\Model\DataObject\Localizedfield|null
  359. */
  360. public function getLocalizedfields(): ?\Pimcore\Model\DataObject\Localizedfield
  361. {
  362.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  363.         $preValue $this->preGetValue("localizedfields");
  364.         if ($preValue !== null) {
  365.             return $preValue;
  366.         }
  367.     }
  368.     $data $this->getClass()->getFieldDefinition("localizedfields")->preGetData($this);
  369.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  370.         return $data->getPlain();
  371.     }
  372.     return $data;
  373. }
  374. /**
  375. * Get shortDescription - Kurzbeschreibung
  376. * @return string|null
  377. */
  378. public function getShortDescription($language null): ?string
  379. {
  380.     $data $this->getLocalizedfields()->getLocalizedValue("shortDescription"$language);
  381.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  382.         $preValue $this->preGetValue("shortDescription");
  383.         if ($preValue !== null) {
  384.             return $preValue;
  385.         }
  386.     }
  387.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  388.         return $data->getPlain();
  389.     }
  390.     return $data;
  391. }
  392. /**
  393. * Get description - Beschreibung des Apartments
  394. * @return string|null
  395. */
  396. public function getDescription($language null): ?string
  397. {
  398.     $data $this->getLocalizedfields()->getLocalizedValue("description"$language);
  399.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  400.         $preValue $this->preGetValue("description");
  401.         if ($preValue !== null) {
  402.             return $preValue;
  403.         }
  404.     }
  405.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  406.         return $data->getPlain();
  407.     }
  408.     return $data;
  409. }
  410. /**
  411. * Get feature1 - Feature 1
  412. * @return string|null
  413. */
  414. public function getFeature1($language null): ?string
  415. {
  416.     $data $this->getLocalizedfields()->getLocalizedValue("feature1"$language);
  417.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  418.         $preValue $this->preGetValue("feature1");
  419.         if ($preValue !== null) {
  420.             return $preValue;
  421.         }
  422.     }
  423.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  424.         return $data->getPlain();
  425.     }
  426.     return $data;
  427. }
  428. /**
  429. * Get feature2 - Feature  2
  430. * @return string|null
  431. */
  432. public function getFeature2($language null): ?string
  433. {
  434.     $data $this->getLocalizedfields()->getLocalizedValue("feature2"$language);
  435.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  436.         $preValue $this->preGetValue("feature2");
  437.         if ($preValue !== null) {
  438.             return $preValue;
  439.         }
  440.     }
  441.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  442.         return $data->getPlain();
  443.     }
  444.     return $data;
  445. }
  446. /**
  447. * Get feature3 - Feature  3
  448. * @return string|null
  449. */
  450. public function getFeature3($language null): ?string
  451. {
  452.     $data $this->getLocalizedfields()->getLocalizedValue("feature3"$language);
  453.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  454.         $preValue $this->preGetValue("feature3");
  455.         if ($preValue !== null) {
  456.             return $preValue;
  457.         }
  458.     }
  459.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  460.         return $data->getPlain();
  461.     }
  462.     return $data;
  463. }
  464. /**
  465. * Get feature4 - Feature  4
  466. * @return string|null
  467. */
  468. public function getFeature4($language null): ?string
  469. {
  470.     $data $this->getLocalizedfields()->getLocalizedValue("feature4"$language);
  471.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  472.         $preValue $this->preGetValue("feature4");
  473.         if ($preValue !== null) {
  474.             return $preValue;
  475.         }
  476.     }
  477.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  478.         return $data->getPlain();
  479.     }
  480.     return $data;
  481. }
  482. /**
  483. * Get feature5 - Feature  5
  484. * @return string|null
  485. */
  486. public function getFeature5($language null): ?string
  487. {
  488.     $data $this->getLocalizedfields()->getLocalizedValue("feature5"$language);
  489.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  490.         $preValue $this->preGetValue("feature5");
  491.         if ($preValue !== null) {
  492.             return $preValue;
  493.         }
  494.     }
  495.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  496.         return $data->getPlain();
  497.     }
  498.     return $data;
  499. }
  500. /**
  501. * Get feature6 - Feature  6
  502. * @return string|null
  503. */
  504. public function getFeature6($language null): ?string
  505. {
  506.     $data $this->getLocalizedfields()->getLocalizedValue("feature6"$language);
  507.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  508.         $preValue $this->preGetValue("feature6");
  509.         if ($preValue !== null) {
  510.             return $preValue;
  511.         }
  512.     }
  513.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  514.         return $data->getPlain();
  515.     }
  516.     return $data;
  517. }
  518. /**
  519. * Get feature7 - Feature  7
  520. * @return string|null
  521. */
  522. public function getFeature7($language null): ?string
  523. {
  524.     $data $this->getLocalizedfields()->getLocalizedValue("feature7"$language);
  525.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  526.         $preValue $this->preGetValue("feature7");
  527.         if ($preValue !== null) {
  528.             return $preValue;
  529.         }
  530.     }
  531.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  532.         return $data->getPlain();
  533.     }
  534.     return $data;
  535. }
  536. /**
  537. * Get feature8 - Feature  8
  538. * @return string|null
  539. */
  540. public function getFeature8($language null): ?string
  541. {
  542.     $data $this->getLocalizedfields()->getLocalizedValue("feature8"$language);
  543.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  544.         $preValue $this->preGetValue("feature8");
  545.         if ($preValue !== null) {
  546.             return $preValue;
  547.         }
  548.     }
  549.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  550.         return $data->getPlain();
  551.     }
  552.     return $data;
  553. }
  554. /**
  555. * Get feature9 - Feature  9
  556. * @return string|null
  557. */
  558. public function getFeature9($language null): ?string
  559. {
  560.     $data $this->getLocalizedfields()->getLocalizedValue("feature9"$language);
  561.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  562.         $preValue $this->preGetValue("feature9");
  563.         if ($preValue !== null) {
  564.             return $preValue;
  565.         }
  566.     }
  567.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  568.         return $data->getPlain();
  569.     }
  570.     return $data;
  571. }
  572. /**
  573. * Get feature10 - Feature  10
  574. * @return string|null
  575. */
  576. public function getFeature10($language null): ?string
  577. {
  578.     $data $this->getLocalizedfields()->getLocalizedValue("feature10"$language);
  579.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  580.         $preValue $this->preGetValue("feature10");
  581.         if ($preValue !== null) {
  582.             return $preValue;
  583.         }
  584.     }
  585.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  586.         return $data->getPlain();
  587.     }
  588.     return $data;
  589. }
  590. /**
  591. * Get feature11 - Feature  11
  592. * @return string|null
  593. */
  594. public function getFeature11($language null): ?string
  595. {
  596.     $data $this->getLocalizedfields()->getLocalizedValue("feature11"$language);
  597.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  598.         $preValue $this->preGetValue("feature11");
  599.         if ($preValue !== null) {
  600.             return $preValue;
  601.         }
  602.     }
  603.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  604.         return $data->getPlain();
  605.     }
  606.     return $data;
  607. }
  608. /**
  609. * Get feature12 - Feature  12
  610. * @return string|null
  611. */
  612. public function getFeature12($language null): ?string
  613. {
  614.     $data $this->getLocalizedfields()->getLocalizedValue("feature12"$language);
  615.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  616.         $preValue $this->preGetValue("feature12");
  617.         if ($preValue !== null) {
  618.             return $preValue;
  619.         }
  620.     }
  621.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  622.         return $data->getPlain();
  623.     }
  624.     return $data;
  625. }
  626. /**
  627. * Set localizedfields - Kurzbeschreibung
  628. * @param \Pimcore\Model\DataObject\Localizedfield|null $localizedfields
  629. * @return \Pimcore\Model\DataObject\Apartment
  630. */
  631. public function setLocalizedfields(?\Pimcore\Model\DataObject\Localizedfield $localizedfields)
  632. {
  633.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  634.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  635.     $currentData $this->getLocalizedfields();
  636.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  637.     $this->markFieldDirty("localizedfields"true);
  638.     $this->localizedfields $localizedfields;
  639.     return $this;
  640. }
  641. /**
  642. * Set shortDescription - Kurzbeschreibung
  643. * @param string|null $shortDescription
  644. * @return \Pimcore\Model\DataObject\Apartment
  645. */
  646. public function setShortDescription (?string $shortDescription$language null)
  647. {
  648.     $isEqual false;
  649.     $this->getLocalizedfields()->setLocalizedValue("shortDescription"$shortDescription$language, !$isEqual);
  650.     return $this;
  651. }
  652. /**
  653. * Set description - Beschreibung des Apartments
  654. * @param string|null $description
  655. * @return \Pimcore\Model\DataObject\Apartment
  656. */
  657. public function setDescription (?string $description$language null)
  658. {
  659.     $isEqual false;
  660.     $this->getLocalizedfields()->setLocalizedValue("description"$description$language, !$isEqual);
  661.     return $this;
  662. }
  663. /**
  664. * Set feature1 - Feature 1
  665. * @param string|null $feature1
  666. * @return \Pimcore\Model\DataObject\Apartment
  667. */
  668. public function setFeature1 (?string $feature1$language null)
  669. {
  670.     $isEqual false;
  671.     $this->getLocalizedfields()->setLocalizedValue("feature1"$feature1$language, !$isEqual);
  672.     return $this;
  673. }
  674. /**
  675. * Set feature2 - Feature  2
  676. * @param string|null $feature2
  677. * @return \Pimcore\Model\DataObject\Apartment
  678. */
  679. public function setFeature2 (?string $feature2$language null)
  680. {
  681.     $isEqual false;
  682.     $this->getLocalizedfields()->setLocalizedValue("feature2"$feature2$language, !$isEqual);
  683.     return $this;
  684. }
  685. /**
  686. * Set feature3 - Feature  3
  687. * @param string|null $feature3
  688. * @return \Pimcore\Model\DataObject\Apartment
  689. */
  690. public function setFeature3 (?string $feature3$language null)
  691. {
  692.     $isEqual false;
  693.     $this->getLocalizedfields()->setLocalizedValue("feature3"$feature3$language, !$isEqual);
  694.     return $this;
  695. }
  696. /**
  697. * Set feature4 - Feature  4
  698. * @param string|null $feature4
  699. * @return \Pimcore\Model\DataObject\Apartment
  700. */
  701. public function setFeature4 (?string $feature4$language null)
  702. {
  703.     $isEqual false;
  704.     $this->getLocalizedfields()->setLocalizedValue("feature4"$feature4$language, !$isEqual);
  705.     return $this;
  706. }
  707. /**
  708. * Set feature5 - Feature  5
  709. * @param string|null $feature5
  710. * @return \Pimcore\Model\DataObject\Apartment
  711. */
  712. public function setFeature5 (?string $feature5$language null)
  713. {
  714.     $isEqual false;
  715.     $this->getLocalizedfields()->setLocalizedValue("feature5"$feature5$language, !$isEqual);
  716.     return $this;
  717. }
  718. /**
  719. * Set feature6 - Feature  6
  720. * @param string|null $feature6
  721. * @return \Pimcore\Model\DataObject\Apartment
  722. */
  723. public function setFeature6 (?string $feature6$language null)
  724. {
  725.     $isEqual false;
  726.     $this->getLocalizedfields()->setLocalizedValue("feature6"$feature6$language, !$isEqual);
  727.     return $this;
  728. }
  729. /**
  730. * Set feature7 - Feature  7
  731. * @param string|null $feature7
  732. * @return \Pimcore\Model\DataObject\Apartment
  733. */
  734. public function setFeature7 (?string $feature7$language null)
  735. {
  736.     $isEqual false;
  737.     $this->getLocalizedfields()->setLocalizedValue("feature7"$feature7$language, !$isEqual);
  738.     return $this;
  739. }
  740. /**
  741. * Set feature8 - Feature  8
  742. * @param string|null $feature8
  743. * @return \Pimcore\Model\DataObject\Apartment
  744. */
  745. public function setFeature8 (?string $feature8$language null)
  746. {
  747.     $isEqual false;
  748.     $this->getLocalizedfields()->setLocalizedValue("feature8"$feature8$language, !$isEqual);
  749.     return $this;
  750. }
  751. /**
  752. * Set feature9 - Feature  9
  753. * @param string|null $feature9
  754. * @return \Pimcore\Model\DataObject\Apartment
  755. */
  756. public function setFeature9 (?string $feature9$language null)
  757. {
  758.     $isEqual false;
  759.     $this->getLocalizedfields()->setLocalizedValue("feature9"$feature9$language, !$isEqual);
  760.     return $this;
  761. }
  762. /**
  763. * Set feature10 - Feature  10
  764. * @param string|null $feature10
  765. * @return \Pimcore\Model\DataObject\Apartment
  766. */
  767. public function setFeature10 (?string $feature10$language null)
  768. {
  769.     $isEqual false;
  770.     $this->getLocalizedfields()->setLocalizedValue("feature10"$feature10$language, !$isEqual);
  771.     return $this;
  772. }
  773. /**
  774. * Set feature11 - Feature  11
  775. * @param string|null $feature11
  776. * @return \Pimcore\Model\DataObject\Apartment
  777. */
  778. public function setFeature11 (?string $feature11$language null)
  779. {
  780.     $isEqual false;
  781.     $this->getLocalizedfields()->setLocalizedValue("feature11"$feature11$language, !$isEqual);
  782.     return $this;
  783. }
  784. /**
  785. * Set feature12 - Feature  12
  786. * @param string|null $feature12
  787. * @return \Pimcore\Model\DataObject\Apartment
  788. */
  789. public function setFeature12 (?string $feature12$language null)
  790. {
  791.     $isEqual false;
  792.     $this->getLocalizedfields()->setLocalizedValue("feature12"$feature12$language, !$isEqual);
  793.     return $this;
  794. }
  795. /**
  796. * Get icon1 - Icon Doppelbett
  797. * @return bool|null
  798. */
  799. public function getIcon1(): ?bool
  800. {
  801.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  802.         $preValue $this->preGetValue("icon1");
  803.         if ($preValue !== null) {
  804.             return $preValue;
  805.         }
  806.     }
  807.     $data $this->icon1;
  808.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  809.         return $data->getPlain();
  810.     }
  811.     return $data;
  812. }
  813. /**
  814. * Set icon1 - Icon Doppelbett
  815. * @param bool|null $icon1
  816. * @return \Pimcore\Model\DataObject\Apartment
  817. */
  818. public function setIcon1(?bool $icon1)
  819. {
  820.     $this->icon1 $icon1;
  821.     return $this;
  822. }
  823. /**
  824. * Get icon2 - Icon Einzelbett
  825. * @return bool|null
  826. */
  827. public function getIcon2(): ?bool
  828. {
  829.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  830.         $preValue $this->preGetValue("icon2");
  831.         if ($preValue !== null) {
  832.             return $preValue;
  833.         }
  834.     }
  835.     $data $this->icon2;
  836.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  837.         return $data->getPlain();
  838.     }
  839.     return $data;
  840. }
  841. /**
  842. * Set icon2 - Icon Einzelbett
  843. * @param bool|null $icon2
  844. * @return \Pimcore\Model\DataObject\Apartment
  845. */
  846. public function setIcon2(?bool $icon2)
  847. {
  848.     $this->icon2 $icon2;
  849.     return $this;
  850. }
  851. /**
  852. * Get icon3 - Icon Etagenbett
  853. * @return bool|null
  854. */
  855. public function getIcon3(): ?bool
  856. {
  857.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  858.         $preValue $this->preGetValue("icon3");
  859.         if ($preValue !== null) {
  860.             return $preValue;
  861.         }
  862.     }
  863.     $data $this->icon3;
  864.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  865.         return $data->getPlain();
  866.     }
  867.     return $data;
  868. }
  869. /**
  870. * Set icon3 - Icon Etagenbett
  871. * @param bool|null $icon3
  872. * @return \Pimcore\Model\DataObject\Apartment
  873. */
  874. public function setIcon3(?bool $icon3)
  875. {
  876.     $this->icon3 $icon3;
  877.     return $this;
  878. }
  879. /**
  880. * Get icon4 - Icon Terrasse
  881. * @return bool|null
  882. */
  883. public function getIcon4(): ?bool
  884. {
  885.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  886.         $preValue $this->preGetValue("icon4");
  887.         if ($preValue !== null) {
  888.             return $preValue;
  889.         }
  890.     }
  891.     $data $this->icon4;
  892.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  893.         return $data->getPlain();
  894.     }
  895.     return $data;
  896. }
  897. /**
  898. * Set icon4 - Icon Terrasse
  899. * @param bool|null $icon4
  900. * @return \Pimcore\Model\DataObject\Apartment
  901. */
  902. public function setIcon4(?bool $icon4)
  903. {
  904.     $this->icon4 $icon4;
  905.     return $this;
  906. }
  907. /**
  908. * Get icon5 - Icon Rollstuhl
  909. * @return bool|null
  910. */
  911. public function getIcon5(): ?bool
  912. {
  913.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  914.         $preValue $this->preGetValue("icon5");
  915.         if ($preValue !== null) {
  916.             return $preValue;
  917.         }
  918.     }
  919.     $data $this->icon5;
  920.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  921.         return $data->getPlain();
  922.     }
  923.     return $data;
  924. }
  925. /**
  926. * Set icon5 - Icon Rollstuhl
  927. * @param bool|null $icon5
  928. * @return \Pimcore\Model\DataObject\Apartment
  929. */
  930. public function setIcon5(?bool $icon5)
  931. {
  932.     $this->icon5 $icon5;
  933.     return $this;
  934. }
  935. /**
  936. * Get icon6 - Icon Balkon
  937. * @return bool|null
  938. */
  939. public function getIcon6(): ?bool
  940. {
  941.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  942.         $preValue $this->preGetValue("icon6");
  943.         if ($preValue !== null) {
  944.             return $preValue;
  945.         }
  946.     }
  947.     $data $this->icon6;
  948.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  949.         return $data->getPlain();
  950.     }
  951.     return $data;
  952. }
  953. /**
  954. * Set icon6 - Icon Balkon
  955. * @param bool|null $icon6
  956. * @return \Pimcore\Model\DataObject\Apartment
  957. */
  958. public function setIcon6(?bool $icon6)
  959. {
  960.     $this->icon6 $icon6;
  961.     return $this;
  962. }
  963. /**
  964. * Get icon7 - Icon Aussicht
  965. * @return bool|null
  966. */
  967. public function getIcon7(): ?bool
  968. {
  969.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  970.         $preValue $this->preGetValue("icon7");
  971.         if ($preValue !== null) {
  972.             return $preValue;
  973.         }
  974.     }
  975.     $data $this->icon7;
  976.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  977.         return $data->getPlain();
  978.     }
  979.     return $data;
  980. }
  981. /**
  982. * Set icon7 - Icon Aussicht
  983. * @param bool|null $icon7
  984. * @return \Pimcore\Model\DataObject\Apartment
  985. */
  986. public function setIcon7(?bool $icon7)
  987. {
  988.     $this->icon7 $icon7;
  989.     return $this;
  990. }
  991. /**
  992. * Get facilityFreeWifi - Freies W-LAN 
  993. * @return bool|null
  994. */
  995. public function getFacilityFreeWifi(): ?bool
  996. {
  997.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  998.         $preValue $this->preGetValue("facilityFreeWifi");
  999.         if ($preValue !== null) {
  1000.             return $preValue;
  1001.         }
  1002.     }
  1003.     $data $this->facilityFreeWifi;
  1004.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1005.         return $data->getPlain();
  1006.     }
  1007.     return $data;
  1008. }
  1009. /**
  1010. * Set facilityFreeWifi - Freies W-LAN 
  1011. * @param bool|null $facilityFreeWifi
  1012. * @return \Pimcore\Model\DataObject\Apartment
  1013. */
  1014. public function setFacilityFreeWifi(?bool $facilityFreeWifi)
  1015. {
  1016.     $this->facilityFreeWifi $facilityFreeWifi;
  1017.     return $this;
  1018. }
  1019. /**
  1020. * Get facilityCalbeTv - Smart TV
  1021. * @return bool|null
  1022. */
  1023. public function getFacilityCalbeTv(): ?bool
  1024. {
  1025.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1026.         $preValue $this->preGetValue("facilityCalbeTv");
  1027.         if ($preValue !== null) {
  1028.             return $preValue;
  1029.         }
  1030.     }
  1031.     $data $this->facilityCalbeTv;
  1032.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1033.         return $data->getPlain();
  1034.     }
  1035.     return $data;
  1036. }
  1037. /**
  1038. * Set facilityCalbeTv - Smart TV
  1039. * @param bool|null $facilityCalbeTv
  1040. * @return \Pimcore\Model\DataObject\Apartment
  1041. */
  1042. public function setFacilityCalbeTv(?bool $facilityCalbeTv)
  1043. {
  1044.     $this->facilityCalbeTv $facilityCalbeTv;
  1045.     return $this;
  1046. }
  1047. /**
  1048. * Get facilityKitchenette - Küchenzeile mit Ausstattung
  1049. * @return bool|null
  1050. */
  1051. public function getFacilityKitchenette(): ?bool
  1052. {
  1053.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1054.         $preValue $this->preGetValue("facilityKitchenette");
  1055.         if ($preValue !== null) {
  1056.             return $preValue;
  1057.         }
  1058.     }
  1059.     $data $this->facilityKitchenette;
  1060.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1061.         return $data->getPlain();
  1062.     }
  1063.     return $data;
  1064. }
  1065. /**
  1066. * Set facilityKitchenette - Küchenzeile mit Ausstattung
  1067. * @param bool|null $facilityKitchenette
  1068. * @return \Pimcore\Model\DataObject\Apartment
  1069. */
  1070. public function setFacilityKitchenette(?bool $facilityKitchenette)
  1071. {
  1072.     $this->facilityKitchenette $facilityKitchenette;
  1073.     return $this;
  1074. }
  1075. /**
  1076. * Get facilityRefrigerator - Kühlschrank mit Gefrierfach
  1077. * @return bool|null
  1078. */
  1079. public function getFacilityRefrigerator(): ?bool
  1080. {
  1081.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1082.         $preValue $this->preGetValue("facilityRefrigerator");
  1083.         if ($preValue !== null) {
  1084.             return $preValue;
  1085.         }
  1086.     }
  1087.     $data $this->facilityRefrigerator;
  1088.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1089.         return $data->getPlain();
  1090.     }
  1091.     return $data;
  1092. }
  1093. /**
  1094. * Set facilityRefrigerator - Kühlschrank mit Gefrierfach
  1095. * @param bool|null $facilityRefrigerator
  1096. * @return \Pimcore\Model\DataObject\Apartment
  1097. */
  1098. public function setFacilityRefrigerator(?bool $facilityRefrigerator)
  1099. {
  1100.     $this->facilityRefrigerator $facilityRefrigerator;
  1101.     return $this;
  1102. }
  1103. /**
  1104. * Get facilityDishwasher - Geschirrspülmschine
  1105. * @return bool|null
  1106. */
  1107. public function getFacilityDishwasher(): ?bool
  1108. {
  1109.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1110.         $preValue $this->preGetValue("facilityDishwasher");
  1111.         if ($preValue !== null) {
  1112.             return $preValue;
  1113.         }
  1114.     }
  1115.     $data $this->facilityDishwasher;
  1116.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1117.         return $data->getPlain();
  1118.     }
  1119.     return $data;
  1120. }
  1121. /**
  1122. * Set facilityDishwasher - Geschirrspülmschine
  1123. * @param bool|null $facilityDishwasher
  1124. * @return \Pimcore\Model\DataObject\Apartment
  1125. */
  1126. public function setFacilityDishwasher(?bool $facilityDishwasher)
  1127. {
  1128.     $this->facilityDishwasher $facilityDishwasher;
  1129.     return $this;
  1130. }
  1131. /**
  1132. * Get facilityCoffeeMaker - Filterkaffeemaschine
  1133. * @return bool|null
  1134. */
  1135. public function getFacilityCoffeeMaker(): ?bool
  1136. {
  1137.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1138.         $preValue $this->preGetValue("facilityCoffeeMaker");
  1139.         if ($preValue !== null) {
  1140.             return $preValue;
  1141.         }
  1142.     }
  1143.     $data $this->facilityCoffeeMaker;
  1144.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1145.         return $data->getPlain();
  1146.     }
  1147.     return $data;
  1148. }
  1149. /**
  1150. * Set facilityCoffeeMaker - Filterkaffeemaschine
  1151. * @param bool|null $facilityCoffeeMaker
  1152. * @return \Pimcore\Model\DataObject\Apartment
  1153. */
  1154. public function setFacilityCoffeeMaker(?bool $facilityCoffeeMaker)
  1155. {
  1156.     $this->facilityCoffeeMaker $facilityCoffeeMaker;
  1157.     return $this;
  1158. }
  1159. /**
  1160. * Get facilityElectricKettle - Wasserkocher
  1161. * @return bool|null
  1162. */
  1163. public function getFacilityElectricKettle(): ?bool
  1164. {
  1165.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1166.         $preValue $this->preGetValue("facilityElectricKettle");
  1167.         if ($preValue !== null) {
  1168.             return $preValue;
  1169.         }
  1170.     }
  1171.     $data $this->facilityElectricKettle;
  1172.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1173.         return $data->getPlain();
  1174.     }
  1175.     return $data;
  1176. }
  1177. /**
  1178. * Set facilityElectricKettle - Wasserkocher
  1179. * @param bool|null $facilityElectricKettle
  1180. * @return \Pimcore\Model\DataObject\Apartment
  1181. */
  1182. public function setFacilityElectricKettle(?bool $facilityElectricKettle)
  1183. {
  1184.     $this->facilityElectricKettle $facilityElectricKettle;
  1185.     return $this;
  1186. }
  1187. /**
  1188. * Get facilityToaster - Toaster
  1189. * @return bool|null
  1190. */
  1191. public function getFacilityToaster(): ?bool
  1192. {
  1193.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1194.         $preValue $this->preGetValue("facilityToaster");
  1195.         if ($preValue !== null) {
  1196.             return $preValue;
  1197.         }
  1198.     }
  1199.     $data $this->facilityToaster;
  1200.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1201.         return $data->getPlain();
  1202.     }
  1203.     return $data;
  1204. }
  1205. /**
  1206. * Set facilityToaster - Toaster
  1207. * @param bool|null $facilityToaster
  1208. * @return \Pimcore\Model\DataObject\Apartment
  1209. */
  1210. public function setFacilityToaster(?bool $facilityToaster)
  1211. {
  1212.     $this->facilityToaster $facilityToaster;
  1213.     return $this;
  1214. }
  1215. /**
  1216. * Get facilityEggBoiler - Eierkocher
  1217. * @return bool|null
  1218. */
  1219. public function getFacilityEggBoiler(): ?bool
  1220. {
  1221.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1222.         $preValue $this->preGetValue("facilityEggBoiler");
  1223.         if ($preValue !== null) {
  1224.             return $preValue;
  1225.         }
  1226.     }
  1227.     $data $this->facilityEggBoiler;
  1228.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1229.         return $data->getPlain();
  1230.     }
  1231.     return $data;
  1232. }
  1233. /**
  1234. * Set facilityEggBoiler - Eierkocher
  1235. * @param bool|null $facilityEggBoiler
  1236. * @return \Pimcore\Model\DataObject\Apartment
  1237. */
  1238. public function setFacilityEggBoiler(?bool $facilityEggBoiler)
  1239. {
  1240.     $this->facilityEggBoiler $facilityEggBoiler;
  1241.     return $this;
  1242. }
  1243. /**
  1244. * Get facilityIron - Bügeleisen
  1245. * @return bool|null
  1246. */
  1247. public function getFacilityIron(): ?bool
  1248. {
  1249.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1250.         $preValue $this->preGetValue("facilityIron");
  1251.         if ($preValue !== null) {
  1252.             return $preValue;
  1253.         }
  1254.     }
  1255.     $data $this->facilityIron;
  1256.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1257.         return $data->getPlain();
  1258.     }
  1259.     return $data;
  1260. }
  1261. /**
  1262. * Set facilityIron - Bügeleisen
  1263. * @param bool|null $facilityIron
  1264. * @return \Pimcore\Model\DataObject\Apartment
  1265. */
  1266. public function setFacilityIron(?bool $facilityIron)
  1267. {
  1268.     $this->facilityIron $facilityIron;
  1269.     return $this;
  1270. }
  1271. /**
  1272. * Get facilityIronBoard - Bügelbrett
  1273. * @return bool|null
  1274. */
  1275. public function getFacilityIronBoard(): ?bool
  1276. {
  1277.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1278.         $preValue $this->preGetValue("facilityIronBoard");
  1279.         if ($preValue !== null) {
  1280.             return $preValue;
  1281.         }
  1282.     }
  1283.     $data $this->facilityIronBoard;
  1284.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1285.         return $data->getPlain();
  1286.     }
  1287.     return $data;
  1288. }
  1289. /**
  1290. * Set facilityIronBoard - Bügelbrett
  1291. * @param bool|null $facilityIronBoard
  1292. * @return \Pimcore\Model\DataObject\Apartment
  1293. */
  1294. public function setFacilityIronBoard(?bool $facilityIronBoard)
  1295. {
  1296.     $this->facilityIronBoard $facilityIronBoard;
  1297.     return $this;
  1298. }
  1299. /**
  1300. * Get facilityBedProtection - Rausfallschutz für Kinder
  1301. * @return bool|null
  1302. */
  1303. public function getFacilityBedProtection(): ?bool
  1304. {
  1305.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1306.         $preValue $this->preGetValue("facilityBedProtection");
  1307.         if ($preValue !== null) {
  1308.             return $preValue;
  1309.         }
  1310.     }
  1311.     $data $this->facilityBedProtection;
  1312.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1313.         return $data->getPlain();
  1314.     }
  1315.     return $data;
  1316. }
  1317. /**
  1318. * Set facilityBedProtection - Rausfallschutz für Kinder
  1319. * @param bool|null $facilityBedProtection
  1320. * @return \Pimcore\Model\DataObject\Apartment
  1321. */
  1322. public function setFacilityBedProtection(?bool $facilityBedProtection)
  1323. {
  1324.     $this->facilityBedProtection $facilityBedProtection;
  1325.     return $this;
  1326. }
  1327. /**
  1328. * Get facilityChildTableware - Kindergeschirr
  1329. * @return bool|null
  1330. */
  1331. public function getFacilityChildTableware(): ?bool
  1332. {
  1333.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1334.         $preValue $this->preGetValue("facilityChildTableware");
  1335.         if ($preValue !== null) {
  1336.             return $preValue;
  1337.         }
  1338.     }
  1339.     $data $this->facilityChildTableware;
  1340.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1341.         return $data->getPlain();
  1342.     }
  1343.     return $data;
  1344. }
  1345. /**
  1346. * Set facilityChildTableware - Kindergeschirr
  1347. * @param bool|null $facilityChildTableware
  1348. * @return \Pimcore\Model\DataObject\Apartment
  1349. */
  1350. public function setFacilityChildTableware(?bool $facilityChildTableware)
  1351. {
  1352.     $this->facilityChildTableware $facilityChildTableware;
  1353.     return $this;
  1354. }
  1355. /**
  1356. * Get facilityRoomSafe - Zimmersafe
  1357. * @return bool|null
  1358. */
  1359. public function getFacilityRoomSafe(): ?bool
  1360. {
  1361.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1362.         $preValue $this->preGetValue("facilityRoomSafe");
  1363.         if ($preValue !== null) {
  1364.             return $preValue;
  1365.         }
  1366.     }
  1367.     $data $this->facilityRoomSafe;
  1368.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1369.         return $data->getPlain();
  1370.     }
  1371.     return $data;
  1372. }
  1373. /**
  1374. * Set facilityRoomSafe - Zimmersafe
  1375. * @param bool|null $facilityRoomSafe
  1376. * @return \Pimcore\Model\DataObject\Apartment
  1377. */
  1378. public function setFacilityRoomSafe(?bool $facilityRoomSafe)
  1379. {
  1380.     $this->facilityRoomSafe $facilityRoomSafe;
  1381.     return $this;
  1382. }
  1383. /**
  1384. * Get facilityNespresso - Nespressomaschine &reg;
  1385. * @return bool|null
  1386. */
  1387. public function getFacilityNespresso(): ?bool
  1388. {
  1389.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1390.         $preValue $this->preGetValue("facilityNespresso");
  1391.         if ($preValue !== null) {
  1392.             return $preValue;
  1393.         }
  1394.     }
  1395.     $data $this->facilityNespresso;
  1396.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1397.         return $data->getPlain();
  1398.     }
  1399.     return $data;
  1400. }
  1401. /**
  1402. * Set facilityNespresso - Nespressomaschine &reg;
  1403. * @param bool|null $facilityNespresso
  1404. * @return \Pimcore\Model\DataObject\Apartment
  1405. */
  1406. public function setFacilityNespresso(?bool $facilityNespresso)
  1407. {
  1408.     $this->facilityNespresso $facilityNespresso;
  1409.     return $this;
  1410. }
  1411. /**
  1412. * Get facilityRadio - Radio/CD-Player 
  1413. * @return bool|null
  1414. */
  1415. public function getFacilityRadio(): ?bool
  1416. {
  1417.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1418.         $preValue $this->preGetValue("facilityRadio");
  1419.         if ($preValue !== null) {
  1420.             return $preValue;
  1421.         }
  1422.     }
  1423.     $data $this->facilityRadio;
  1424.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1425.         return $data->getPlain();
  1426.     }
  1427.     return $data;
  1428. }
  1429. /**
  1430. * Set facilityRadio - Radio/CD-Player 
  1431. * @param bool|null $facilityRadio
  1432. * @return \Pimcore\Model\DataObject\Apartment
  1433. */
  1434. public function setFacilityRadio(?bool $facilityRadio)
  1435. {
  1436.     $this->facilityRadio $facilityRadio;
  1437.     return $this;
  1438. }
  1439. /**
  1440. * Get facilityHairDryer - Haartrockner
  1441. * @return bool|null
  1442. */
  1443. public function getFacilityHairDryer(): ?bool
  1444. {
  1445.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1446.         $preValue $this->preGetValue("facilityHairDryer");
  1447.         if ($preValue !== null) {
  1448.             return $preValue;
  1449.         }
  1450.     }
  1451.     $data $this->facilityHairDryer;
  1452.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1453.         return $data->getPlain();
  1454.     }
  1455.     return $data;
  1456. }
  1457. /**
  1458. * Set facilityHairDryer - Haartrockner
  1459. * @param bool|null $facilityHairDryer
  1460. * @return \Pimcore\Model\DataObject\Apartment
  1461. */
  1462. public function setFacilityHairDryer(?bool $facilityHairDryer)
  1463. {
  1464.     $this->facilityHairDryer $facilityHairDryer;
  1465.     return $this;
  1466. }
  1467. /**
  1468. * Get facilityBedLinen - Bettwäsche
  1469. * @return bool|null
  1470. */
  1471. public function getFacilityBedLinen(): ?bool
  1472. {
  1473.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1474.         $preValue $this->preGetValue("facilityBedLinen");
  1475.         if ($preValue !== null) {
  1476.             return $preValue;
  1477.         }
  1478.     }
  1479.     $data $this->facilityBedLinen;
  1480.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1481.         return $data->getPlain();
  1482.     }
  1483.     return $data;
  1484. }
  1485. /**
  1486. * Set facilityBedLinen - Bettwäsche
  1487. * @param bool|null $facilityBedLinen
  1488. * @return \Pimcore\Model\DataObject\Apartment
  1489. */
  1490. public function setFacilityBedLinen(?bool $facilityBedLinen)
  1491. {
  1492.     $this->facilityBedLinen $facilityBedLinen;
  1493.     return $this;
  1494. }
  1495. /**
  1496. * Get facilityTowels - Handtücher
  1497. * @return bool|null
  1498. */
  1499. public function getFacilityTowels(): ?bool
  1500. {
  1501.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1502.         $preValue $this->preGetValue("facilityTowels");
  1503.         if ($preValue !== null) {
  1504.             return $preValue;
  1505.         }
  1506.     }
  1507.     $data $this->facilityTowels;
  1508.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1509.         return $data->getPlain();
  1510.     }
  1511.     return $data;
  1512. }
  1513. /**
  1514. * Set facilityTowels - Handtücher
  1515. * @param bool|null $facilityTowels
  1516. * @return \Pimcore\Model\DataObject\Apartment
  1517. */
  1518. public function setFacilityTowels(?bool $facilityTowels)
  1519. {
  1520.     $this->facilityTowels $facilityTowels;
  1521.     return $this;
  1522. }
  1523. /**
  1524. * Get facilityTowelDryer - Handtuchtrockner
  1525. * @return bool|null
  1526. */
  1527. public function getFacilityTowelDryer(): ?bool
  1528. {
  1529.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1530.         $preValue $this->preGetValue("facilityTowelDryer");
  1531.         if ($preValue !== null) {
  1532.             return $preValue;
  1533.         }
  1534.     }
  1535.     $data $this->facilityTowelDryer;
  1536.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1537.         return $data->getPlain();
  1538.     }
  1539.     return $data;
  1540. }
  1541. /**
  1542. * Set facilityTowelDryer - Handtuchtrockner
  1543. * @param bool|null $facilityTowelDryer
  1544. * @return \Pimcore\Model\DataObject\Apartment
  1545. */
  1546. public function setFacilityTowelDryer(?bool $facilityTowelDryer)
  1547. {
  1548.     $this->facilityTowelDryer $facilityTowelDryer;
  1549.     return $this;
  1550. }
  1551. /**
  1552. * Get facilityElectricFrame - Elektrischer Lattenrost
  1553. * @return bool|null
  1554. */
  1555. public function getFacilityElectricFrame(): ?bool
  1556. {
  1557.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1558.         $preValue $this->preGetValue("facilityElectricFrame");
  1559.         if ($preValue !== null) {
  1560.             return $preValue;
  1561.         }
  1562.     }
  1563.     $data $this->facilityElectricFrame;
  1564.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1565.         return $data->getPlain();
  1566.     }
  1567.     return $data;
  1568. }
  1569. /**
  1570. * Set facilityElectricFrame - Elektrischer Lattenrost
  1571. * @param bool|null $facilityElectricFrame
  1572. * @return \Pimcore\Model\DataObject\Apartment
  1573. */
  1574. public function setFacilityElectricFrame(?bool $facilityElectricFrame)
  1575. {
  1576.     $this->facilityElectricFrame $facilityElectricFrame;
  1577.     return $this;
  1578. }
  1579. /**
  1580. * Get facilityIntercom - Haustürsprechanlage 
  1581. * @return bool|null
  1582. */
  1583. public function getFacilityIntercom(): ?bool
  1584. {
  1585.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1586.         $preValue $this->preGetValue("facilityIntercom");
  1587.         if ($preValue !== null) {
  1588.             return $preValue;
  1589.         }
  1590.     }
  1591.     $data $this->facilityIntercom;
  1592.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1593.         return $data->getPlain();
  1594.     }
  1595.     return $data;
  1596. }
  1597. /**
  1598. * Set facilityIntercom - Haustürsprechanlage 
  1599. * @param bool|null $facilityIntercom
  1600. * @return \Pimcore\Model\DataObject\Apartment
  1601. */
  1602. public function setFacilityIntercom(?bool $facilityIntercom)
  1603. {
  1604.     $this->facilityIntercom $facilityIntercom;
  1605.     return $this;
  1606. }
  1607. /**
  1608. * Get extraFrenchBalcony - Französischer Balkon
  1609. * @return bool|null
  1610. */
  1611. public function getExtraFrenchBalcony(): ?bool
  1612. {
  1613.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1614.         $preValue $this->preGetValue("extraFrenchBalcony");
  1615.         if ($preValue !== null) {
  1616.             return $preValue;
  1617.         }
  1618.     }
  1619.     $data $this->extraFrenchBalcony;
  1620.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1621.         return $data->getPlain();
  1622.     }
  1623.     return $data;
  1624. }
  1625. /**
  1626. * Set extraFrenchBalcony - Französischer Balkon
  1627. * @param bool|null $extraFrenchBalcony
  1628. * @return \Pimcore\Model\DataObject\Apartment
  1629. */
  1630. public function setExtraFrenchBalcony(?bool $extraFrenchBalcony)
  1631. {
  1632.     $this->extraFrenchBalcony $extraFrenchBalcony;
  1633.     return $this;
  1634. }
  1635. /**
  1636. * Get extraWheelchairDoors - Rollstuhlgerechte Türen
  1637. * @return bool|null
  1638. */
  1639. public function getExtraWheelchairDoors(): ?bool
  1640. {
  1641.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1642.         $preValue $this->preGetValue("extraWheelchairDoors");
  1643.         if ($preValue !== null) {
  1644.             return $preValue;
  1645.         }
  1646.     }
  1647.     $data $this->extraWheelchairDoors;
  1648.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1649.         return $data->getPlain();
  1650.     }
  1651.     return $data;
  1652. }
  1653. /**
  1654. * Set extraWheelchairDoors - Rollstuhlgerechte Türen
  1655. * @param bool|null $extraWheelchairDoors
  1656. * @return \Pimcore\Model\DataObject\Apartment
  1657. */
  1658. public function setExtraWheelchairDoors(?bool $extraWheelchairDoors)
  1659. {
  1660.     $this->extraWheelchairDoors $extraWheelchairDoors;
  1661.     return $this;
  1662. }
  1663. /**
  1664. * Get extraWheelchairBath - Rollstuhlgerechtes Bad
  1665. * @return bool|null
  1666. */
  1667. public function getExtraWheelchairBath(): ?bool
  1668. {
  1669.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1670.         $preValue $this->preGetValue("extraWheelchairBath");
  1671.         if ($preValue !== null) {
  1672.             return $preValue;
  1673.         }
  1674.     }
  1675.     $data $this->extraWheelchairBath;
  1676.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1677.         return $data->getPlain();
  1678.     }
  1679.     return $data;
  1680. }
  1681. /**
  1682. * Set extraWheelchairBath - Rollstuhlgerechtes Bad
  1683. * @param bool|null $extraWheelchairBath
  1684. * @return \Pimcore\Model\DataObject\Apartment
  1685. */
  1686. public function setExtraWheelchairBath(?bool $extraWheelchairBath)
  1687. {
  1688.     $this->extraWheelchairBath $extraWheelchairBath;
  1689.     return $this;
  1690. }
  1691. /**
  1692. * Get extraAccessibility - Barrierefreiheit 
  1693. * @return bool|null
  1694. */
  1695. public function getExtraAccessibility(): ?bool
  1696. {
  1697.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1698.         $preValue $this->preGetValue("extraAccessibility");
  1699.         if ($preValue !== null) {
  1700.             return $preValue;
  1701.         }
  1702.     }
  1703.     $data $this->extraAccessibility;
  1704.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1705.         return $data->getPlain();
  1706.     }
  1707.     return $data;
  1708. }
  1709. /**
  1710. * Set extraAccessibility - Barrierefreiheit 
  1711. * @param bool|null $extraAccessibility
  1712. * @return \Pimcore\Model\DataObject\Apartment
  1713. */
  1714. public function setExtraAccessibility(?bool $extraAccessibility)
  1715. {
  1716.     $this->extraAccessibility $extraAccessibility;
  1717.     return $this;
  1718. }
  1719. /**
  1720. * Get extraAllergyFriendly - Allergikerfreundlichkeit
  1721. * @return bool|null
  1722. */
  1723. public function getExtraAllergyFriendly(): ?bool
  1724. {
  1725.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1726.         $preValue $this->preGetValue("extraAllergyFriendly");
  1727.         if ($preValue !== null) {
  1728.             return $preValue;
  1729.         }
  1730.     }
  1731.     $data $this->extraAllergyFriendly;
  1732.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1733.         return $data->getPlain();
  1734.     }
  1735.     return $data;
  1736. }
  1737. /**
  1738. * Set extraAllergyFriendly - Allergikerfreundlichkeit
  1739. * @param bool|null $extraAllergyFriendly
  1740. * @return \Pimcore\Model\DataObject\Apartment
  1741. */
  1742. public function setExtraAllergyFriendly(?bool $extraAllergyFriendly)
  1743. {
  1744.     $this->extraAllergyFriendly $extraAllergyFriendly;
  1745.     return $this;
  1746. }
  1747. /**
  1748. * Get extraUnderfloorHeating - Fußbodenheizung 
  1749. * @return bool|null
  1750. */
  1751. public function getExtraUnderfloorHeating(): ?bool
  1752. {
  1753.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1754.         $preValue $this->preGetValue("extraUnderfloorHeating");
  1755.         if ($preValue !== null) {
  1756.             return $preValue;
  1757.         }
  1758.     }
  1759.     $data $this->extraUnderfloorHeating;
  1760.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1761.         return $data->getPlain();
  1762.     }
  1763.     return $data;
  1764. }
  1765. /**
  1766. * Set extraUnderfloorHeating - Fußbodenheizung 
  1767. * @param bool|null $extraUnderfloorHeating
  1768. * @return \Pimcore\Model\DataObject\Apartment
  1769. */
  1770. public function setExtraUnderfloorHeating(?bool $extraUnderfloorHeating)
  1771. {
  1772.     $this->extraUnderfloorHeating $extraUnderfloorHeating;
  1773.     return $this;
  1774. }
  1775. /**
  1776. * Get extraShutters - Elektrische Rollläden
  1777. * @return bool|null
  1778. */
  1779. public function getExtraShutters(): ?bool
  1780. {
  1781.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1782.         $preValue $this->preGetValue("extraShutters");
  1783.         if ($preValue !== null) {
  1784.             return $preValue;
  1785.         }
  1786.     }
  1787.     $data $this->extraShutters;
  1788.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1789.         return $data->getPlain();
  1790.     }
  1791.     return $data;
  1792. }
  1793. /**
  1794. * Set extraShutters - Elektrische Rollläden
  1795. * @param bool|null $extraShutters
  1796. * @return \Pimcore\Model\DataObject\Apartment
  1797. */
  1798. public function setExtraShutters(?bool $extraShutters)
  1799. {
  1800.     $this->extraShutters $extraShutters;
  1801.     return $this;
  1802. }
  1803. /**
  1804. * Get extraWaterSoftener - Wasserenthärtungsanlage
  1805. * @return bool|null
  1806. */
  1807. public function getExtraWaterSoftener(): ?bool
  1808. {
  1809.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1810.         $preValue $this->preGetValue("extraWaterSoftener");
  1811.         if ($preValue !== null) {
  1812.             return $preValue;
  1813.         }
  1814.     }
  1815.     $data $this->extraWaterSoftener;
  1816.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1817.         return $data->getPlain();
  1818.     }
  1819.     return $data;
  1820. }
  1821. /**
  1822. * Set extraWaterSoftener - Wasserenthärtungsanlage
  1823. * @param bool|null $extraWaterSoftener
  1824. * @return \Pimcore\Model\DataObject\Apartment
  1825. */
  1826. public function setExtraWaterSoftener(?bool $extraWaterSoftener)
  1827. {
  1828.     $this->extraWaterSoftener $extraWaterSoftener;
  1829.     return $this;
  1830. }
  1831. /**
  1832. * Get extraWashingMachine - Zentralwaschmaschine
  1833. * @return bool|null
  1834. */
  1835. public function getExtraWashingMachine(): ?bool
  1836. {
  1837.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1838.         $preValue $this->preGetValue("extraWashingMachine");
  1839.         if ($preValue !== null) {
  1840.             return $preValue;
  1841.         }
  1842.     }
  1843.     $data $this->extraWashingMachine;
  1844.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1845.         return $data->getPlain();
  1846.     }
  1847.     return $data;
  1848. }
  1849. /**
  1850. * Set extraWashingMachine - Zentralwaschmaschine
  1851. * @param bool|null $extraWashingMachine
  1852. * @return \Pimcore\Model\DataObject\Apartment
  1853. */
  1854. public function setExtraWashingMachine(?bool $extraWashingMachine)
  1855. {
  1856.     $this->extraWashingMachine $extraWashingMachine;
  1857.     return $this;
  1858. }
  1859. /**
  1860. * Get extraTumbleDryer - zentraler Wäschetrockner
  1861. * @return bool|null
  1862. */
  1863. public function getExtraTumbleDryer(): ?bool
  1864. {
  1865.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1866.         $preValue $this->preGetValue("extraTumbleDryer");
  1867.         if ($preValue !== null) {
  1868.             return $preValue;
  1869.         }
  1870.     }
  1871.     $data $this->extraTumbleDryer;
  1872.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1873.         return $data->getPlain();
  1874.     }
  1875.     return $data;
  1876. }
  1877. /**
  1878. * Set extraTumbleDryer - zentraler Wäschetrockner
  1879. * @param bool|null $extraTumbleDryer
  1880. * @return \Pimcore\Model\DataObject\Apartment
  1881. */
  1882. public function setExtraTumbleDryer(?bool $extraTumbleDryer)
  1883. {
  1884.     $this->extraTumbleDryer $extraTumbleDryer;
  1885.     return $this;
  1886. }
  1887. /**
  1888. * Get extraCleaning - Zwischenreinigung
  1889. * @return bool|null
  1890. */
  1891. public function getExtraCleaning(): ?bool
  1892. {
  1893.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1894.         $preValue $this->preGetValue("extraCleaning");
  1895.         if ($preValue !== null) {
  1896.             return $preValue;
  1897.         }
  1898.     }
  1899.     $data $this->extraCleaning;
  1900.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1901.         return $data->getPlain();
  1902.     }
  1903.     return $data;
  1904. }
  1905. /**
  1906. * Set extraCleaning - Zwischenreinigung
  1907. * @param bool|null $extraCleaning
  1908. * @return \Pimcore\Model\DataObject\Apartment
  1909. */
  1910. public function setExtraCleaning(?bool $extraCleaning)
  1911. {
  1912.     $this->extraCleaning $extraCleaning;
  1913.     return $this;
  1914. }
  1915. /**
  1916. * Get extraBikeLocker - Fahrradgarage
  1917. * @return bool|null
  1918. */
  1919. public function getExtraBikeLocker(): ?bool
  1920. {
  1921.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1922.         $preValue $this->preGetValue("extraBikeLocker");
  1923.         if ($preValue !== null) {
  1924.             return $preValue;
  1925.         }
  1926.     }
  1927.     $data $this->extraBikeLocker;
  1928.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1929.         return $data->getPlain();
  1930.     }
  1931.     return $data;
  1932. }
  1933. /**
  1934. * Set extraBikeLocker - Fahrradgarage
  1935. * @param bool|null $extraBikeLocker
  1936. * @return \Pimcore\Model\DataObject\Apartment
  1937. */
  1938. public function setExtraBikeLocker(?bool $extraBikeLocker)
  1939. {
  1940.     $this->extraBikeLocker $extraBikeLocker;
  1941.     return $this;
  1942. }
  1943. /**
  1944. * Get extraBabyCrib - Babybett
  1945. * @return bool|null
  1946. */
  1947. public function getExtraBabyCrib(): ?bool
  1948. {
  1949.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1950.         $preValue $this->preGetValue("extraBabyCrib");
  1951.         if ($preValue !== null) {
  1952.             return $preValue;
  1953.         }
  1954.     }
  1955.     $data $this->extraBabyCrib;
  1956.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1957.         return $data->getPlain();
  1958.     }
  1959.     return $data;
  1960. }
  1961. /**
  1962. * Set extraBabyCrib - Babybett
  1963. * @param bool|null $extraBabyCrib
  1964. * @return \Pimcore\Model\DataObject\Apartment
  1965. */
  1966. public function setExtraBabyCrib(?bool $extraBabyCrib)
  1967. {
  1968.     $this->extraBabyCrib $extraBabyCrib;
  1969.     return $this;
  1970. }
  1971. /**
  1972. * Get extraHighChair - Kinderstuhl
  1973. * @return bool|null
  1974. */
  1975. public function getExtraHighChair(): ?bool
  1976. {
  1977.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1978.         $preValue $this->preGetValue("extraHighChair");
  1979.         if ($preValue !== null) {
  1980.             return $preValue;
  1981.         }
  1982.     }
  1983.     $data $this->extraHighChair;
  1984.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1985.         return $data->getPlain();
  1986.     }
  1987.     return $data;
  1988. }
  1989. /**
  1990. * Set extraHighChair - Kinderstuhl
  1991. * @param bool|null $extraHighChair
  1992. * @return \Pimcore\Model\DataObject\Apartment
  1993. */
  1994. public function setExtraHighChair(?bool $extraHighChair)
  1995. {
  1996.     $this->extraHighChair $extraHighChair;
  1997.     return $this;
  1998. }
  1999. /**
  2000. * Get logo - Logo
  2001. * @return \Pimcore\Model\Asset\Image|null
  2002. */
  2003. public function getLogo(): ?\Pimcore\Model\Asset\Image
  2004. {
  2005.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  2006.         $preValue $this->preGetValue("logo");
  2007.         if ($preValue !== null) {
  2008.             return $preValue;
  2009.         }
  2010.     }
  2011.     $data $this->logo;
  2012.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  2013.         return $data->getPlain();
  2014.     }
  2015.     return $data;
  2016. }
  2017. /**
  2018. * Set logo - Logo
  2019. * @param \Pimcore\Model\Asset\Image|null $logo
  2020. * @return \Pimcore\Model\DataObject\Apartment
  2021. */
  2022. public function setLogo(?\Pimcore\Model\Asset\Image $logo)
  2023. {
  2024.     $this->logo $logo;
  2025.     return $this;
  2026. }
  2027. /**
  2028. * Get mainImage - Hauptbild des Apartments
  2029. * @return \Pimcore\Model\Asset\Image|null
  2030. */
  2031. public function getMainImage(): ?\Pimcore\Model\Asset\Image
  2032. {
  2033.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  2034.         $preValue $this->preGetValue("mainImage");
  2035.         if ($preValue !== null) {
  2036.             return $preValue;
  2037.         }
  2038.     }
  2039.     $data $this->mainImage;
  2040.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  2041.         return $data->getPlain();
  2042.     }
  2043.     return $data;
  2044. }
  2045. /**
  2046. * Set mainImage - Hauptbild des Apartments
  2047. * @param \Pimcore\Model\Asset\Image|null $mainImage
  2048. * @return \Pimcore\Model\DataObject\Apartment
  2049. */
  2050. public function setMainImage(?\Pimcore\Model\Asset\Image $mainImage)
  2051. {
  2052.     $this->mainImage $mainImage;
  2053.     return $this;
  2054. }
  2055. /**
  2056. * Get gallery - Bildergalerie
  2057. * @return \Pimcore\Model\DataObject\Data\ImageGallery|null
  2058. */
  2059. public function getGallery(): ?\Pimcore\Model\DataObject\Data\ImageGallery
  2060. {
  2061.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  2062.         $preValue $this->preGetValue("gallery");
  2063.         if ($preValue !== null) {
  2064.             return $preValue;
  2065.         }
  2066.     }
  2067.     $data $this->gallery;
  2068.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  2069.         return $data->getPlain();
  2070.     }
  2071.     return $data;
  2072. }
  2073. /**
  2074. * Set gallery - Bildergalerie
  2075. * @param \Pimcore\Model\DataObject\Data\ImageGallery|null $gallery
  2076. * @return \Pimcore\Model\DataObject\Apartment
  2077. */
  2078. public function setGallery(?\Pimcore\Model\DataObject\Data\ImageGallery $gallery)
  2079. {
  2080.     $this->gallery $gallery;
  2081.     return $this;
  2082. }
  2083. /**
  2084. * Get floorPlan - Grundriss des Apartments
  2085. * @return \Pimcore\Model\Asset\Image|null
  2086. */
  2087. public function getFloorPlan(): ?\Pimcore\Model\Asset\Image
  2088. {
  2089.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  2090.         $preValue $this->preGetValue("floorPlan");
  2091.         if ($preValue !== null) {
  2092.             return $preValue;
  2093.         }
  2094.     }
  2095.     $data $this->floorPlan;
  2096.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  2097.         return $data->getPlain();
  2098.     }
  2099.     return $data;
  2100. }
  2101. /**
  2102. * Set floorPlan - Grundriss des Apartments
  2103. * @param \Pimcore\Model\Asset\Image|null $floorPlan
  2104. * @return \Pimcore\Model\DataObject\Apartment
  2105. */
  2106. public function setFloorPlan(?\Pimcore\Model\Asset\Image $floorPlan)
  2107. {
  2108.     $this->floorPlan $floorPlan;
  2109.     return $this;
  2110. }
  2111. }