<?php
/**
* Inheritance: no
* Variants: no
Fields Summary:
- name [input]
- stars [select]
- guests [numeric]
- price [numeric]
- position [slider]
- localizedfields [localizedfields]
-- shortDescription [input]
-- description [wysiwyg]
-- feature1 [input]
-- feature2 [input]
-- feature3 [input]
-- feature4 [input]
-- feature5 [input]
-- feature6 [input]
-- feature7 [input]
-- feature8 [input]
-- feature9 [input]
-- feature10 [input]
-- feature11 [input]
-- feature12 [input]
- icon1 [checkbox]
- icon2 [checkbox]
- icon3 [checkbox]
- icon4 [checkbox]
- icon5 [checkbox]
- icon6 [checkbox]
- icon7 [checkbox]
- facilityFreeWifi [checkbox]
- facilityCalbeTv [checkbox]
- facilityKitchenette [checkbox]
- facilityRefrigerator [checkbox]
- facilityDishwasher [checkbox]
- facilityCoffeeMaker [checkbox]
- facilityElectricKettle [checkbox]
- facilityToaster [checkbox]
- facilityEggBoiler [checkbox]
- facilityIron [checkbox]
- facilityIronBoard [checkbox]
- facilityBedProtection [checkbox]
- facilityChildTableware [checkbox]
- facilityRoomSafe [checkbox]
- facilityNespresso [checkbox]
- facilityRadio [checkbox]
- facilityHairDryer [checkbox]
- facilityBedLinen [checkbox]
- facilityTowels [checkbox]
- facilityTowelDryer [checkbox]
- facilityElectricFrame [checkbox]
- facilityIntercom [checkbox]
- extraFrenchBalcony [checkbox]
- extraWheelchairDoors [checkbox]
- extraWheelchairBath [checkbox]
- extraAccessibility [checkbox]
- extraAllergyFriendly [checkbox]
- extraUnderfloorHeating [checkbox]
- extraShutters [checkbox]
- extraWaterSoftener [checkbox]
- extraWashingMachine [checkbox]
- extraTumbleDryer [checkbox]
- extraCleaning [checkbox]
- extraBikeLocker [checkbox]
- extraBabyCrib [checkbox]
- extraHighChair [checkbox]
- logo [image]
- mainImage [image]
- gallery [imageGallery]
- floorPlan [image]
*/
namespace Pimcore\Model\DataObject;
use Pimcore\Model\DataObject\Exception\InheritanceParentNotFoundException;
use Pimcore\Model\DataObject\PreGetValueHookInterface;
/**
* @method static \Pimcore\Model\DataObject\Apartment\Listing getList(array $config = [])
* @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByName($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByStars($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByGuests($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByPrice($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByPosition($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByLocalizedfields($field, $value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByShortDescription($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByDescription($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByFeature1($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByFeature2($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByFeature3($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByFeature4($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByFeature5($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByFeature6($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByFeature7($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByFeature8($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByFeature9($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByFeature10($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByFeature11($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByFeature12($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByIcon1($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByIcon2($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByIcon3($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByIcon4($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByIcon5($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByIcon6($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByIcon7($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByFacilityFreeWifi($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByFacilityCalbeTv($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByFacilityKitchenette($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByFacilityRefrigerator($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByFacilityDishwasher($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByFacilityCoffeeMaker($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByFacilityElectricKettle($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByFacilityToaster($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByFacilityEggBoiler($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByFacilityIron($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByFacilityIronBoard($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByFacilityBedProtection($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByFacilityChildTableware($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByFacilityRoomSafe($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByFacilityNespresso($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByFacilityRadio($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByFacilityHairDryer($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByFacilityBedLinen($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByFacilityTowels($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByFacilityTowelDryer($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByFacilityElectricFrame($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByFacilityIntercom($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByExtraFrenchBalcony($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByExtraWheelchairDoors($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByExtraWheelchairBath($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByExtraAccessibility($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByExtraAllergyFriendly($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByExtraUnderfloorHeating($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByExtraShutters($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByExtraWaterSoftener($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByExtraWashingMachine($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByExtraTumbleDryer($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByExtraCleaning($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByExtraBikeLocker($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByExtraBabyCrib($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByExtraHighChair($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByLogo($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByMainImage($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Apartment\Listing|\Pimcore\Model\DataObject\Apartment|null getByFloorPlan($value, $limit = 0, $offset = 0, $objectTypes = null)
*/
class Apartment extends Concrete
{
protected $o_classId = "1";
protected $o_className = "Apartment";
protected $name;
protected $stars;
protected $guests;
protected $price;
protected $position;
protected $localizedfields;
protected $icon1;
protected $icon2;
protected $icon3;
protected $icon4;
protected $icon5;
protected $icon6;
protected $icon7;
protected $facilityFreeWifi;
protected $facilityCalbeTv;
protected $facilityKitchenette;
protected $facilityRefrigerator;
protected $facilityDishwasher;
protected $facilityCoffeeMaker;
protected $facilityElectricKettle;
protected $facilityToaster;
protected $facilityEggBoiler;
protected $facilityIron;
protected $facilityIronBoard;
protected $facilityBedProtection;
protected $facilityChildTableware;
protected $facilityRoomSafe;
protected $facilityNespresso;
protected $facilityRadio;
protected $facilityHairDryer;
protected $facilityBedLinen;
protected $facilityTowels;
protected $facilityTowelDryer;
protected $facilityElectricFrame;
protected $facilityIntercom;
protected $extraFrenchBalcony;
protected $extraWheelchairDoors;
protected $extraWheelchairBath;
protected $extraAccessibility;
protected $extraAllergyFriendly;
protected $extraUnderfloorHeating;
protected $extraShutters;
protected $extraWaterSoftener;
protected $extraWashingMachine;
protected $extraTumbleDryer;
protected $extraCleaning;
protected $extraBikeLocker;
protected $extraBabyCrib;
protected $extraHighChair;
protected $logo;
protected $mainImage;
protected $gallery;
protected $floorPlan;
/**
* @param array $values
* @return \Pimcore\Model\DataObject\Apartment
*/
public static function create($values = array()) {
$object = new static();
$object->setValues($values);
return $object;
}
/**
* Get name - Name des Apartments
* @return string|null
*/
public function getName(): ?string
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("name");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->name;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set name - Name des Apartments
* @param string|null $name
* @return \Pimcore\Model\DataObject\Apartment
*/
public function setName(?string $name)
{
$this->name = $name;
return $this;
}
/**
* Get stars - Sterne Kategorie
* @return string|null
*/
public function getStars(): ?string
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("stars");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->stars;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set stars - Sterne Kategorie
* @param string|null $stars
* @return \Pimcore\Model\DataObject\Apartment
*/
public function setStars(?string $stars)
{
$this->stars = $stars;
return $this;
}
/**
* Get guests - Max. Anzahl Gäste
* @return float|null
*/
public function getGuests(): ?float
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("guests");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->guests;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set guests - Max. Anzahl Gäste
* @param float|null $guests
* @return \Pimcore\Model\DataObject\Apartment
*/
public function setGuests(?float $guests)
{
/** @var \Pimcore\Model\DataObject\ClassDefinition\Data\Numeric $fd */
$fd = $this->getClass()->getFieldDefinition("guests");
$this->guests = $fd->preSetData($this, $guests);
return $this;
}
/**
* Get price - Preis pro Übernachtung (EUR)
* @return string|null
*/
public function getPrice(): ?string
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("price");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->price;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set price - Preis pro Übernachtung (EUR)
* @param string|null $price
* @return \Pimcore\Model\DataObject\Apartment
*/
public function setPrice(?string $price)
{
/** @var \Pimcore\Model\DataObject\ClassDefinition\Data\Numeric $fd */
$fd = $this->getClass()->getFieldDefinition("price");
$this->price = $fd->preSetData($this, $price);
return $this;
}
/**
* Get position - Reihenfolge
* @return float|null
*/
public function getPosition(): ?float
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("position");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->position;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set position - Reihenfolge
* @param float|null $position
* @return \Pimcore\Model\DataObject\Apartment
*/
public function setPosition(?float $position)
{
$this->position = $position;
return $this;
}
/**
* Get localizedfields - Kurzbeschreibung
* @return \Pimcore\Model\DataObject\Localizedfield|null
*/
public function getLocalizedfields(): ?\Pimcore\Model\DataObject\Localizedfield
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("localizedfields");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->getClass()->getFieldDefinition("localizedfields")->preGetData($this);
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Get shortDescription - Kurzbeschreibung
* @return string|null
*/
public function getShortDescription($language = null): ?string
{
$data = $this->getLocalizedfields()->getLocalizedValue("shortDescription", $language);
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("shortDescription");
if ($preValue !== null) {
return $preValue;
}
}
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Get description - Beschreibung des Apartments
* @return string|null
*/
public function getDescription($language = null): ?string
{
$data = $this->getLocalizedfields()->getLocalizedValue("description", $language);
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("description");
if ($preValue !== null) {
return $preValue;
}
}
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Get feature1 - Feature 1
* @return string|null
*/
public function getFeature1($language = null): ?string
{
$data = $this->getLocalizedfields()->getLocalizedValue("feature1", $language);
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("feature1");
if ($preValue !== null) {
return $preValue;
}
}
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Get feature2 - Feature 2
* @return string|null
*/
public function getFeature2($language = null): ?string
{
$data = $this->getLocalizedfields()->getLocalizedValue("feature2", $language);
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("feature2");
if ($preValue !== null) {
return $preValue;
}
}
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Get feature3 - Feature 3
* @return string|null
*/
public function getFeature3($language = null): ?string
{
$data = $this->getLocalizedfields()->getLocalizedValue("feature3", $language);
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("feature3");
if ($preValue !== null) {
return $preValue;
}
}
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Get feature4 - Feature 4
* @return string|null
*/
public function getFeature4($language = null): ?string
{
$data = $this->getLocalizedfields()->getLocalizedValue("feature4", $language);
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("feature4");
if ($preValue !== null) {
return $preValue;
}
}
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Get feature5 - Feature 5
* @return string|null
*/
public function getFeature5($language = null): ?string
{
$data = $this->getLocalizedfields()->getLocalizedValue("feature5", $language);
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("feature5");
if ($preValue !== null) {
return $preValue;
}
}
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Get feature6 - Feature 6
* @return string|null
*/
public function getFeature6($language = null): ?string
{
$data = $this->getLocalizedfields()->getLocalizedValue("feature6", $language);
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("feature6");
if ($preValue !== null) {
return $preValue;
}
}
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Get feature7 - Feature 7
* @return string|null
*/
public function getFeature7($language = null): ?string
{
$data = $this->getLocalizedfields()->getLocalizedValue("feature7", $language);
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("feature7");
if ($preValue !== null) {
return $preValue;
}
}
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Get feature8 - Feature 8
* @return string|null
*/
public function getFeature8($language = null): ?string
{
$data = $this->getLocalizedfields()->getLocalizedValue("feature8", $language);
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("feature8");
if ($preValue !== null) {
return $preValue;
}
}
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Get feature9 - Feature 9
* @return string|null
*/
public function getFeature9($language = null): ?string
{
$data = $this->getLocalizedfields()->getLocalizedValue("feature9", $language);
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("feature9");
if ($preValue !== null) {
return $preValue;
}
}
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Get feature10 - Feature 10
* @return string|null
*/
public function getFeature10($language = null): ?string
{
$data = $this->getLocalizedfields()->getLocalizedValue("feature10", $language);
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("feature10");
if ($preValue !== null) {
return $preValue;
}
}
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Get feature11 - Feature 11
* @return string|null
*/
public function getFeature11($language = null): ?string
{
$data = $this->getLocalizedfields()->getLocalizedValue("feature11", $language);
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("feature11");
if ($preValue !== null) {
return $preValue;
}
}
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Get feature12 - Feature 12
* @return string|null
*/
public function getFeature12($language = null): ?string
{
$data = $this->getLocalizedfields()->getLocalizedValue("feature12", $language);
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("feature12");
if ($preValue !== null) {
return $preValue;
}
}
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set localizedfields - Kurzbeschreibung
* @param \Pimcore\Model\DataObject\Localizedfield|null $localizedfields
* @return \Pimcore\Model\DataObject\Apartment
*/
public function setLocalizedfields(?\Pimcore\Model\DataObject\Localizedfield $localizedfields)
{
$hideUnpublished = \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
\Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
$currentData = $this->getLocalizedfields();
\Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
$this->markFieldDirty("localizedfields", true);
$this->localizedfields = $localizedfields;
return $this;
}
/**
* Set shortDescription - Kurzbeschreibung
* @param string|null $shortDescription
* @return \Pimcore\Model\DataObject\Apartment
*/
public function setShortDescription (?string $shortDescription, $language = null)
{
$isEqual = false;
$this->getLocalizedfields()->setLocalizedValue("shortDescription", $shortDescription, $language, !$isEqual);
return $this;
}
/**
* Set description - Beschreibung des Apartments
* @param string|null $description
* @return \Pimcore\Model\DataObject\Apartment
*/
public function setDescription (?string $description, $language = null)
{
$isEqual = false;
$this->getLocalizedfields()->setLocalizedValue("description", $description, $language, !$isEqual);
return $this;
}
/**
* Set feature1 - Feature 1
* @param string|null $feature1
* @return \Pimcore\Model\DataObject\Apartment
*/
public function setFeature1 (?string $feature1, $language = null)
{
$isEqual = false;
$this->getLocalizedfields()->setLocalizedValue("feature1", $feature1, $language, !$isEqual);
return $this;
}
/**
* Set feature2 - Feature 2
* @param string|null $feature2
* @return \Pimcore\Model\DataObject\Apartment
*/
public function setFeature2 (?string $feature2, $language = null)
{
$isEqual = false;
$this->getLocalizedfields()->setLocalizedValue("feature2", $feature2, $language, !$isEqual);
return $this;
}
/**
* Set feature3 - Feature 3
* @param string|null $feature3
* @return \Pimcore\Model\DataObject\Apartment
*/
public function setFeature3 (?string $feature3, $language = null)
{
$isEqual = false;
$this->getLocalizedfields()->setLocalizedValue("feature3", $feature3, $language, !$isEqual);
return $this;
}
/**
* Set feature4 - Feature 4
* @param string|null $feature4
* @return \Pimcore\Model\DataObject\Apartment
*/
public function setFeature4 (?string $feature4, $language = null)
{
$isEqual = false;
$this->getLocalizedfields()->setLocalizedValue("feature4", $feature4, $language, !$isEqual);
return $this;
}
/**
* Set feature5 - Feature 5
* @param string|null $feature5
* @return \Pimcore\Model\DataObject\Apartment
*/
public function setFeature5 (?string $feature5, $language = null)
{
$isEqual = false;
$this->getLocalizedfields()->setLocalizedValue("feature5", $feature5, $language, !$isEqual);
return $this;
}
/**
* Set feature6 - Feature 6
* @param string|null $feature6
* @return \Pimcore\Model\DataObject\Apartment
*/
public function setFeature6 (?string $feature6, $language = null)
{
$isEqual = false;
$this->getLocalizedfields()->setLocalizedValue("feature6", $feature6, $language, !$isEqual);
return $this;
}
/**
* Set feature7 - Feature 7
* @param string|null $feature7
* @return \Pimcore\Model\DataObject\Apartment
*/
public function setFeature7 (?string $feature7, $language = null)
{
$isEqual = false;
$this->getLocalizedfields()->setLocalizedValue("feature7", $feature7, $language, !$isEqual);
return $this;
}
/**
* Set feature8 - Feature 8
* @param string|null $feature8
* @return \Pimcore\Model\DataObject\Apartment
*/
public function setFeature8 (?string $feature8, $language = null)
{
$isEqual = false;
$this->getLocalizedfields()->setLocalizedValue("feature8", $feature8, $language, !$isEqual);
return $this;
}
/**
* Set feature9 - Feature 9
* @param string|null $feature9
* @return \Pimcore\Model\DataObject\Apartment
*/
public function setFeature9 (?string $feature9, $language = null)
{
$isEqual = false;
$this->getLocalizedfields()->setLocalizedValue("feature9", $feature9, $language, !$isEqual);
return $this;
}
/**
* Set feature10 - Feature 10
* @param string|null $feature10
* @return \Pimcore\Model\DataObject\Apartment
*/
public function setFeature10 (?string $feature10, $language = null)
{
$isEqual = false;
$this->getLocalizedfields()->setLocalizedValue("feature10", $feature10, $language, !$isEqual);
return $this;
}
/**
* Set feature11 - Feature 11
* @param string|null $feature11
* @return \Pimcore\Model\DataObject\Apartment
*/
public function setFeature11 (?string $feature11, $language = null)
{
$isEqual = false;
$this->getLocalizedfields()->setLocalizedValue("feature11", $feature11, $language, !$isEqual);
return $this;
}
/**
* Set feature12 - Feature 12
* @param string|null $feature12
* @return \Pimcore\Model\DataObject\Apartment
*/
public function setFeature12 (?string $feature12, $language = null)
{
$isEqual = false;
$this->getLocalizedfields()->setLocalizedValue("feature12", $feature12, $language, !$isEqual);
return $this;
}
/**
* Get icon1 - Icon Doppelbett
* @return bool|null
*/
public function getIcon1(): ?bool
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("icon1");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->icon1;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set icon1 - Icon Doppelbett
* @param bool|null $icon1
* @return \Pimcore\Model\DataObject\Apartment
*/
public function setIcon1(?bool $icon1)
{
$this->icon1 = $icon1;
return $this;
}
/**
* Get icon2 - Icon Einzelbett
* @return bool|null
*/
public function getIcon2(): ?bool
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("icon2");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->icon2;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set icon2 - Icon Einzelbett
* @param bool|null $icon2
* @return \Pimcore\Model\DataObject\Apartment
*/
public function setIcon2(?bool $icon2)
{
$this->icon2 = $icon2;
return $this;
}
/**
* Get icon3 - Icon Etagenbett
* @return bool|null
*/
public function getIcon3(): ?bool
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("icon3");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->icon3;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set icon3 - Icon Etagenbett
* @param bool|null $icon3
* @return \Pimcore\Model\DataObject\Apartment
*/
public function setIcon3(?bool $icon3)
{
$this->icon3 = $icon3;
return $this;
}
/**
* Get icon4 - Icon Terrasse
* @return bool|null
*/
public function getIcon4(): ?bool
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("icon4");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->icon4;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set icon4 - Icon Terrasse
* @param bool|null $icon4
* @return \Pimcore\Model\DataObject\Apartment
*/
public function setIcon4(?bool $icon4)
{
$this->icon4 = $icon4;
return $this;
}
/**
* Get icon5 - Icon Rollstuhl
* @return bool|null
*/
public function getIcon5(): ?bool
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("icon5");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->icon5;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set icon5 - Icon Rollstuhl
* @param bool|null $icon5
* @return \Pimcore\Model\DataObject\Apartment
*/
public function setIcon5(?bool $icon5)
{
$this->icon5 = $icon5;
return $this;
}
/**
* Get icon6 - Icon Balkon
* @return bool|null
*/
public function getIcon6(): ?bool
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("icon6");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->icon6;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set icon6 - Icon Balkon
* @param bool|null $icon6
* @return \Pimcore\Model\DataObject\Apartment
*/
public function setIcon6(?bool $icon6)
{
$this->icon6 = $icon6;
return $this;
}
/**
* Get icon7 - Icon Aussicht
* @return bool|null
*/
public function getIcon7(): ?bool
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("icon7");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->icon7;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set icon7 - Icon Aussicht
* @param bool|null $icon7
* @return \Pimcore\Model\DataObject\Apartment
*/
public function setIcon7(?bool $icon7)
{
$this->icon7 = $icon7;
return $this;
}
/**
* Get facilityFreeWifi - Freies W-LAN
* @return bool|null
*/
public function getFacilityFreeWifi(): ?bool
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("facilityFreeWifi");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->facilityFreeWifi;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set facilityFreeWifi - Freies W-LAN
* @param bool|null $facilityFreeWifi
* @return \Pimcore\Model\DataObject\Apartment
*/
public function setFacilityFreeWifi(?bool $facilityFreeWifi)
{
$this->facilityFreeWifi = $facilityFreeWifi;
return $this;
}
/**
* Get facilityCalbeTv - Smart TV
* @return bool|null
*/
public function getFacilityCalbeTv(): ?bool
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("facilityCalbeTv");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->facilityCalbeTv;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set facilityCalbeTv - Smart TV
* @param bool|null $facilityCalbeTv
* @return \Pimcore\Model\DataObject\Apartment
*/
public function setFacilityCalbeTv(?bool $facilityCalbeTv)
{
$this->facilityCalbeTv = $facilityCalbeTv;
return $this;
}
/**
* Get facilityKitchenette - Küchenzeile mit Ausstattung
* @return bool|null
*/
public function getFacilityKitchenette(): ?bool
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("facilityKitchenette");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->facilityKitchenette;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set facilityKitchenette - Küchenzeile mit Ausstattung
* @param bool|null $facilityKitchenette
* @return \Pimcore\Model\DataObject\Apartment
*/
public function setFacilityKitchenette(?bool $facilityKitchenette)
{
$this->facilityKitchenette = $facilityKitchenette;
return $this;
}
/**
* Get facilityRefrigerator - Kühlschrank mit Gefrierfach
* @return bool|null
*/
public function getFacilityRefrigerator(): ?bool
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("facilityRefrigerator");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->facilityRefrigerator;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set facilityRefrigerator - Kühlschrank mit Gefrierfach
* @param bool|null $facilityRefrigerator
* @return \Pimcore\Model\DataObject\Apartment
*/
public function setFacilityRefrigerator(?bool $facilityRefrigerator)
{
$this->facilityRefrigerator = $facilityRefrigerator;
return $this;
}
/**
* Get facilityDishwasher - Geschirrspülmschine
* @return bool|null
*/
public function getFacilityDishwasher(): ?bool
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("facilityDishwasher");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->facilityDishwasher;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set facilityDishwasher - Geschirrspülmschine
* @param bool|null $facilityDishwasher
* @return \Pimcore\Model\DataObject\Apartment
*/
public function setFacilityDishwasher(?bool $facilityDishwasher)
{
$this->facilityDishwasher = $facilityDishwasher;
return $this;
}
/**
* Get facilityCoffeeMaker - Filterkaffeemaschine
* @return bool|null
*/
public function getFacilityCoffeeMaker(): ?bool
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("facilityCoffeeMaker");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->facilityCoffeeMaker;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set facilityCoffeeMaker - Filterkaffeemaschine
* @param bool|null $facilityCoffeeMaker
* @return \Pimcore\Model\DataObject\Apartment
*/
public function setFacilityCoffeeMaker(?bool $facilityCoffeeMaker)
{
$this->facilityCoffeeMaker = $facilityCoffeeMaker;
return $this;
}
/**
* Get facilityElectricKettle - Wasserkocher
* @return bool|null
*/
public function getFacilityElectricKettle(): ?bool
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("facilityElectricKettle");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->facilityElectricKettle;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set facilityElectricKettle - Wasserkocher
* @param bool|null $facilityElectricKettle
* @return \Pimcore\Model\DataObject\Apartment
*/
public function setFacilityElectricKettle(?bool $facilityElectricKettle)
{
$this->facilityElectricKettle = $facilityElectricKettle;
return $this;
}
/**
* Get facilityToaster - Toaster
* @return bool|null
*/
public function getFacilityToaster(): ?bool
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("facilityToaster");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->facilityToaster;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set facilityToaster - Toaster
* @param bool|null $facilityToaster
* @return \Pimcore\Model\DataObject\Apartment
*/
public function setFacilityToaster(?bool $facilityToaster)
{
$this->facilityToaster = $facilityToaster;
return $this;
}
/**
* Get facilityEggBoiler - Eierkocher
* @return bool|null
*/
public function getFacilityEggBoiler(): ?bool
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("facilityEggBoiler");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->facilityEggBoiler;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set facilityEggBoiler - Eierkocher
* @param bool|null $facilityEggBoiler
* @return \Pimcore\Model\DataObject\Apartment
*/
public function setFacilityEggBoiler(?bool $facilityEggBoiler)
{
$this->facilityEggBoiler = $facilityEggBoiler;
return $this;
}
/**
* Get facilityIron - Bügeleisen
* @return bool|null
*/
public function getFacilityIron(): ?bool
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("facilityIron");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->facilityIron;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set facilityIron - Bügeleisen
* @param bool|null $facilityIron
* @return \Pimcore\Model\DataObject\Apartment
*/
public function setFacilityIron(?bool $facilityIron)
{
$this->facilityIron = $facilityIron;
return $this;
}
/**
* Get facilityIronBoard - Bügelbrett
* @return bool|null
*/
public function getFacilityIronBoard(): ?bool
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("facilityIronBoard");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->facilityIronBoard;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set facilityIronBoard - Bügelbrett
* @param bool|null $facilityIronBoard
* @return \Pimcore\Model\DataObject\Apartment
*/
public function setFacilityIronBoard(?bool $facilityIronBoard)
{
$this->facilityIronBoard = $facilityIronBoard;
return $this;
}
/**
* Get facilityBedProtection - Rausfallschutz für Kinder
* @return bool|null
*/
public function getFacilityBedProtection(): ?bool
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("facilityBedProtection");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->facilityBedProtection;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set facilityBedProtection - Rausfallschutz für Kinder
* @param bool|null $facilityBedProtection
* @return \Pimcore\Model\DataObject\Apartment
*/
public function setFacilityBedProtection(?bool $facilityBedProtection)
{
$this->facilityBedProtection = $facilityBedProtection;
return $this;
}
/**
* Get facilityChildTableware - Kindergeschirr
* @return bool|null
*/
public function getFacilityChildTableware(): ?bool
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("facilityChildTableware");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->facilityChildTableware;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set facilityChildTableware - Kindergeschirr
* @param bool|null $facilityChildTableware
* @return \Pimcore\Model\DataObject\Apartment
*/
public function setFacilityChildTableware(?bool $facilityChildTableware)
{
$this->facilityChildTableware = $facilityChildTableware;
return $this;
}
/**
* Get facilityRoomSafe - Zimmersafe
* @return bool|null
*/
public function getFacilityRoomSafe(): ?bool
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("facilityRoomSafe");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->facilityRoomSafe;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set facilityRoomSafe - Zimmersafe
* @param bool|null $facilityRoomSafe
* @return \Pimcore\Model\DataObject\Apartment
*/
public function setFacilityRoomSafe(?bool $facilityRoomSafe)
{
$this->facilityRoomSafe = $facilityRoomSafe;
return $this;
}
/**
* Get facilityNespresso - Nespressomaschine ®
* @return bool|null
*/
public function getFacilityNespresso(): ?bool
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("facilityNespresso");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->facilityNespresso;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set facilityNespresso - Nespressomaschine ®
* @param bool|null $facilityNespresso
* @return \Pimcore\Model\DataObject\Apartment
*/
public function setFacilityNespresso(?bool $facilityNespresso)
{
$this->facilityNespresso = $facilityNespresso;
return $this;
}
/**
* Get facilityRadio - Radio/CD-Player
* @return bool|null
*/
public function getFacilityRadio(): ?bool
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("facilityRadio");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->facilityRadio;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set facilityRadio - Radio/CD-Player
* @param bool|null $facilityRadio
* @return \Pimcore\Model\DataObject\Apartment
*/
public function setFacilityRadio(?bool $facilityRadio)
{
$this->facilityRadio = $facilityRadio;
return $this;
}
/**
* Get facilityHairDryer - Haartrockner
* @return bool|null
*/
public function getFacilityHairDryer(): ?bool
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("facilityHairDryer");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->facilityHairDryer;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set facilityHairDryer - Haartrockner
* @param bool|null $facilityHairDryer
* @return \Pimcore\Model\DataObject\Apartment
*/
public function setFacilityHairDryer(?bool $facilityHairDryer)
{
$this->facilityHairDryer = $facilityHairDryer;
return $this;
}
/**
* Get facilityBedLinen - Bettwäsche
* @return bool|null
*/
public function getFacilityBedLinen(): ?bool
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("facilityBedLinen");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->facilityBedLinen;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set facilityBedLinen - Bettwäsche
* @param bool|null $facilityBedLinen
* @return \Pimcore\Model\DataObject\Apartment
*/
public function setFacilityBedLinen(?bool $facilityBedLinen)
{
$this->facilityBedLinen = $facilityBedLinen;
return $this;
}
/**
* Get facilityTowels - Handtücher
* @return bool|null
*/
public function getFacilityTowels(): ?bool
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("facilityTowels");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->facilityTowels;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set facilityTowels - Handtücher
* @param bool|null $facilityTowels
* @return \Pimcore\Model\DataObject\Apartment
*/
public function setFacilityTowels(?bool $facilityTowels)
{
$this->facilityTowels = $facilityTowels;
return $this;
}
/**
* Get facilityTowelDryer - Handtuchtrockner
* @return bool|null
*/
public function getFacilityTowelDryer(): ?bool
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("facilityTowelDryer");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->facilityTowelDryer;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set facilityTowelDryer - Handtuchtrockner
* @param bool|null $facilityTowelDryer
* @return \Pimcore\Model\DataObject\Apartment
*/
public function setFacilityTowelDryer(?bool $facilityTowelDryer)
{
$this->facilityTowelDryer = $facilityTowelDryer;
return $this;
}
/**
* Get facilityElectricFrame - Elektrischer Lattenrost
* @return bool|null
*/
public function getFacilityElectricFrame(): ?bool
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("facilityElectricFrame");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->facilityElectricFrame;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set facilityElectricFrame - Elektrischer Lattenrost
* @param bool|null $facilityElectricFrame
* @return \Pimcore\Model\DataObject\Apartment
*/
public function setFacilityElectricFrame(?bool $facilityElectricFrame)
{
$this->facilityElectricFrame = $facilityElectricFrame;
return $this;
}
/**
* Get facilityIntercom - Haustürsprechanlage
* @return bool|null
*/
public function getFacilityIntercom(): ?bool
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("facilityIntercom");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->facilityIntercom;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set facilityIntercom - Haustürsprechanlage
* @param bool|null $facilityIntercom
* @return \Pimcore\Model\DataObject\Apartment
*/
public function setFacilityIntercom(?bool $facilityIntercom)
{
$this->facilityIntercom = $facilityIntercom;
return $this;
}
/**
* Get extraFrenchBalcony - Französischer Balkon
* @return bool|null
*/
public function getExtraFrenchBalcony(): ?bool
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("extraFrenchBalcony");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->extraFrenchBalcony;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set extraFrenchBalcony - Französischer Balkon
* @param bool|null $extraFrenchBalcony
* @return \Pimcore\Model\DataObject\Apartment
*/
public function setExtraFrenchBalcony(?bool $extraFrenchBalcony)
{
$this->extraFrenchBalcony = $extraFrenchBalcony;
return $this;
}
/**
* Get extraWheelchairDoors - Rollstuhlgerechte Türen
* @return bool|null
*/
public function getExtraWheelchairDoors(): ?bool
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("extraWheelchairDoors");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->extraWheelchairDoors;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set extraWheelchairDoors - Rollstuhlgerechte Türen
* @param bool|null $extraWheelchairDoors
* @return \Pimcore\Model\DataObject\Apartment
*/
public function setExtraWheelchairDoors(?bool $extraWheelchairDoors)
{
$this->extraWheelchairDoors = $extraWheelchairDoors;
return $this;
}
/**
* Get extraWheelchairBath - Rollstuhlgerechtes Bad
* @return bool|null
*/
public function getExtraWheelchairBath(): ?bool
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("extraWheelchairBath");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->extraWheelchairBath;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set extraWheelchairBath - Rollstuhlgerechtes Bad
* @param bool|null $extraWheelchairBath
* @return \Pimcore\Model\DataObject\Apartment
*/
public function setExtraWheelchairBath(?bool $extraWheelchairBath)
{
$this->extraWheelchairBath = $extraWheelchairBath;
return $this;
}
/**
* Get extraAccessibility - Barrierefreiheit
* @return bool|null
*/
public function getExtraAccessibility(): ?bool
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("extraAccessibility");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->extraAccessibility;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set extraAccessibility - Barrierefreiheit
* @param bool|null $extraAccessibility
* @return \Pimcore\Model\DataObject\Apartment
*/
public function setExtraAccessibility(?bool $extraAccessibility)
{
$this->extraAccessibility = $extraAccessibility;
return $this;
}
/**
* Get extraAllergyFriendly - Allergikerfreundlichkeit
* @return bool|null
*/
public function getExtraAllergyFriendly(): ?bool
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("extraAllergyFriendly");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->extraAllergyFriendly;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set extraAllergyFriendly - Allergikerfreundlichkeit
* @param bool|null $extraAllergyFriendly
* @return \Pimcore\Model\DataObject\Apartment
*/
public function setExtraAllergyFriendly(?bool $extraAllergyFriendly)
{
$this->extraAllergyFriendly = $extraAllergyFriendly;
return $this;
}
/**
* Get extraUnderfloorHeating - Fußbodenheizung
* @return bool|null
*/
public function getExtraUnderfloorHeating(): ?bool
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("extraUnderfloorHeating");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->extraUnderfloorHeating;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set extraUnderfloorHeating - Fußbodenheizung
* @param bool|null $extraUnderfloorHeating
* @return \Pimcore\Model\DataObject\Apartment
*/
public function setExtraUnderfloorHeating(?bool $extraUnderfloorHeating)
{
$this->extraUnderfloorHeating = $extraUnderfloorHeating;
return $this;
}
/**
* Get extraShutters - Elektrische Rollläden
* @return bool|null
*/
public function getExtraShutters(): ?bool
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("extraShutters");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->extraShutters;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set extraShutters - Elektrische Rollläden
* @param bool|null $extraShutters
* @return \Pimcore\Model\DataObject\Apartment
*/
public function setExtraShutters(?bool $extraShutters)
{
$this->extraShutters = $extraShutters;
return $this;
}
/**
* Get extraWaterSoftener - Wasserenthärtungsanlage
* @return bool|null
*/
public function getExtraWaterSoftener(): ?bool
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("extraWaterSoftener");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->extraWaterSoftener;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set extraWaterSoftener - Wasserenthärtungsanlage
* @param bool|null $extraWaterSoftener
* @return \Pimcore\Model\DataObject\Apartment
*/
public function setExtraWaterSoftener(?bool $extraWaterSoftener)
{
$this->extraWaterSoftener = $extraWaterSoftener;
return $this;
}
/**
* Get extraWashingMachine - Zentralwaschmaschine
* @return bool|null
*/
public function getExtraWashingMachine(): ?bool
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("extraWashingMachine");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->extraWashingMachine;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set extraWashingMachine - Zentralwaschmaschine
* @param bool|null $extraWashingMachine
* @return \Pimcore\Model\DataObject\Apartment
*/
public function setExtraWashingMachine(?bool $extraWashingMachine)
{
$this->extraWashingMachine = $extraWashingMachine;
return $this;
}
/**
* Get extraTumbleDryer - zentraler Wäschetrockner
* @return bool|null
*/
public function getExtraTumbleDryer(): ?bool
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("extraTumbleDryer");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->extraTumbleDryer;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set extraTumbleDryer - zentraler Wäschetrockner
* @param bool|null $extraTumbleDryer
* @return \Pimcore\Model\DataObject\Apartment
*/
public function setExtraTumbleDryer(?bool $extraTumbleDryer)
{
$this->extraTumbleDryer = $extraTumbleDryer;
return $this;
}
/**
* Get extraCleaning - Zwischenreinigung
* @return bool|null
*/
public function getExtraCleaning(): ?bool
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("extraCleaning");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->extraCleaning;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set extraCleaning - Zwischenreinigung
* @param bool|null $extraCleaning
* @return \Pimcore\Model\DataObject\Apartment
*/
public function setExtraCleaning(?bool $extraCleaning)
{
$this->extraCleaning = $extraCleaning;
return $this;
}
/**
* Get extraBikeLocker - Fahrradgarage
* @return bool|null
*/
public function getExtraBikeLocker(): ?bool
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("extraBikeLocker");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->extraBikeLocker;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set extraBikeLocker - Fahrradgarage
* @param bool|null $extraBikeLocker
* @return \Pimcore\Model\DataObject\Apartment
*/
public function setExtraBikeLocker(?bool $extraBikeLocker)
{
$this->extraBikeLocker = $extraBikeLocker;
return $this;
}
/**
* Get extraBabyCrib - Babybett
* @return bool|null
*/
public function getExtraBabyCrib(): ?bool
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("extraBabyCrib");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->extraBabyCrib;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set extraBabyCrib - Babybett
* @param bool|null $extraBabyCrib
* @return \Pimcore\Model\DataObject\Apartment
*/
public function setExtraBabyCrib(?bool $extraBabyCrib)
{
$this->extraBabyCrib = $extraBabyCrib;
return $this;
}
/**
* Get extraHighChair - Kinderstuhl
* @return bool|null
*/
public function getExtraHighChair(): ?bool
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("extraHighChair");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->extraHighChair;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set extraHighChair - Kinderstuhl
* @param bool|null $extraHighChair
* @return \Pimcore\Model\DataObject\Apartment
*/
public function setExtraHighChair(?bool $extraHighChair)
{
$this->extraHighChair = $extraHighChair;
return $this;
}
/**
* Get logo - Logo
* @return \Pimcore\Model\Asset\Image|null
*/
public function getLogo(): ?\Pimcore\Model\Asset\Image
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("logo");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->logo;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set logo - Logo
* @param \Pimcore\Model\Asset\Image|null $logo
* @return \Pimcore\Model\DataObject\Apartment
*/
public function setLogo(?\Pimcore\Model\Asset\Image $logo)
{
$this->logo = $logo;
return $this;
}
/**
* Get mainImage - Hauptbild des Apartments
* @return \Pimcore\Model\Asset\Image|null
*/
public function getMainImage(): ?\Pimcore\Model\Asset\Image
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("mainImage");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->mainImage;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set mainImage - Hauptbild des Apartments
* @param \Pimcore\Model\Asset\Image|null $mainImage
* @return \Pimcore\Model\DataObject\Apartment
*/
public function setMainImage(?\Pimcore\Model\Asset\Image $mainImage)
{
$this->mainImage = $mainImage;
return $this;
}
/**
* Get gallery - Bildergalerie
* @return \Pimcore\Model\DataObject\Data\ImageGallery|null
*/
public function getGallery(): ?\Pimcore\Model\DataObject\Data\ImageGallery
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("gallery");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->gallery;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set gallery - Bildergalerie
* @param \Pimcore\Model\DataObject\Data\ImageGallery|null $gallery
* @return \Pimcore\Model\DataObject\Apartment
*/
public function setGallery(?\Pimcore\Model\DataObject\Data\ImageGallery $gallery)
{
$this->gallery = $gallery;
return $this;
}
/**
* Get floorPlan - Grundriss des Apartments
* @return \Pimcore\Model\Asset\Image|null
*/
public function getFloorPlan(): ?\Pimcore\Model\Asset\Image
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("floorPlan");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->floorPlan;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set floorPlan - Grundriss des Apartments
* @param \Pimcore\Model\Asset\Image|null $floorPlan
* @return \Pimcore\Model\DataObject\Apartment
*/
public function setFloorPlan(?\Pimcore\Model\Asset\Image $floorPlan)
{
$this->floorPlan = $floorPlan;
return $this;
}
}