var/classes/DataObject/JobOffer.php line 69

Open in your IDE?
  1. <?php
  2. /**
  3.  * Inheritance: no
  4.  * Variants: no
  5.  *
  6.  * Fields Summary:
  7.  * - title [input]
  8.  * - company [input]
  9.  * - location [input]
  10.  * - coordinates [geopoint]
  11.  * - applicationLink [link]
  12.  * - url [link]
  13.  * - urlWithLayout [link]
  14.  * - companyDescription [wysiwyg]
  15.  * - requirements [wysiwyg]
  16.  * - notes [wysiwyg]
  17.  * - clause [wysiwyg]
  18.  * - experience [wysiwyg]
  19.  * - positionDescription [wysiwyg]
  20.  * - opportunities [wysiwyg]
  21.  * - publishDate [date]
  22.  * - expiryDate [date]
  23.  * - lastModificationDate [datetime]
  24.  * - referenceNumber [input]
  25.  * - uniqueId [input]
  26.  * - country [input]
  27.  * - countryRegion [input]
  28.  * - countryId [input]
  29.  * - countryRegionId [input]
  30.  * - jobOfferId [input]
  31.  * - customLayoutId [input]
  32.  * - lastModificationDateRaw [input]
  33.  * - department [input]
  34.  */
  35. namespace Pimcore\Model\DataObject;
  36. use Pimcore\Model\DataObject\Exception\InheritanceParentNotFoundException;
  37. use Pimcore\Model\DataObject\PreGetValueHookInterface;
  38. /**
  39. * @method static \Pimcore\Model\DataObject\JobOffer\Listing getList(array $config = [])
  40. * @method static \Pimcore\Model\DataObject\JobOffer\Listing|\Pimcore\Model\DataObject\JobOffer|null getByTitle($value, $limit = 0, $offset = 0, $objectTypes = null)
  41. * @method static \Pimcore\Model\DataObject\JobOffer\Listing|\Pimcore\Model\DataObject\JobOffer|null getByCompany($value, $limit = 0, $offset = 0, $objectTypes = null)
  42. * @method static \Pimcore\Model\DataObject\JobOffer\Listing|\Pimcore\Model\DataObject\JobOffer|null getByLocation($value, $limit = 0, $offset = 0, $objectTypes = null)
  43. * @method static \Pimcore\Model\DataObject\JobOffer\Listing|\Pimcore\Model\DataObject\JobOffer|null getByCompanyDescription($value, $limit = 0, $offset = 0, $objectTypes = null)
  44. * @method static \Pimcore\Model\DataObject\JobOffer\Listing|\Pimcore\Model\DataObject\JobOffer|null getByRequirements($value, $limit = 0, $offset = 0, $objectTypes = null)
  45. * @method static \Pimcore\Model\DataObject\JobOffer\Listing|\Pimcore\Model\DataObject\JobOffer|null getByNotes($value, $limit = 0, $offset = 0, $objectTypes = null)
  46. * @method static \Pimcore\Model\DataObject\JobOffer\Listing|\Pimcore\Model\DataObject\JobOffer|null getByClause($value, $limit = 0, $offset = 0, $objectTypes = null)
  47. * @method static \Pimcore\Model\DataObject\JobOffer\Listing|\Pimcore\Model\DataObject\JobOffer|null getByExperience($value, $limit = 0, $offset = 0, $objectTypes = null)
  48. * @method static \Pimcore\Model\DataObject\JobOffer\Listing|\Pimcore\Model\DataObject\JobOffer|null getByPositionDescription($value, $limit = 0, $offset = 0, $objectTypes = null)
  49. * @method static \Pimcore\Model\DataObject\JobOffer\Listing|\Pimcore\Model\DataObject\JobOffer|null getByOpportunities($value, $limit = 0, $offset = 0, $objectTypes = null)
  50. * @method static \Pimcore\Model\DataObject\JobOffer\Listing|\Pimcore\Model\DataObject\JobOffer|null getByPublishDate($value, $limit = 0, $offset = 0, $objectTypes = null)
  51. * @method static \Pimcore\Model\DataObject\JobOffer\Listing|\Pimcore\Model\DataObject\JobOffer|null getByExpiryDate($value, $limit = 0, $offset = 0, $objectTypes = null)
  52. * @method static \Pimcore\Model\DataObject\JobOffer\Listing|\Pimcore\Model\DataObject\JobOffer|null getByLastModificationDate($value, $limit = 0, $offset = 0, $objectTypes = null)
  53. * @method static \Pimcore\Model\DataObject\JobOffer\Listing|\Pimcore\Model\DataObject\JobOffer|null getByReferenceNumber($value, $limit = 0, $offset = 0, $objectTypes = null)
  54. * @method static \Pimcore\Model\DataObject\JobOffer\Listing|\Pimcore\Model\DataObject\JobOffer|null getByUniqueId($value, $limit = 0, $offset = 0, $objectTypes = null)
  55. * @method static \Pimcore\Model\DataObject\JobOffer\Listing|\Pimcore\Model\DataObject\JobOffer|null getByCountry($value, $limit = 0, $offset = 0, $objectTypes = null)
  56. * @method static \Pimcore\Model\DataObject\JobOffer\Listing|\Pimcore\Model\DataObject\JobOffer|null getByCountryRegion($value, $limit = 0, $offset = 0, $objectTypes = null)
  57. * @method static \Pimcore\Model\DataObject\JobOffer\Listing|\Pimcore\Model\DataObject\JobOffer|null getByCountryId($value, $limit = 0, $offset = 0, $objectTypes = null)
  58. * @method static \Pimcore\Model\DataObject\JobOffer\Listing|\Pimcore\Model\DataObject\JobOffer|null getByCountryRegionId($value, $limit = 0, $offset = 0, $objectTypes = null)
  59. * @method static \Pimcore\Model\DataObject\JobOffer\Listing|\Pimcore\Model\DataObject\JobOffer|null getByJobOfferId($value, $limit = 0, $offset = 0, $objectTypes = null)
  60. * @method static \Pimcore\Model\DataObject\JobOffer\Listing|\Pimcore\Model\DataObject\JobOffer|null getByCustomLayoutId($value, $limit = 0, $offset = 0, $objectTypes = null)
  61. * @method static \Pimcore\Model\DataObject\JobOffer\Listing|\Pimcore\Model\DataObject\JobOffer|null getByLastModificationDateRaw($value, $limit = 0, $offset = 0, $objectTypes = null)
  62. * @method static \Pimcore\Model\DataObject\JobOffer\Listing|\Pimcore\Model\DataObject\JobOffer|null getByDepartment($value, $limit = 0, $offset = 0, $objectTypes = null)
  63. */
  64. class JobOffer extends Concrete
  65. {
  66. protected $o_classId "1";
  67. protected $o_className "JobOffer";
  68. protected $title;
  69. protected $company;
  70. protected $location;
  71. protected $coordinates;
  72. protected $applicationLink;
  73. protected $url;
  74. protected $urlWithLayout;
  75. protected $companyDescription;
  76. protected $requirements;
  77. protected $notes;
  78. protected $clause;
  79. protected $experience;
  80. protected $positionDescription;
  81. protected $opportunities;
  82. protected $publishDate;
  83. protected $expiryDate;
  84. protected $lastModificationDate;
  85. protected $referenceNumber;
  86. protected $uniqueId;
  87. protected $country;
  88. protected $countryRegion;
  89. protected $countryId;
  90. protected $countryRegionId;
  91. protected $jobOfferId;
  92. protected $customLayoutId;
  93. protected $lastModificationDateRaw;
  94. protected $department;
  95. /**
  96. * @param array $values
  97. * @return \Pimcore\Model\DataObject\JobOffer
  98. */
  99. public static function create($values = array()) {
  100.     $object = new static();
  101.     $object->setValues($values);
  102.     return $object;
  103. }
  104. /**
  105. * Get title - title
  106. * @return string|null
  107. */
  108. public function getTitle()
  109. {
  110.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  111.         $preValue $this->preGetValue("title");
  112.         if ($preValue !== null) {
  113.             return $preValue;
  114.         }
  115.     }
  116.     $data $this->title;
  117.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  118.         return $data->getPlain();
  119.     }
  120.     return $data;
  121. }
  122. /**
  123. * Set title - title
  124. * @param string|null $title
  125. * @return \Pimcore\Model\DataObject\JobOffer
  126. */
  127. public function setTitle($title)
  128. {
  129.     $this->title $title;
  130.     return $this;
  131. }
  132. /**
  133. * Get company - company
  134. * @return string|null
  135. */
  136. public function getCompany()
  137. {
  138.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  139.         $preValue $this->preGetValue("company");
  140.         if ($preValue !== null) {
  141.             return $preValue;
  142.         }
  143.     }
  144.     $data $this->company;
  145.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  146.         return $data->getPlain();
  147.     }
  148.     return $data;
  149. }
  150. /**
  151. * Set company - company
  152. * @param string|null $company
  153. * @return \Pimcore\Model\DataObject\JobOffer
  154. */
  155. public function setCompany($company)
  156. {
  157.     $this->company $company;
  158.     return $this;
  159. }
  160. /**
  161. * Get location - location
  162. * @return string|null
  163. */
  164. public function getLocation()
  165. {
  166.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  167.         $preValue $this->preGetValue("location");
  168.         if ($preValue !== null) {
  169.             return $preValue;
  170.         }
  171.     }
  172.     $data $this->location;
  173.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  174.         return $data->getPlain();
  175.     }
  176.     return $data;
  177. }
  178. /**
  179. * Set location - location
  180. * @param string|null $location
  181. * @return \Pimcore\Model\DataObject\JobOffer
  182. */
  183. public function setLocation($location)
  184. {
  185.     $this->location $location;
  186.     return $this;
  187. }
  188. /**
  189. * Get coordinates - coordinates
  190. * @return \Pimcore\Model\DataObject\Data\GeoCoordinates|null
  191. */
  192. public function getCoordinates()
  193. {
  194.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  195.         $preValue $this->preGetValue("coordinates");
  196.         if ($preValue !== null) {
  197.             return $preValue;
  198.         }
  199.     }
  200.     $data $this->coordinates;
  201.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  202.         return $data->getPlain();
  203.     }
  204.     return $data;
  205. }
  206. /**
  207. * Set coordinates - coordinates
  208. * @param \Pimcore\Model\DataObject\Data\GeoCoordinates|null $coordinates
  209. * @return \Pimcore\Model\DataObject\JobOffer
  210. */
  211. public function setCoordinates($coordinates)
  212. {
  213.     $this->coordinates $coordinates;
  214.     return $this;
  215. }
  216. /**
  217. * Get applicationLink - applicationLink
  218. * @return \Pimcore\Model\DataObject\Data\Link|null
  219. */
  220. public function getApplicationLink()
  221. {
  222.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  223.         $preValue $this->preGetValue("applicationLink");
  224.         if ($preValue !== null) {
  225.             return $preValue;
  226.         }
  227.     }
  228.     $data $this->applicationLink;
  229.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  230.         return $data->getPlain();
  231.     }
  232.     return $data;
  233. }
  234. /**
  235. * Set applicationLink - applicationLink
  236. * @param \Pimcore\Model\DataObject\Data\Link|null $applicationLink
  237. * @return \Pimcore\Model\DataObject\JobOffer
  238. */
  239. public function setApplicationLink($applicationLink)
  240. {
  241.     $this->applicationLink $applicationLink;
  242.     return $this;
  243. }
  244. /**
  245. * Get url - url
  246. * @return \Pimcore\Model\DataObject\Data\Link|null
  247. */
  248. public function getUrl()
  249. {
  250.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  251.         $preValue $this->preGetValue("url");
  252.         if ($preValue !== null) {
  253.             return $preValue;
  254.         }
  255.     }
  256.     $data $this->url;
  257.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  258.         return $data->getPlain();
  259.     }
  260.     return $data;
  261. }
  262. /**
  263. * Set url - url
  264. * @param \Pimcore\Model\DataObject\Data\Link|null $url
  265. * @return \Pimcore\Model\DataObject\JobOffer
  266. */
  267. public function setUrl($url)
  268. {
  269.     $this->url $url;
  270.     return $this;
  271. }
  272. /**
  273. * Get urlWithLayout - urlWithLayout
  274. * @return \Pimcore\Model\DataObject\Data\Link|null
  275. */
  276. public function getUrlWithLayout()
  277. {
  278.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  279.         $preValue $this->preGetValue("urlWithLayout");
  280.         if ($preValue !== null) {
  281.             return $preValue;
  282.         }
  283.     }
  284.     $data $this->urlWithLayout;
  285.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  286.         return $data->getPlain();
  287.     }
  288.     return $data;
  289. }
  290. /**
  291. * Set urlWithLayout - urlWithLayout
  292. * @param \Pimcore\Model\DataObject\Data\Link|null $urlWithLayout
  293. * @return \Pimcore\Model\DataObject\JobOffer
  294. */
  295. public function setUrlWithLayout($urlWithLayout)
  296. {
  297.     $this->urlWithLayout $urlWithLayout;
  298.     return $this;
  299. }
  300. /**
  301. * Get companyDescription - companyDescription
  302. * @return string|null
  303. */
  304. public function getCompanyDescription()
  305. {
  306.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  307.         $preValue $this->preGetValue("companyDescription");
  308.         if ($preValue !== null) {
  309.             return $preValue;
  310.         }
  311.     }
  312.     $data $this->getClass()->getFieldDefinition("companyDescription")->preGetData($this);
  313.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  314.         return $data->getPlain();
  315.     }
  316.     return $data;
  317. }
  318. /**
  319. * Set companyDescription - companyDescription
  320. * @param string|null $companyDescription
  321. * @return \Pimcore\Model\DataObject\JobOffer
  322. */
  323. public function setCompanyDescription($companyDescription)
  324. {
  325.     $this->companyDescription $companyDescription;
  326.     return $this;
  327. }
  328. /**
  329. * Get requirements - requirements
  330. * @return string|null
  331. */
  332. public function getRequirements()
  333. {
  334.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  335.         $preValue $this->preGetValue("requirements");
  336.         if ($preValue !== null) {
  337.             return $preValue;
  338.         }
  339.     }
  340.     $data $this->getClass()->getFieldDefinition("requirements")->preGetData($this);
  341.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  342.         return $data->getPlain();
  343.     }
  344.     return $data;
  345. }
  346. /**
  347. * Set requirements - requirements
  348. * @param string|null $requirements
  349. * @return \Pimcore\Model\DataObject\JobOffer
  350. */
  351. public function setRequirements($requirements)
  352. {
  353.     $this->requirements $requirements;
  354.     return $this;
  355. }
  356. /**
  357. * Get notes - notes
  358. * @return string|null
  359. */
  360. public function getNotes()
  361. {
  362.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  363.         $preValue $this->preGetValue("notes");
  364.         if ($preValue !== null) {
  365.             return $preValue;
  366.         }
  367.     }
  368.     $data $this->getClass()->getFieldDefinition("notes")->preGetData($this);
  369.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  370.         return $data->getPlain();
  371.     }
  372.     return $data;
  373. }
  374. /**
  375. * Set notes - notes
  376. * @param string|null $notes
  377. * @return \Pimcore\Model\DataObject\JobOffer
  378. */
  379. public function setNotes($notes)
  380. {
  381.     $this->notes $notes;
  382.     return $this;
  383. }
  384. /**
  385. * Get clause - clause
  386. * @return string|null
  387. */
  388. public function getClause()
  389. {
  390.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  391.         $preValue $this->preGetValue("clause");
  392.         if ($preValue !== null) {
  393.             return $preValue;
  394.         }
  395.     }
  396.     $data $this->getClass()->getFieldDefinition("clause")->preGetData($this);
  397.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  398.         return $data->getPlain();
  399.     }
  400.     return $data;
  401. }
  402. /**
  403. * Set clause - clause
  404. * @param string|null $clause
  405. * @return \Pimcore\Model\DataObject\JobOffer
  406. */
  407. public function setClause($clause)
  408. {
  409.     $this->clause $clause;
  410.     return $this;
  411. }
  412. /**
  413. * Get experience - experience
  414. * @return string|null
  415. */
  416. public function getExperience()
  417. {
  418.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  419.         $preValue $this->preGetValue("experience");
  420.         if ($preValue !== null) {
  421.             return $preValue;
  422.         }
  423.     }
  424.     $data $this->getClass()->getFieldDefinition("experience")->preGetData($this);
  425.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  426.         return $data->getPlain();
  427.     }
  428.     return $data;
  429. }
  430. /**
  431. * Set experience - experience
  432. * @param string|null $experience
  433. * @return \Pimcore\Model\DataObject\JobOffer
  434. */
  435. public function setExperience($experience)
  436. {
  437.     $this->experience $experience;
  438.     return $this;
  439. }
  440. /**
  441. * Get positionDescription - positionDescription
  442. * @return string|null
  443. */
  444. public function getPositionDescription()
  445. {
  446.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  447.         $preValue $this->preGetValue("positionDescription");
  448.         if ($preValue !== null) {
  449.             return $preValue;
  450.         }
  451.     }
  452.     $data $this->getClass()->getFieldDefinition("positionDescription")->preGetData($this);
  453.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  454.         return $data->getPlain();
  455.     }
  456.     return $data;
  457. }
  458. /**
  459. * Set positionDescription - positionDescription
  460. * @param string|null $positionDescription
  461. * @return \Pimcore\Model\DataObject\JobOffer
  462. */
  463. public function setPositionDescription($positionDescription)
  464. {
  465.     $this->positionDescription $positionDescription;
  466.     return $this;
  467. }
  468. /**
  469. * Get opportunities - opportunities
  470. * @return string|null
  471. */
  472. public function getOpportunities()
  473. {
  474.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  475.         $preValue $this->preGetValue("opportunities");
  476.         if ($preValue !== null) {
  477.             return $preValue;
  478.         }
  479.     }
  480.     $data $this->getClass()->getFieldDefinition("opportunities")->preGetData($this);
  481.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  482.         return $data->getPlain();
  483.     }
  484.     return $data;
  485. }
  486. /**
  487. * Set opportunities - opportunities
  488. * @param string|null $opportunities
  489. * @return \Pimcore\Model\DataObject\JobOffer
  490. */
  491. public function setOpportunities($opportunities)
  492. {
  493.     $this->opportunities $opportunities;
  494.     return $this;
  495. }
  496. /**
  497. * Get publishDate - publishDate
  498. * @return \Carbon\Carbon|null
  499. */
  500. public function getPublishDate()
  501. {
  502.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  503.         $preValue $this->preGetValue("publishDate");
  504.         if ($preValue !== null) {
  505.             return $preValue;
  506.         }
  507.     }
  508.     $data $this->publishDate;
  509.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  510.         return $data->getPlain();
  511.     }
  512.     return $data;
  513. }
  514. /**
  515. * Set publishDate - publishDate
  516. * @param \Carbon\Carbon|null $publishDate
  517. * @return \Pimcore\Model\DataObject\JobOffer
  518. */
  519. public function setPublishDate($publishDate)
  520. {
  521.     $this->publishDate $publishDate;
  522.     return $this;
  523. }
  524. /**
  525. * Get expiryDate - expiryDate
  526. * @return \Carbon\Carbon|null
  527. */
  528. public function getExpiryDate()
  529. {
  530.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  531.         $preValue $this->preGetValue("expiryDate");
  532.         if ($preValue !== null) {
  533.             return $preValue;
  534.         }
  535.     }
  536.     $data $this->expiryDate;
  537.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  538.         return $data->getPlain();
  539.     }
  540.     return $data;
  541. }
  542. /**
  543. * Set expiryDate - expiryDate
  544. * @param \Carbon\Carbon|null $expiryDate
  545. * @return \Pimcore\Model\DataObject\JobOffer
  546. */
  547. public function setExpiryDate($expiryDate)
  548. {
  549.     $this->expiryDate $expiryDate;
  550.     return $this;
  551. }
  552. /**
  553. * Get lastModificationDate - lastModificationDate
  554. * @return \Carbon\Carbon|null
  555. */
  556. public function getLastModificationDate()
  557. {
  558.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  559.         $preValue $this->preGetValue("lastModificationDate");
  560.         if ($preValue !== null) {
  561.             return $preValue;
  562.         }
  563.     }
  564.     $data $this->lastModificationDate;
  565.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  566.         return $data->getPlain();
  567.     }
  568.     return $data;
  569. }
  570. /**
  571. * Set lastModificationDate - lastModificationDate
  572. * @param \Carbon\Carbon|null $lastModificationDate
  573. * @return \Pimcore\Model\DataObject\JobOffer
  574. */
  575. public function setLastModificationDate($lastModificationDate)
  576. {
  577.     $this->lastModificationDate $lastModificationDate;
  578.     return $this;
  579. }
  580. /**
  581. * Get referenceNumber - referenceNumber
  582. * @return string|null
  583. */
  584. public function getReferenceNumber()
  585. {
  586.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  587.         $preValue $this->preGetValue("referenceNumber");
  588.         if ($preValue !== null) {
  589.             return $preValue;
  590.         }
  591.     }
  592.     $data $this->referenceNumber;
  593.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  594.         return $data->getPlain();
  595.     }
  596.     return $data;
  597. }
  598. /**
  599. * Set referenceNumber - referenceNumber
  600. * @param string|null $referenceNumber
  601. * @return \Pimcore\Model\DataObject\JobOffer
  602. */
  603. public function setReferenceNumber($referenceNumber)
  604. {
  605.     $this->referenceNumber $referenceNumber;
  606.     return $this;
  607. }
  608. /**
  609. * Get uniqueId - uniqueId
  610. * @return string|null
  611. */
  612. public function getUniqueId()
  613. {
  614.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  615.         $preValue $this->preGetValue("uniqueId");
  616.         if ($preValue !== null) {
  617.             return $preValue;
  618.         }
  619.     }
  620.     $data $this->uniqueId;
  621.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  622.         return $data->getPlain();
  623.     }
  624.     return $data;
  625. }
  626. /**
  627. * Set uniqueId - uniqueId
  628. * @param string|null $uniqueId
  629. * @return \Pimcore\Model\DataObject\JobOffer
  630. */
  631. public function setUniqueId($uniqueId)
  632. {
  633.     $this->uniqueId $uniqueId;
  634.     return $this;
  635. }
  636. /**
  637. * Get country - country
  638. * @return string|null
  639. */
  640. public function getCountry()
  641. {
  642.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  643.         $preValue $this->preGetValue("country");
  644.         if ($preValue !== null) {
  645.             return $preValue;
  646.         }
  647.     }
  648.     $data $this->country;
  649.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  650.         return $data->getPlain();
  651.     }
  652.     return $data;
  653. }
  654. /**
  655. * Set country - country
  656. * @param string|null $country
  657. * @return \Pimcore\Model\DataObject\JobOffer
  658. */
  659. public function setCountry($country)
  660. {
  661.     $this->country $country;
  662.     return $this;
  663. }
  664. /**
  665. * Get countryRegion - countryRegion
  666. * @return string|null
  667. */
  668. public function getCountryRegion()
  669. {
  670.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  671.         $preValue $this->preGetValue("countryRegion");
  672.         if ($preValue !== null) {
  673.             return $preValue;
  674.         }
  675.     }
  676.     $data $this->countryRegion;
  677.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  678.         return $data->getPlain();
  679.     }
  680.     return $data;
  681. }
  682. /**
  683. * Set countryRegion - countryRegion
  684. * @param string|null $countryRegion
  685. * @return \Pimcore\Model\DataObject\JobOffer
  686. */
  687. public function setCountryRegion($countryRegion)
  688. {
  689.     $this->countryRegion $countryRegion;
  690.     return $this;
  691. }
  692. /**
  693. * Get countryId - countryId
  694. * @return string|null
  695. */
  696. public function getCountryId()
  697. {
  698.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  699.         $preValue $this->preGetValue("countryId");
  700.         if ($preValue !== null) {
  701.             return $preValue;
  702.         }
  703.     }
  704.     $data $this->countryId;
  705.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  706.         return $data->getPlain();
  707.     }
  708.     return $data;
  709. }
  710. /**
  711. * Set countryId - countryId
  712. * @param string|null $countryId
  713. * @return \Pimcore\Model\DataObject\JobOffer
  714. */
  715. public function setCountryId($countryId)
  716. {
  717.     $this->countryId $countryId;
  718.     return $this;
  719. }
  720. /**
  721. * Get countryRegionId - countryRegionId
  722. * @return string|null
  723. */
  724. public function getCountryRegionId()
  725. {
  726.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  727.         $preValue $this->preGetValue("countryRegionId");
  728.         if ($preValue !== null) {
  729.             return $preValue;
  730.         }
  731.     }
  732.     $data $this->countryRegionId;
  733.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  734.         return $data->getPlain();
  735.     }
  736.     return $data;
  737. }
  738. /**
  739. * Set countryRegionId - countryRegionId
  740. * @param string|null $countryRegionId
  741. * @return \Pimcore\Model\DataObject\JobOffer
  742. */
  743. public function setCountryRegionId($countryRegionId)
  744. {
  745.     $this->countryRegionId $countryRegionId;
  746.     return $this;
  747. }
  748. /**
  749. * Get jobOfferId - jobOfferId
  750. * @return string|null
  751. */
  752. public function getJobOfferId()
  753. {
  754.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  755.         $preValue $this->preGetValue("jobOfferId");
  756.         if ($preValue !== null) {
  757.             return $preValue;
  758.         }
  759.     }
  760.     $data $this->jobOfferId;
  761.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  762.         return $data->getPlain();
  763.     }
  764.     return $data;
  765. }
  766. /**
  767. * Set jobOfferId - jobOfferId
  768. * @param string|null $jobOfferId
  769. * @return \Pimcore\Model\DataObject\JobOffer
  770. */
  771. public function setJobOfferId($jobOfferId)
  772. {
  773.     $this->jobOfferId $jobOfferId;
  774.     return $this;
  775. }
  776. /**
  777. * Get customLayoutId - customLayoutId
  778. * @return string|null
  779. */
  780. public function getCustomLayoutId()
  781. {
  782.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  783.         $preValue $this->preGetValue("customLayoutId");
  784.         if ($preValue !== null) {
  785.             return $preValue;
  786.         }
  787.     }
  788.     $data $this->customLayoutId;
  789.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  790.         return $data->getPlain();
  791.     }
  792.     return $data;
  793. }
  794. /**
  795. * Set customLayoutId - customLayoutId
  796. * @param string|null $customLayoutId
  797. * @return \Pimcore\Model\DataObject\JobOffer
  798. */
  799. public function setCustomLayoutId($customLayoutId)
  800. {
  801.     $this->customLayoutId $customLayoutId;
  802.     return $this;
  803. }
  804. /**
  805. * Get lastModificationDateRaw - lastModificationDateRaw
  806. * @return string|null
  807. */
  808. public function getLastModificationDateRaw()
  809. {
  810.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  811.         $preValue $this->preGetValue("lastModificationDateRaw");
  812.         if ($preValue !== null) {
  813.             return $preValue;
  814.         }
  815.     }
  816.     $data $this->lastModificationDateRaw;
  817.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  818.         return $data->getPlain();
  819.     }
  820.     return $data;
  821. }
  822. /**
  823. * Set lastModificationDateRaw - lastModificationDateRaw
  824. * @param string|null $lastModificationDateRaw
  825. * @return \Pimcore\Model\DataObject\JobOffer
  826. */
  827. public function setLastModificationDateRaw($lastModificationDateRaw)
  828. {
  829.     $this->lastModificationDateRaw $lastModificationDateRaw;
  830.     return $this;
  831. }
  832. /**
  833. * Get department - department
  834. * @return string|null
  835. */
  836. public function getDepartment()
  837. {
  838.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  839.         $preValue $this->preGetValue("department");
  840.         if ($preValue !== null) {
  841.             return $preValue;
  842.         }
  843.     }
  844.     $data $this->department;
  845.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  846.         return $data->getPlain();
  847.     }
  848.     return $data;
  849. }
  850. /**
  851. * Set department - department
  852. * @param string|null $department
  853. * @return \Pimcore\Model\DataObject\JobOffer
  854. */
  855. public function setDepartment($department)
  856. {
  857.     $this->department $department;
  858.     return $this;
  859. }
  860. }