<commit_before><?php

/**
 * @license MIT
 * @copyright (c) 2013, Associazione UniversiBO
 */
namespace Universibo\Bundle\CampusBundle\Model;

/**
 * Represents a Document
 *
 * @author <NAME> <<EMAIL>>
 */
class Document extends AbstractItem
{

}<commit_msg>Done with Document model #4<commit_after><?php

/**
 * @license MIT
 * @copyright (c) 2013, Associazione UniversiBO
 */
namespace Universibo\Bundle\CampusBundle\Model;

/**
 * Represents a Document
 *
 * @author <NAME> <<EMAIL>>
 */
class Document extends AbstractItem
{
    /**
     * 2 char for language
     * @var string
     */
    private $language;

    /**
     * Revision number (e.g. 1, 2 ...)
     * @var integer
     */
    private $revisionNumber;

    /**
     * Security level (e.g. studentsonly)
     *
     * @var string
     */
    private $security;

    /**
     * Ordering position
     *
     * @var integer
     */
    private $position;

    /**
     * Language getter
     *
     * @return string
     */
    public function getLanguage()
    {
        return $this->language;
    }

    /**
     * Language setter
     *
     * @param  string   $language
     * @return Document
     */
    public function setLanguage($language)
    {
        $this->language = $language;

        return $this;
    }

    /**
     * Revision number getter
     *
     * @return integer
     */
    public function getRevisionNumber()
    {
        return $this->revisionNumber;
    }

    /**
     * Revision number setter
     *
     * @param  integer  $revisionNumber
     * @return Document
     */
    public function setRevisionNumber($revisionNumber)
    {
        $this->revisionNumber = $revisionNumber;

        return $this;
    }

    /**
     * Security getter
     *
     * @return string
     */
    public function getSecurity()
    {
        return $this->security;
    }

    /**
     * Security setter
     *
     * @param  string   $security
     * @return Document
     */
    public function setSecurity($security)
    {
        $this->security = $security;

        return $this;
    }

    /**
     * Position getter
     *
     * @return integer
     */
    public function getPosition()
    {
        return $this->position;
    }

    /**
     * Position setter
     *
     * @param  integer  $position
     * @return Document
     */
    public function setPosition($position)
    {
        $this->position = $position;

        return $this;
    }
}
{'fraction_non_alphanumeric': 0.12219043727012668, 'fraction_numerical': 0.004903964037597058, 'mean_word_length': 1.7945205479452055, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7175743', 'n_tokens_mistral': 755, 'n_tokens_neox': 724, 'n_words': 169}