<?php

namespace Proxies\__CG__\App\Entity;

/**
 * DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
 */
class TCountyDepartmentsAdpProjects extends \App\Entity\TCountyDepartmentsAdpProjects implements \Doctrine\ORM\Proxy\Proxy
{
    /**
     * @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with
     *      three parameters, being respectively the proxy object to be initialized, the method that triggered the
     *      initialization process and an array of ordered parameters that were passed to that method.
     *
     * @see \Doctrine\Common\Proxy\Proxy::__setInitializer
     */
    public $__initializer__;

    /**
     * @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
     *
     * @see \Doctrine\Common\Proxy\Proxy::__setCloner
     */
    public $__cloner__;

    /**
     * @var boolean flag indicating if this object was already initialized
     *
     * @see \Doctrine\Persistence\Proxy::__isInitialized
     */
    public $__isInitialized__ = false;

    /**
     * @var array<string, null> properties to be lazy loaded, indexed by property name
     */
    public static $lazyPropertiesNames = array (
);

    /**
     * @var array<string, mixed> default values of properties to be lazy loaded, with keys being the property names
     *
     * @see \Doctrine\Common\Proxy\Proxy::__getLazyProperties
     */
    public static $lazyPropertiesDefaults = array (
);



    public function __construct(?\Closure $initializer = null, ?\Closure $cloner = null)
    {

        $this->__initializer__ = $initializer;
        $this->__cloner__      = $cloner;
    }







    /**
     * 
     * @return array
     */
    public function __sleep()
    {
        if ($this->__isInitialized__) {
            return ['__isInitialized__', '' . "\0" . 'App\\Entity\\TCountyDepartmentsAdpProjects' . "\0" . 'id', '' . "\0" . 'App\\Entity\\TCountyDepartmentsAdpProjects' . "\0" . 'financialYear', '' . "\0" . 'App\\Entity\\TCountyDepartmentsAdpProjects' . "\0" . 'sectorAdpProject', '' . "\0" . 'App\\Entity\\TCountyDepartmentsAdpProjects' . "\0" . 'target', '' . "\0" . 'App\\Entity\\TCountyDepartmentsAdpProjects' . "\0" . 'budgetAllocation', '' . "\0" . 'App\\Entity\\TCountyDepartmentsAdpProjects' . "\0" . 'projectName', '' . "\0" . 'App\\Entity\\TCountyDepartmentsAdpProjects' . "\0" . 'startDate', '' . "\0" . 'App\\Entity\\TCountyDepartmentsAdpProjects' . "\0" . 'endDate', '' . "\0" . 'App\\Entity\\TCountyDepartmentsAdpProjects' . "\0" . 'department', '' . "\0" . 'App\\Entity\\TCountyDepartmentsAdpProjects' . "\0" . 'tMilestones', '' . "\0" . 'App\\Entity\\TCountyDepartmentsAdpProjects' . "\0" . 'directorate', '' . "\0" . 'App\\Entity\\TCountyDepartmentsAdpProjects' . "\0" . 'progressPercent', '' . "\0" . 'App\\Entity\\TCountyDepartmentsAdpProjects' . "\0" . 'sector', '' . "\0" . 'App\\Entity\\TCountyDepartmentsAdpProjects' . "\0" . 'tProjectLocationMaps', '' . "\0" . 'App\\Entity\\TCountyDepartmentsAdpProjects' . "\0" . 'latitude', '' . "\0" . 'App\\Entity\\TCountyDepartmentsAdpProjects' . "\0" . 'longitude', '' . "\0" . 'App\\Entity\\TCountyDepartmentsAdpProjects' . "\0" . 'projectLocation', '' . "\0" . 'App\\Entity\\TCountyDepartmentsAdpProjects' . "\0" . 'projectDescription', '' . "\0" . 'App\\Entity\\TCountyDepartmentsAdpProjects' . "\0" . 'continueOrNew', '' . "\0" . 'App\\Entity\\TCountyDepartmentsAdpProjects' . "\0" . 'baseline'];
        }

        return ['__isInitialized__', '' . "\0" . 'App\\Entity\\TCountyDepartmentsAdpProjects' . "\0" . 'id', '' . "\0" . 'App\\Entity\\TCountyDepartmentsAdpProjects' . "\0" . 'financialYear', '' . "\0" . 'App\\Entity\\TCountyDepartmentsAdpProjects' . "\0" . 'sectorAdpProject', '' . "\0" . 'App\\Entity\\TCountyDepartmentsAdpProjects' . "\0" . 'target', '' . "\0" . 'App\\Entity\\TCountyDepartmentsAdpProjects' . "\0" . 'budgetAllocation', '' . "\0" . 'App\\Entity\\TCountyDepartmentsAdpProjects' . "\0" . 'projectName', '' . "\0" . 'App\\Entity\\TCountyDepartmentsAdpProjects' . "\0" . 'startDate', '' . "\0" . 'App\\Entity\\TCountyDepartmentsAdpProjects' . "\0" . 'endDate', '' . "\0" . 'App\\Entity\\TCountyDepartmentsAdpProjects' . "\0" . 'department', '' . "\0" . 'App\\Entity\\TCountyDepartmentsAdpProjects' . "\0" . 'tMilestones', '' . "\0" . 'App\\Entity\\TCountyDepartmentsAdpProjects' . "\0" . 'directorate', '' . "\0" . 'App\\Entity\\TCountyDepartmentsAdpProjects' . "\0" . 'progressPercent', '' . "\0" . 'App\\Entity\\TCountyDepartmentsAdpProjects' . "\0" . 'sector', '' . "\0" . 'App\\Entity\\TCountyDepartmentsAdpProjects' . "\0" . 'tProjectLocationMaps', '' . "\0" . 'App\\Entity\\TCountyDepartmentsAdpProjects' . "\0" . 'latitude', '' . "\0" . 'App\\Entity\\TCountyDepartmentsAdpProjects' . "\0" . 'longitude', '' . "\0" . 'App\\Entity\\TCountyDepartmentsAdpProjects' . "\0" . 'projectLocation', '' . "\0" . 'App\\Entity\\TCountyDepartmentsAdpProjects' . "\0" . 'projectDescription', '' . "\0" . 'App\\Entity\\TCountyDepartmentsAdpProjects' . "\0" . 'continueOrNew', '' . "\0" . 'App\\Entity\\TCountyDepartmentsAdpProjects' . "\0" . 'baseline'];
    }

    /**
     * 
     */
    public function __wakeup()
    {
        if ( ! $this->__isInitialized__) {
            $this->__initializer__ = function (TCountyDepartmentsAdpProjects $proxy) {
                $proxy->__setInitializer(null);
                $proxy->__setCloner(null);

                $existingProperties = get_object_vars($proxy);

                foreach ($proxy::$lazyPropertiesDefaults as $property => $defaultValue) {
                    if ( ! array_key_exists($property, $existingProperties)) {
                        $proxy->$property = $defaultValue;
                    }
                }
            };

        }
    }

    /**
     * 
     */
    public function __clone()
    {
        $this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []);
    }

    /**
     * Forces initialization of the proxy
     */
    public function __load()
    {
        $this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
    }

    /**
     * {@inheritDoc}
     * @internal generated method: use only when explicitly handling proxy specific loading logic
     */
    public function __isInitialized()
    {
        return $this->__isInitialized__;
    }

    /**
     * {@inheritDoc}
     * @internal generated method: use only when explicitly handling proxy specific loading logic
     */
    public function __setInitialized($initialized)
    {
        $this->__isInitialized__ = $initialized;
    }

    /**
     * {@inheritDoc}
     * @internal generated method: use only when explicitly handling proxy specific loading logic
     */
    public function __setInitializer(\Closure $initializer = null)
    {
        $this->__initializer__ = $initializer;
    }

    /**
     * {@inheritDoc}
     * @internal generated method: use only when explicitly handling proxy specific loading logic
     */
    public function __getInitializer()
    {
        return $this->__initializer__;
    }

    /**
     * {@inheritDoc}
     * @internal generated method: use only when explicitly handling proxy specific loading logic
     */
    public function __setCloner(\Closure $cloner = null)
    {
        $this->__cloner__ = $cloner;
    }

    /**
     * {@inheritDoc}
     * @internal generated method: use only when explicitly handling proxy specific cloning logic
     */
    public function __getCloner()
    {
        return $this->__cloner__;
    }

    /**
     * {@inheritDoc}
     * @internal generated method: use only when explicitly handling proxy specific loading logic
     * @deprecated no longer in use - generated code now relies on internal components rather than generated public API
     * @static
     */
    public function __getLazyProperties()
    {
        return self::$lazyPropertiesDefaults;
    }

    
    /**
     * {@inheritDoc}
     */
    public function getId(): ?int
    {
        if ($this->__isInitialized__ === false) {
            return (int)  parent::getId();
        }


        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', []);

        return parent::getId();
    }

    /**
     * {@inheritDoc}
     */
    public function getFinancialYear(): ?\App\Entity\TFinancialYears
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getFinancialYear', []);

        return parent::getFinancialYear();
    }

    /**
     * {@inheritDoc}
     */
    public function setFinancialYear(?\App\Entity\TFinancialYears $financialYear): \App\Entity\TCountyDepartmentsAdpProjects
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setFinancialYear', [$financialYear]);

        return parent::setFinancialYear($financialYear);
    }

    /**
     * {@inheritDoc}
     */
    public function getSectorAdpProject(): ?\App\Entity\TCountySectorsAdpProjects
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getSectorAdpProject', []);

        return parent::getSectorAdpProject();
    }

    /**
     * {@inheritDoc}
     */
    public function setSectorAdpProject(?\App\Entity\TCountySectorsAdpProjects $sectorAdpProject): \App\Entity\TCountyDepartmentsAdpProjects
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setSectorAdpProject', [$sectorAdpProject]);

        return parent::setSectorAdpProject($sectorAdpProject);
    }

    /**
     * {@inheritDoc}
     */
    public function getTarget(): ?string
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getTarget', []);

        return parent::getTarget();
    }

    /**
     * {@inheritDoc}
     */
    public function setTarget(?string $target): \App\Entity\TCountyDepartmentsAdpProjects
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setTarget', [$target]);

        return parent::setTarget($target);
    }

    /**
     * {@inheritDoc}
     */
    public function getBudgetAllocation(): ?string
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getBudgetAllocation', []);

        return parent::getBudgetAllocation();
    }

    /**
     * {@inheritDoc}
     */
    public function setBudgetAllocation(?string $budgetAllocation): \App\Entity\TCountyDepartmentsAdpProjects
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setBudgetAllocation', [$budgetAllocation]);

        return parent::setBudgetAllocation($budgetAllocation);
    }

    /**
     * {@inheritDoc}
     */
    public function getProjectName(): ?string
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getProjectName', []);

        return parent::getProjectName();
    }

    /**
     * {@inheritDoc}
     */
    public function setProjectName(?string $projectName): \App\Entity\TCountyDepartmentsAdpProjects
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setProjectName', [$projectName]);

        return parent::setProjectName($projectName);
    }

    /**
     * {@inheritDoc}
     */
    public function getStartDate(): ?\DateTimeInterface
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getStartDate', []);

        return parent::getStartDate();
    }

    /**
     * {@inheritDoc}
     */
    public function setStartDate(?\DateTimeInterface $startDate): \App\Entity\TCountyDepartmentsAdpProjects
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setStartDate', [$startDate]);

        return parent::setStartDate($startDate);
    }

    /**
     * {@inheritDoc}
     */
    public function getEndDate(): ?\DateTimeInterface
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getEndDate', []);

        return parent::getEndDate();
    }

    /**
     * {@inheritDoc}
     */
    public function setEndDate(?\DateTimeInterface $endDate): \App\Entity\TCountyDepartmentsAdpProjects
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setEndDate', [$endDate]);

        return parent::setEndDate($endDate);
    }

    /**
     * {@inheritDoc}
     */
    public function getDepartment(): ?\App\Entity\TCountyDepartments
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getDepartment', []);

        return parent::getDepartment();
    }

    /**
     * {@inheritDoc}
     */
    public function setDepartment(?\App\Entity\TCountyDepartments $department): \App\Entity\TCountyDepartmentsAdpProjects
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setDepartment', [$department]);

        return parent::setDepartment($department);
    }

    /**
     * {@inheritDoc}
     */
    public function getTMilestones(): \Doctrine\Common\Collections\Collection
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getTMilestones', []);

        return parent::getTMilestones();
    }

    /**
     * {@inheritDoc}
     */
    public function addTMilestone(\App\Entity\TMilestones $tMilestone): \App\Entity\TCountyDepartmentsAdpProjects
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'addTMilestone', [$tMilestone]);

        return parent::addTMilestone($tMilestone);
    }

    /**
     * {@inheritDoc}
     */
    public function removeTMilestone(\App\Entity\TMilestones $tMilestone): \App\Entity\TCountyDepartmentsAdpProjects
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeTMilestone', [$tMilestone]);

        return parent::removeTMilestone($tMilestone);
    }

    /**
     * {@inheritDoc}
     */
    public function getDirectorate(): ?\App\Entity\TDirectorates
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getDirectorate', []);

        return parent::getDirectorate();
    }

    /**
     * {@inheritDoc}
     */
    public function setDirectorate(?\App\Entity\TDirectorates $directorate): \App\Entity\TCountyDepartmentsAdpProjects
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setDirectorate', [$directorate]);

        return parent::setDirectorate($directorate);
    }

    /**
     * {@inheritDoc}
     */
    public function getProgressPercent(): ?string
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getProgressPercent', []);

        return parent::getProgressPercent();
    }

    /**
     * {@inheritDoc}
     */
    public function setProgressPercent(?string $progressPercent): \App\Entity\TCountyDepartmentsAdpProjects
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setProgressPercent', [$progressPercent]);

        return parent::setProgressPercent($progressPercent);
    }

    /**
     * {@inheritDoc}
     */
    public function getSector(): ?\App\Entity\TCountySectors
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getSector', []);

        return parent::getSector();
    }

    /**
     * {@inheritDoc}
     */
    public function setSector(?\App\Entity\TCountySectors $sector): \App\Entity\TCountyDepartmentsAdpProjects
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setSector', [$sector]);

        return parent::setSector($sector);
    }

    /**
     * {@inheritDoc}
     */
    public function getTProjectLocationMaps(): \Doctrine\Common\Collections\Collection
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getTProjectLocationMaps', []);

        return parent::getTProjectLocationMaps();
    }

    /**
     * {@inheritDoc}
     */
    public function addTProjectLocationMap(\App\Entity\TProjectLocationMaps $tProjectLocationMap): \App\Entity\TCountyDepartmentsAdpProjects
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'addTProjectLocationMap', [$tProjectLocationMap]);

        return parent::addTProjectLocationMap($tProjectLocationMap);
    }

    /**
     * {@inheritDoc}
     */
    public function removeTProjectLocationMap(\App\Entity\TProjectLocationMaps $tProjectLocationMap): \App\Entity\TCountyDepartmentsAdpProjects
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeTProjectLocationMap', [$tProjectLocationMap]);

        return parent::removeTProjectLocationMap($tProjectLocationMap);
    }

    /**
     * {@inheritDoc}
     */
    public function getLatitude(): ?string
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getLatitude', []);

        return parent::getLatitude();
    }

    /**
     * {@inheritDoc}
     */
    public function setLatitude(?string $latitude): \App\Entity\TCountyDepartmentsAdpProjects
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setLatitude', [$latitude]);

        return parent::setLatitude($latitude);
    }

    /**
     * {@inheritDoc}
     */
    public function getLongitude(): ?string
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getLongitude', []);

        return parent::getLongitude();
    }

    /**
     * {@inheritDoc}
     */
    public function setLongitude(?string $longitude): \App\Entity\TCountyDepartmentsAdpProjects
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setLongitude', [$longitude]);

        return parent::setLongitude($longitude);
    }

    /**
     * {@inheritDoc}
     */
    public function getProjectLocation(): ?string
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getProjectLocation', []);

        return parent::getProjectLocation();
    }

    /**
     * {@inheritDoc}
     */
    public function setProjectLocation(?string $projectLocation): \App\Entity\TCountyDepartmentsAdpProjects
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setProjectLocation', [$projectLocation]);

        return parent::setProjectLocation($projectLocation);
    }

    /**
     * {@inheritDoc}
     */
    public function getProjectDescription(): ?string
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getProjectDescription', []);

        return parent::getProjectDescription();
    }

    /**
     * {@inheritDoc}
     */
    public function setProjectDescription(?string $projectDescription): \App\Entity\TCountyDepartmentsAdpProjects
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setProjectDescription', [$projectDescription]);

        return parent::setProjectDescription($projectDescription);
    }

    /**
     * {@inheritDoc}
     */
    public function getContinueOrNew(): ?string
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getContinueOrNew', []);

        return parent::getContinueOrNew();
    }

    /**
     * {@inheritDoc}
     */
    public function setContinueOrNew(?string $continueOrNew): \App\Entity\TCountyDepartmentsAdpProjects
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setContinueOrNew', [$continueOrNew]);

        return parent::setContinueOrNew($continueOrNew);
    }

    /**
     * {@inheritDoc}
     */
    public function getBaseline(): ?string
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getBaseline', []);

        return parent::getBaseline();
    }

    /**
     * {@inheritDoc}
     */
    public function setBaseline(?string $baseline): \App\Entity\TCountyDepartmentsAdpProjects
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setBaseline', [$baseline]);

        return parent::setBaseline($baseline);
    }

}
