var/classes/DataObject/Apartment.php line 706

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