var/classes/DataObject/Apartment.php line 680

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