Model/Document.php
author ymh <ymh.work@gmail.com>
Thu, 27 Oct 2011 21:21:11 +0200
changeset 18 6f16b9fd6a17
parent 17 81962874e172
child 20 985f1992895d
permissions -rwxr-xr-x
finish dynamic save

<?php
/*
 * This file is part of the WikiTagBundle package.
 *
 * (c) IRI <http://www.iri.centrepompidou.fr/>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace IRI\Bundle\WikiTagBundle\Model;

abstract class Document implements DocumentInterface {
    
    /**
    * @var integer $id
    */
    protected $id;
    
    
    /**
     * @var boolean $manualOrder
     */
    protected $manualOrder = false;
    
    /**
     * @var string $externalId
     */
    protected $externalId;
    
    
    /**
     * Get id
     *
     * @return integer
     */
    public function getId()
    {
        return $this->id;
    }
    
    
    /**
    * Set manualOrder
    *
    * @param boolean $manualOrder
    */
    function setManualOrder($manualOrder)
    {
        $this->manualOrder = $manualOrder;
    }
    
    /**
     * Get manualOrder
     *
     * @return boolean
     */
    function getManualOrder()
    {
        return $this->manualOrder;
    }
    
    /**
     * TODO: (non-PHPdoc)
     * @see IRI\Bundle\WikiTagBundle\Model.BaseDocumentInterface::setExternalId()
     */
    function setExternalId($externalId)
    {
        $this->externalId = $externalId;
    }
    
    /**
     * TODO: (non-PHPdoc)
     * @see IRI\Bundle\WikiTagBundle\Model.BaseDocumentInterface::getExternalId()
     */
    function getExternalId()
    {
        return $this->externalId;
    }
    
}