<?php

namespace Proxies;

/**
 * THIS CLASS WAS GENERATED BY THE DOCTRINE ORM. DO NOT EDIT THIS FILE.
 */
class DorcasTabithaBundleEntityPledgeProxy extends \Dorcas\TabithaBundle\Entity\Pledge 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 getPledgeId()
    {
        $this->__load();
        return parent::getPledgeId();
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    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 setAssistanceType(\Dorcas\TabithaBundle\Entity\CheckPurpose $assistanceType)
    {
        $this->__load();
        return parent::setAssistanceType($assistanceType);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


    public function __sleep()
    {
        return array('__isInitialized__', 'pledge_id', 'client_id', 'client_name', 'client_address', 'counselor', 'pledge_dorcas', 'pledge_other', 'pledge_other2', 'pledge_total', 'check_purpose', 'account_number', 'vendor_name', 'vendor_address', 'other_desc', 'other_desc2', 'name_on_bill', 'vendor_phone', 'on_line', 'vendor_contact', 'confirm_num', '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);
        }
        
    }
}