<?php

namespace Proxies\__CG__\Fishman\PollBundle\Entity;

/**
 * THIS CLASS WAS GENERATED BY THE DOCTRINE ORM. DO NOT EDIT THIS FILE.
 */
class Pollscheduling extends \Fishman\PollBundle\Entity\Pollscheduling 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);
        }
    }

    /** @private */
    public function __isInitialized()
    {
        return $this->__isInitialized__;
    }

    
    public function getId()
    {
        if ($this->__isInitialized__ === false) {
            return (int) $this->_identifier["id"];
        }
        $this->__load();
        return parent::getId();
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    public function setPoll(\Fishman\PollBundle\Entity\Poll $poll = NULL)
    {
        $this->__load();
        return parent::setPoll($poll);
    }

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

    public function addPollschedulingsection(\Fishman\PollBundle\Entity\Pollschedulingsection $pollschedulingsections)
    {
        $this->__load();
        return parent::addPollschedulingsection($pollschedulingsections);
    }

    public function removePollschedulingsection(\Fishman\PollBundle\Entity\Pollschedulingsection $pollschedulingsections)
    {
        $this->__load();
        return parent::removePollschedulingsection($pollschedulingsections);
    }

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

    public function addPollschedulingquestion(\Fishman\PollBundle\Entity\Pollschedulingquestion $pollschedulingquestions)
    {
        $this->__load();
        return parent::addPollschedulingquestion($pollschedulingquestions);
    }

    public function removePollschedulingquestion(\Fishman\PollBundle\Entity\Pollschedulingquestion $pollschedulingquestions)
    {
        $this->__load();
        return parent::removePollschedulingquestion($pollschedulingquestions);
    }

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

    public function addPollapplication(\Fishman\PollBundle\Entity\Pollapplication $pollapplications)
    {
        $this->__load();
        return parent::addPollapplication($pollapplications);
    }

    public function removePollapplication(\Fishman\PollBundle\Entity\Pollapplication $pollapplications)
    {
        $this->__load();
        return parent::removePollapplication($pollapplications);
    }

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

    public function addPollschedulingpeople(\Fishman\PollBundle\Entity\Pollschedulingpeople $pollschedulingpeoples)
    {
        $this->__load();
        return parent::addPollschedulingpeople($pollschedulingpeoples);
    }

    public function removePollschedulingpeople(\Fishman\PollBundle\Entity\Pollschedulingpeople $pollschedulingpeoples)
    {
        $this->__load();
        return parent::removePollschedulingpeople($pollschedulingpeoples);
    }

    public function setBenchmarking(\Fishman\PollBundle\Entity\Benchmarking $benchmarking = NULL)
    {
        $this->__load();
        return parent::setBenchmarking($benchmarking);
    }

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

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


    public function __sleep()
    {
        return array('__isInitialized__', 'id', 'title', 'version', 'description', 'type', 'multiple_evaluation', 'level', 'alignment', 'divide', 'number_question', 'sequence_question', 'duration', 'period', 'initdate', 'enddate', 'terms', 'use_terms', 'message_gratitude', 'message_end', 'message_inactive', 'custom_header_title', 'custom_header_title_text', 'custom_header_title_description', 'custom_header_logo', 'sequence', 'status', 'time_number', 'access_view_number', 'status_bar', 'counselor_report', 'current_version', 'original_id', 'company_id', 'entity_type', 'entity_id', 'entity_poll_id', 'pollscheduling_anonymous', 'pollscheduling_period', 'pollschedulingrelation_id', 'serialized', 'own', 'created', 'changed', 'created_by', 'modified_by', 'deleted', 'pollapplications', 'pollschedulingquestions', 'pollschedulingpeoples', 'poll', 'benchmarking');
    }

    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);
        }
        
    }
}