<?php

namespace Proxies;

/**
 * THIS CLASS WAS GENERATED BY THE DOCTRINE ORM. DO NOT EDIT THIS FILE.
 */
class DorcasTabithaBundleEntityAssistanceProxy extends \Dorcas\TabithaBundle\Entity\Assistance implements \Doctrine\ORM\Proxy\Proxy
{
    private $_entityPersister;
    private $_identifier;
    public $__isInitialized__ = false;
    public function __construct($entityPersister, $identifier)
    {
        $this->_entityPersister = $entityPersister;
        $this->_identifier = $identifier;
    }
    /** @private */
    public function __load()
    {
        if (!$this->__isInitialized__ && $this->_entityPersister) {
            $this->__isInitialized__ = true;

            if (method_exists($this, "__wakeup")) {
                // call this after __isInitialized__to avoid infinite recursion
                // but before loading to emulate what ClassMetadata::newInstance()
                // provides.
                $this->__wakeup();
            }

            if ($this->_entityPersister->load($this->_identifier, $this) === null) {
                throw new \Doctrine\ORM\EntityNotFoundException();
            }
            unset($this->_entityPersister, $this->_identifier);
        }
    }
    
    
    public function setUpdatedValue()
    {
        $this->__load();
        return parent::setUpdatedValue();
    }

    public function getAssistanceId()
    {
        $this->__load();
        return parent::getAssistanceId();
    }

    public function setClientId($clientId)
    {
        $this->__load();
        return parent::setClientId($clientId);
    }

    public function getClientId()
    {
        $this->__load();
        return parent::getClientId();
    }

    public function setChecksIssuedDate($checksIssuedDate)
    {
        $this->__load();
        return parent::setChecksIssuedDate($checksIssuedDate);
    }

    public function getChecksIssuedDate()
    {
        $this->__load();
        return parent::getChecksIssuedDate();
    }

    public function setChecksIssuedPayee($checksIssuedPayee)
    {
        $this->__load();
        return parent::setChecksIssuedPayee($checksIssuedPayee);
    }

    public function getChecksIssuedPayee()
    {
        $this->__load();
        return parent::getChecksIssuedPayee();
    }

    public function setCheckDorcas($checkDorcas)
    {
        $this->__load();
        return parent::setCheckDorcas($checkDorcas);
    }

    public function getCheckDorcas()
    {
        $this->__load();
        return parent::getCheckDorcas();
    }

    public function setCheckOasis($checkOasis)
    {
        $this->__load();
        return parent::setCheckOasis($checkOasis);
    }

    public function getCheckOasis()
    {
        $this->__load();
        return parent::getCheckOasis();
    }

    public function setCheckSfumc($checkSfumc)
    {
        $this->__load();
        return parent::setCheckSfumc($checkSfumc);
    }

    public function getCheckSfumc()
    {
        $this->__load();
        return parent::getCheckSfumc();
    }

    public function setCheckOther($checkOther)
    {
        $this->__load();
        return parent::setCheckOther($checkOther);
    }

    public function getCheckOther()
    {
        $this->__load();
        return parent::getCheckOther();
    }

    public function setCreatedDt($createdDt)
    {
        $this->__load();
        return parent::setCreatedDt($createdDt);
    }

    public function getCreatedDt()
    {
        $this->__load();
        return parent::getCreatedDt();
    }

    public function setModifiedDt($modifiedDt)
    {
        $this->__load();
        return parent::setModifiedDt($modifiedDt);
    }

    public function getModifiedDt()
    {
        $this->__load();
        return parent::getModifiedDt();
    }

    public function setClient(\Dorcas\TabithaBundle\Entity\Client $client)
    {
        $this->__load();
        return parent::setClient($client);
    }

    public function getClient()
    {
        $this->__load();
        return parent::getClient();
    }

    public function setCheckpurpose(\Dorcas\TabithaBundle\Entity\CheckPurpose $checkpurpose)
    {
        $this->__load();
        return parent::setCheckpurpose($checkpurpose);
    }

    public function getCheckpurpose()
    {
        $this->__load();
        return parent::getCheckpurpose();
    }

    public function setFoodGivenDate($foodGivenDate)
    {
        $this->__load();
        return parent::setFoodGivenDate($foodGivenDate);
    }

    public function getFoodGivenDate()
    {
        $this->__load();
        return parent::getFoodGivenDate();
    }

    public function setFoodGivenTimes($foodGivenTimes)
    {
        $this->__load();
        return parent::setFoodGivenTimes($foodGivenTimes);
    }

    public function getFoodGivenTimes()
    {
        $this->__load();
        return parent::getFoodGivenTimes();
    }

    public function setFoodGiven($foodGiven)
    {
        $this->__load();
        return parent::setFoodGiven($foodGiven);
    }

    public function getFoodGiven()
    {
        $this->__load();
        return parent::getFoodGiven();
    }

    public function setSpecialProgramDate($specialProgramDate)
    {
        $this->__load();
        return parent::setSpecialProgramDate($specialProgramDate);
    }

    public function getSpecialProgramDate()
    {
        $this->__load();
        return parent::getSpecialProgramDate();
    }

    public function setSpecialProgramRecipientName($specialProgramRecipientName)
    {
        $this->__load();
        return parent::setSpecialProgramRecipientName($specialProgramRecipientName);
    }

    public function getSpecialProgramRecipientName()
    {
        $this->__load();
        return parent::getSpecialProgramRecipientName();
    }

    public function setSpecialProgramParentName($specialProgramParentName)
    {
        $this->__load();
        return parent::setSpecialProgramParentName($specialProgramParentName);
    }

    public function getSpecialProgramParentName()
    {
        $this->__load();
        return parent::getSpecialProgramParentName();
    }

    public function setSpecialProgramCheck($specialProgramCheck)
    {
        $this->__load();
        return parent::setSpecialProgramCheck($specialProgramCheck);
    }

    public function getSpecialProgramCheck()
    {
        $this->__load();
        return parent::getSpecialProgramCheck();
    }

    public function setSpecialProgram(\Dorcas\TabithaBundle\Entity\SpecialProgram $specialProgram)
    {
        $this->__load();
        return parent::setSpecialProgram($specialProgram);
    }

    public function getSpecialProgram()
    {
        $this->__load();
        return parent::getSpecialProgram();
    }

    public function setIsActiveCheck($isActiveCheck)
    {
        $this->__load();
        return parent::setIsActiveCheck($isActiveCheck);
    }

    public function getIsActiveCheck()
    {
        $this->__load();
        return parent::getIsActiveCheck();
    }

    public function setIsActiveFood($isActiveFood)
    {
        $this->__load();
        return parent::setIsActiveFood($isActiveFood);
    }

    public function getIsActiveFood()
    {
        $this->__load();
        return parent::getIsActiveFood();
    }

    public function setIsActiveProgram($isActiveProgram)
    {
        $this->__load();
        return parent::setIsActiveProgram($isActiveProgram);
    }

    public function getIsActiveProgram()
    {
        $this->__load();
        return parent::getIsActiveProgram();
    }


    public function __sleep()
    {
        return array('__isInitialized__', 'assistance_id', 'client_id', 'client', 'food_given_date', 'food_given', 'checks_issued_date', 'checks_issued_payee', 'checkpurpose', 'check_dorcas', 'check_oasis', 'check_sfumc', 'check_other', 'special_program', 'special_program_date', 'special_program_recipient_name', 'special_program_parent_name', 'special_program_check', 'isActiveCheck', 'isActiveFood', 'isActiveProgram', 'created_dt', 'modified_dt');
    }

    public function __clone()
    {
        if (!$this->__isInitialized__ && $this->_entityPersister) {
            $this->__isInitialized__ = true;
            $class = $this->_entityPersister->getClassMetadata();
            $original = $this->_entityPersister->load($this->_identifier);
            if ($original === null) {
                throw new \Doctrine\ORM\EntityNotFoundException();
            }
            foreach ($class->reflFields AS $field => $reflProperty) {
                $reflProperty->setValue($this, $reflProperty->getValue($original));
            }
            unset($this->_entityPersister, $this->_identifier);
        }
        
    }
}