<?php

namespace Proxies\__CG__\VGM\WOBundle\Entity;

/**
 * DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
 */
class WorkOrder extends \VGM\WOBundle\Entity\WorkOrder 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\Persistence\Proxy::__setInitializer
     */
    public $__initializer__;

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

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

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



    /**
     * @param \Closure $initializer
     * @param \Closure $cloner
     */
    public function __construct($initializer = null, $cloner = null)
    {

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







    /**
     * 
     * @return array
     */
    public function __sleep()
    {
        if ($this->__isInitialized__) {
            return array('__isInitialized__', '' . "\0" . 'VGM\\WOBundle\\Entity\\WorkOrder' . "\0" . 'id', '' . "\0" . 'VGM\\WOBundle\\Entity\\WorkOrder' . "\0" . 'number', '' . "\0" . 'VGM\\WOBundle\\Entity\\WorkOrder' . "\0" . 'stock_quantity', '' . "\0" . 'VGM\\WOBundle\\Entity\\WorkOrder' . "\0" . 'created_at', '' . "\0" . 'VGM\\WOBundle\\Entity\\WorkOrder' . "\0" . 'started_at', '' . "\0" . 'VGM\\WOBundle\\Entity\\WorkOrder' . "\0" . 'ready', '' . "\0" . 'VGM\\WOBundle\\Entity\\WorkOrder' . "\0" . 'ready_at', '' . "\0" . 'VGM\\WOBundle\\Entity\\WorkOrder' . "\0" . 'price', '' . "\0" . 'VGM\\WOBundle\\Entity\\WorkOrder' . "\0" . 'x_price', '' . "\0" . 'VGM\\WOBundle\\Entity\\WorkOrder' . "\0" . 'status', '' . "\0" . 'VGM\\WOBundle\\Entity\\WorkOrder' . "\0" . 'delivery_date', '' . "\0" . 'VGM\\WOBundle\\Entity\\WorkOrder' . "\0" . 'delivery_address', '' . "\0" . 'VGM\\WOBundle\\Entity\\WorkOrder' . "\0" . 'delivery_city', '' . "\0" . 'VGM\\WOBundle\\Entity\\WorkOrder' . "\0" . 'delivery_state', '' . "\0" . 'VGM\\WOBundle\\Entity\\WorkOrder' . "\0" . 'delivery_zipcode', '' . "\0" . 'VGM\\WOBundle\\Entity\\WorkOrder' . "\0" . 'images', '' . "\0" . 'VGM\\WOBundle\\Entity\\WorkOrder' . "\0" . 'events', '' . "\0" . 'VGM\\WOBundle\\Entity\\WorkOrder' . "\0" . 'saletype', '' . "\0" . 'VGM\\WOBundle\\Entity\\WorkOrder' . "\0" . 'worktype', '' . "\0" . 'VGM\\WOBundle\\Entity\\WorkOrder' . "\0" . 'client', '' . "\0" . 'VGM\\WOBundle\\Entity\\WorkOrder' . "\0" . 'equipment', '' . "\0" . 'VGM\\WOBundle\\Entity\\WorkOrder' . "\0" . 'supervisor', '' . "\0" . 'VGM\\WOBundle\\Entity\\WorkOrder' . "\0" . 'stocks_full', '' . "\0" . 'VGM\\WOBundle\\Entity\\WorkOrder' . "\0" . 'created_by', '' . "\0" . 'VGM\\WOBundle\\Entity\\WorkOrder' . "\0" . 'origin', '' . "\0" . 'VGM\\WOBundle\\Entity\\WorkOrder' . "\0" . 'shifts', '' . "\0" . 'VGM\\WOBundle\\Entity\\WorkOrder' . "\0" . 'tasks', '' . "\0" . 'VGM\\WOBundle\\Entity\\WorkOrder' . "\0" . 'obs', '' . "\0" . 'VGM\\WOBundle\\Entity\\WorkOrder' . "\0" . 'invoice_refs');
        }

        return array('__isInitialized__', '' . "\0" . 'VGM\\WOBundle\\Entity\\WorkOrder' . "\0" . 'id', '' . "\0" . 'VGM\\WOBundle\\Entity\\WorkOrder' . "\0" . 'number', '' . "\0" . 'VGM\\WOBundle\\Entity\\WorkOrder' . "\0" . 'stock_quantity', '' . "\0" . 'VGM\\WOBundle\\Entity\\WorkOrder' . "\0" . 'created_at', '' . "\0" . 'VGM\\WOBundle\\Entity\\WorkOrder' . "\0" . 'started_at', '' . "\0" . 'VGM\\WOBundle\\Entity\\WorkOrder' . "\0" . 'ready', '' . "\0" . 'VGM\\WOBundle\\Entity\\WorkOrder' . "\0" . 'ready_at', '' . "\0" . 'VGM\\WOBundle\\Entity\\WorkOrder' . "\0" . 'price', '' . "\0" . 'VGM\\WOBundle\\Entity\\WorkOrder' . "\0" . 'x_price', '' . "\0" . 'VGM\\WOBundle\\Entity\\WorkOrder' . "\0" . 'status', '' . "\0" . 'VGM\\WOBundle\\Entity\\WorkOrder' . "\0" . 'delivery_date', '' . "\0" . 'VGM\\WOBundle\\Entity\\WorkOrder' . "\0" . 'delivery_address', '' . "\0" . 'VGM\\WOBundle\\Entity\\WorkOrder' . "\0" . 'delivery_city', '' . "\0" . 'VGM\\WOBundle\\Entity\\WorkOrder' . "\0" . 'delivery_state', '' . "\0" . 'VGM\\WOBundle\\Entity\\WorkOrder' . "\0" . 'delivery_zipcode', '' . "\0" . 'VGM\\WOBundle\\Entity\\WorkOrder' . "\0" . 'images', '' . "\0" . 'VGM\\WOBundle\\Entity\\WorkOrder' . "\0" . 'events', '' . "\0" . 'VGM\\WOBundle\\Entity\\WorkOrder' . "\0" . 'saletype', '' . "\0" . 'VGM\\WOBundle\\Entity\\WorkOrder' . "\0" . 'worktype', '' . "\0" . 'VGM\\WOBundle\\Entity\\WorkOrder' . "\0" . 'client', '' . "\0" . 'VGM\\WOBundle\\Entity\\WorkOrder' . "\0" . 'equipment', '' . "\0" . 'VGM\\WOBundle\\Entity\\WorkOrder' . "\0" . 'supervisor', '' . "\0" . 'VGM\\WOBundle\\Entity\\WorkOrder' . "\0" . 'stocks_full', '' . "\0" . 'VGM\\WOBundle\\Entity\\WorkOrder' . "\0" . 'created_by', '' . "\0" . 'VGM\\WOBundle\\Entity\\WorkOrder' . "\0" . 'origin', '' . "\0" . 'VGM\\WOBundle\\Entity\\WorkOrder' . "\0" . 'shifts', '' . "\0" . 'VGM\\WOBundle\\Entity\\WorkOrder' . "\0" . 'tasks', '' . "\0" . 'VGM\\WOBundle\\Entity\\WorkOrder' . "\0" . 'obs', '' . "\0" . 'VGM\\WOBundle\\Entity\\WorkOrder' . "\0" . 'invoice_refs');
    }

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

                $existingProperties = get_object_vars($proxy);

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

        }
    }

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

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

    /**
     * {@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
     * @static
     */
    public function __getLazyProperties()
    {
        return self::$lazyPropertiesDefaults;
    }

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


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

        return parent::getId();
    }

    /**
     * {@inheritDoc}
     */
    public function setNumber($number)
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setNumber', array($number));

        return parent::setNumber($number);
    }

    /**
     * {@inheritDoc}
     */
    public function getNumber()
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getNumber', array());

        return parent::getNumber();
    }

    /**
     * {@inheritDoc}
     */
    public function setStockQuantity($stockQuantity)
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setStockQuantity', array($stockQuantity));

        return parent::setStockQuantity($stockQuantity);
    }

    /**
     * {@inheritDoc}
     */
    public function getStockQuantity()
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getStockQuantity', array());

        return parent::getStockQuantity();
    }

    /**
     * {@inheritDoc}
     */
    public function setCreatedAt($createdAt)
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreatedAt', array($createdAt));

        return parent::setCreatedAt($createdAt);
    }

    /**
     * {@inheritDoc}
     */
    public function getCreatedAt()
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreatedAt', array());

        return parent::getCreatedAt();
    }

    /**
     * {@inheritDoc}
     */
    public function setStartedAt($startedAt)
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setStartedAt', array($startedAt));

        return parent::setStartedAt($startedAt);
    }

    /**
     * {@inheritDoc}
     */
    public function getStartedAt()
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getStartedAt', array());

        return parent::getStartedAt();
    }

    /**
     * {@inheritDoc}
     */
    public function setReady($ready)
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setReady', array($ready));

        return parent::setReady($ready);
    }

    /**
     * {@inheritDoc}
     */
    public function getReady()
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getReady', array());

        return parent::getReady();
    }

    /**
     * {@inheritDoc}
     */
    public function setReadyAt($readyAt)
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setReadyAt', array($readyAt));

        return parent::setReadyAt($readyAt);
    }

    /**
     * {@inheritDoc}
     */
    public function getReadyAt()
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getReadyAt', array());

        return parent::getReadyAt();
    }

    /**
     * {@inheritDoc}
     */
    public function setPrice($price)
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setPrice', array($price));

        return parent::setPrice($price);
    }

    /**
     * {@inheritDoc}
     */
    public function getPrice()
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getPrice', array());

        return parent::getPrice();
    }

    /**
     * {@inheritDoc}
     */
    public function setStatus($status)
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setStatus', array($status));

        return parent::setStatus($status);
    }

    /**
     * {@inheritDoc}
     */
    public function getStatus()
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getStatus', array());

        return parent::getStatus();
    }

    /**
     * {@inheritDoc}
     */
    public function setDeliveryDate($deliveryDate)
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setDeliveryDate', array($deliveryDate));

        return parent::setDeliveryDate($deliveryDate);
    }

    /**
     * {@inheritDoc}
     */
    public function getDeliveryDate()
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getDeliveryDate', array());

        return parent::getDeliveryDate();
    }

    /**
     * {@inheritDoc}
     */
    public function setDeliveryAddress($deliveryAddress)
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setDeliveryAddress', array($deliveryAddress));

        return parent::setDeliveryAddress($deliveryAddress);
    }

    /**
     * {@inheritDoc}
     */
    public function getDeliveryAddress()
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getDeliveryAddress', array());

        return parent::getDeliveryAddress();
    }

    /**
     * {@inheritDoc}
     */
    public function setDeliveryCity($deliveryCity)
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setDeliveryCity', array($deliveryCity));

        return parent::setDeliveryCity($deliveryCity);
    }

    /**
     * {@inheritDoc}
     */
    public function getDeliveryCity()
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getDeliveryCity', array());

        return parent::getDeliveryCity();
    }

    /**
     * {@inheritDoc}
     */
    public function setDeliveryState($deliveryState)
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setDeliveryState', array($deliveryState));

        return parent::setDeliveryState($deliveryState);
    }

    /**
     * {@inheritDoc}
     */
    public function getDeliveryState()
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getDeliveryState', array());

        return parent::getDeliveryState();
    }

    /**
     * {@inheritDoc}
     */
    public function setDeliveryZipcode($deliveryZipcode)
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setDeliveryZipcode', array($deliveryZipcode));

        return parent::setDeliveryZipcode($deliveryZipcode);
    }

    /**
     * {@inheritDoc}
     */
    public function getDeliveryZipcode()
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getDeliveryZipcode', array());

        return parent::getDeliveryZipcode();
    }

    /**
     * {@inheritDoc}
     */
    public function addImage(\VGM\WOBundle\Entity\Image $images)
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'addImage', array($images));

        return parent::addImage($images);
    }

    /**
     * {@inheritDoc}
     */
    public function removeImage(\VGM\WOBundle\Entity\Image $images)
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeImage', array($images));

        return parent::removeImage($images);
    }

    /**
     * {@inheritDoc}
     */
    public function getImages()
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getImages', array());

        return parent::getImages();
    }

    /**
     * {@inheritDoc}
     */
    public function addEvent(\VGM\WOBundle\Entity\WOEvent $events)
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'addEvent', array($events));

        return parent::addEvent($events);
    }

    /**
     * {@inheritDoc}
     */
    public function removeEvent(\VGM\WOBundle\Entity\WOEvent $events)
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeEvent', array($events));

        return parent::removeEvent($events);
    }

    /**
     * {@inheritDoc}
     */
    public function getEvents()
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getEvents', array());

        return parent::getEvents();
    }

    /**
     * {@inheritDoc}
     */
    public function setSaletype(\VGM\WOBundle\Entity\SaleType $saletype = NULL)
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setSaletype', array($saletype));

        return parent::setSaletype($saletype);
    }

    /**
     * {@inheritDoc}
     */
    public function getSaletype()
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getSaletype', array());

        return parent::getSaletype();
    }

    /**
     * {@inheritDoc}
     */
    public function setWorktype(\VGM\WOBundle\Entity\WorkType $worktype = NULL)
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setWorktype', array($worktype));

        return parent::setWorktype($worktype);
    }

    /**
     * {@inheritDoc}
     */
    public function getWorktype()
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getWorktype', array());

        return parent::getWorktype();
    }

    /**
     * {@inheritDoc}
     */
    public function setClient(\VGM\WOBundle\Entity\Client $client = NULL)
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setClient', array($client));

        return parent::setClient($client);
    }

    /**
     * {@inheritDoc}
     */
    public function getClient()
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getClient', array());

        return parent::getClient();
    }

    /**
     * {@inheritDoc}
     */
    public function setEquipment(\VGM\WOBundle\Entity\Equipment $equipment = NULL)
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setEquipment', array($equipment));

        return parent::setEquipment($equipment);
    }

    /**
     * {@inheritDoc}
     */
    public function getEquipment()
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getEquipment', array());

        return parent::getEquipment();
    }

    /**
     * {@inheritDoc}
     */
    public function setSupervisor(\VGM\WOBundle\Entity\Worker $supervisor = NULL)
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setSupervisor', array($supervisor));

        return parent::setSupervisor($supervisor);
    }

    /**
     * {@inheritDoc}
     */
    public function getSupervisor()
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getSupervisor', array());

        return parent::getSupervisor();
    }

    /**
     * {@inheritDoc}
     */
    public function addStocksFull(\VGM\WOBundle\Entity\WorkOrderStockAssociation $stocksFull)
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'addStocksFull', array($stocksFull));

        return parent::addStocksFull($stocksFull);
    }

    /**
     * {@inheritDoc}
     */
    public function removeStocksFull(\VGM\WOBundle\Entity\WorkOrderStockAssociation $stocksFull)
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeStocksFull', array($stocksFull));

        return parent::removeStocksFull($stocksFull);
    }

    /**
     * {@inheritDoc}
     */
    public function getStocksFull()
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getStocksFull', array());

        return parent::getStocksFull();
    }

    /**
     * {@inheritDoc}
     */
    public function setCreatedBy(\VGM\WOBundle\Entity\Worker $createdBy = NULL)
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreatedBy', array($createdBy));

        return parent::setCreatedBy($createdBy);
    }

    /**
     * {@inheritDoc}
     */
    public function getCreatedBy()
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreatedBy', array());

        return parent::getCreatedBy();
    }

    /**
     * {@inheritDoc}
     */
    public function addTask(\VGM\WOBundle\Entity\PlanningTask $task)
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'addTask', array($task));

        return parent::addTask($task);
    }

    /**
     * {@inheritDoc}
     */
    public function removeTask(\VGM\WOBundle\Entity\PlanningTask $task)
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeTask', array($task));

        return parent::removeTask($task);
    }

    /**
     * {@inheritDoc}
     */
    public function getTasks()
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getTasks', array());

        return parent::getTasks();
    }

    /**
     * {@inheritDoc}
     */
    public function addShift(\VGM\WOBundle\Entity\LaborLoop $shift)
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'addShift', array($shift));

        return parent::addShift($shift);
    }

    /**
     * {@inheritDoc}
     */
    public function removeShift(\VGM\WOBundle\Entity\LaborLoop $shift)
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeShift', array($shift));

        return parent::removeShift($shift);
    }

    /**
     * {@inheritDoc}
     */
    public function getShifts()
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getShifts', array());

        return parent::getShifts();
    }

    /**
     * {@inheritDoc}
     */
    public function setOrigin($origin)
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setOrigin', array($origin));

        return parent::setOrigin($origin);
    }

    /**
     * {@inheritDoc}
     */
    public function getOrigin()
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getOrigin', array());

        return parent::getOrigin();
    }

    /**
     * {@inheritDoc}
     */
    public function addOb(\VGM\WOBundle\Entity\WorkOrderObs $ob)
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'addOb', array($ob));

        return parent::addOb($ob);
    }

    /**
     * {@inheritDoc}
     */
    public function removeOb(\VGM\WOBundle\Entity\WorkOrderObs $ob)
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeOb', array($ob));

        return parent::removeOb($ob);
    }

    /**
     * {@inheritDoc}
     */
    public function getObs()
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getObs', array());

        return parent::getObs();
    }

    /**
     * {@inheritDoc}
     */
    public function setXPrice($xPrice)
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setXPrice', array($xPrice));

        return parent::setXPrice($xPrice);
    }

    /**
     * {@inheritDoc}
     */
    public function getXPrice()
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getXPrice', array());

        return parent::getXPrice();
    }

    /**
     * {@inheritDoc}
     */
    public function addInvoiceRef(\VGM\WOBundle\Entity\InvoiceReference $invoiceRef)
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'addInvoiceRef', array($invoiceRef));

        return parent::addInvoiceRef($invoiceRef);
    }

    /**
     * {@inheritDoc}
     */
    public function removeInvoiceRef(\VGM\WOBundle\Entity\InvoiceReference $invoiceRef)
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeInvoiceRef', array($invoiceRef));

        return parent::removeInvoiceRef($invoiceRef);
    }

    /**
     * {@inheritDoc}
     */
    public function getInvoiceRefs()
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getInvoiceRefs', array());

        return parent::getInvoiceRefs();
    }

    /**
     * {@inheritDoc}
     */
    public function setCreatedAtValue()
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreatedAtValue', array());

        return parent::setCreatedAtValue();
    }

    /**
     * {@inheritDoc}
     */
    public function setStartedAtValue()
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setStartedAtValue', array());

        return parent::setStartedAtValue();
    }

    /**
     * {@inheritDoc}
     */
    public function getStatusFromStocks()
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getStatusFromStocks', array());

        return parent::getStatusFromStocks();
    }

    /**
     * {@inheritDoc}
     */
    public function setStatusFromStocks()
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setStatusFromStocks', array());

        return parent::setStatusFromStocks();
    }

    /**
     * {@inheritDoc}
     */
    public function getReadyAtFromStocks()
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getReadyAtFromStocks', array());

        return parent::getReadyAtFromStocks();
    }

    /**
     * {@inheritDoc}
     */
    public function setReadyAtFromStocks()
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setReadyAtFromStocks', array());

        return parent::setReadyAtFromStocks();
    }

    /**
     * {@inheritDoc}
     */
    public function getImageUrl()
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getImageUrl', array());

        return parent::getImageUrl();
    }

    /**
     * {@inheritDoc}
     */
    public function __toString()
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, '__toString', array());

        return parent::__toString();
    }

}
