<?php

namespace Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 *
 * @license see /license.txt
 * @author autogenerated
 */
class Language extends \Entity
{
    /**
     * @return \Entity\Repository\LanguageRepository
     */
     public static function repository(){
        return \Entity\Repository\LanguageRepository::instance();
    }

    /**
     * @return \Entity\Language
     */
     public static function create(){
        return new self();
    }

    /**
     * @var boolean $id
     */
    protected $id;

    /**
     * @var string $original_name
     */
    protected $original_name;

    /**
     * @var string $english_name
     */
    protected $english_name;

    /**
     * @var string $isocode
     */
    protected $isocode;

    /**
     * @var string $dokeos_folder
     */
    protected $dokeos_folder;

    /**
     * @var boolean $available
     */
    protected $available;

    /**
     * @var boolean $parent_id
     */
    protected $parent_id;


    /**
     * Get id
     *
     * @return boolean 
     */
    public function get_id()
    {
        return $this->id;
    }

    /**
     * Set original_name
     *
     * @param string $value
     * @return Language
     */
    public function set_original_name($value)
    {
        $this->original_name = $value;
        return $this;
    }

    /**
     * Get original_name
     *
     * @return string 
     */
    public function get_original_name()
    {
        return $this->original_name;
    }

    /**
     * Set english_name
     *
     * @param string $value
     * @return Language
     */
    public function set_english_name($value)
    {
        $this->english_name = $value;
        return $this;
    }

    /**
     * Get english_name
     *
     * @return string 
     */
    public function get_english_name()
    {
        return $this->english_name;
    }

    /**
     * Set isocode
     *
     * @param string $value
     * @return Language
     */
    public function set_isocode($value)
    {
        $this->isocode = $value;
        return $this;
    }

    /**
     * Get isocode
     *
     * @return string 
     */
    public function get_isocode()
    {
        return $this->isocode;
    }

    /**
     * Set dokeos_folder
     *
     * @param string $value
     * @return Language
     */
    public function set_dokeos_folder($value)
    {
        $this->dokeos_folder = $value;
        return $this;
    }

    /**
     * Get dokeos_folder
     *
     * @return string 
     */
    public function get_dokeos_folder()
    {
        return $this->dokeos_folder;
    }

    /**
     * Set available
     *
     * @param boolean $value
     * @return Language
     */
    public function set_available($value)
    {
        $this->available = $value;
        return $this;
    }

    /**
     * Get available
     *
     * @return boolean 
     */
    public function get_available()
    {
        return $this->available;
    }

    /**
     * Set parent_id
     *
     * @param boolean $value
     * @return Language
     */
    public function set_parent_id($value)
    {
        $this->parent_id = $value;
        return $this;
    }

    /**
     * Get parent_id
     *
     * @return boolean 
     */
    public function get_parent_id()
    {
        return $this->parent_id;
    }
}