vendor/theatre/core/src/Entity/Multimedias.php line 14

Open in your IDE?
  1. <?php
  2. namespace TheatreCore\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. use Symfony\Component\Validator\Constraints as Assert;
  5. /**
  6.  * Multimedias
  7.  *
  8.  * @ORM\Table(name="multimedias", uniqueConstraints={@ORM\UniqueConstraint(name="code", columns={"code"}), @ORM\UniqueConstraint(name="url_clean", columns={"url_clean"})}, indexes={@ORM\Index(name="idextranetuser_producteur", columns={"idextranetuser_producteur"}), @ORM\Index(name="publish", columns={"publish"}), @ORM\Index(name="sujet_titre", columns={"sujet_titre"}), @ORM\Index(name="type", columns={"type"}), @ORM\Index(name="idcontact_producteur", columns={"idcontact_producteur"}), @ORM\Index(name="evenement", columns={"evenement"}), @ORM\Index(name="avignondate", columns={"avignondate"}), @ORM\Index(name="idextranetuser", columns={"idextranetuser"})})
  9.  * @ORM\Entity(repositoryClass="TheatreCore\Repository\MultimediasRepository")
  10.  */
  11. class Multimedias
  12. {
  13.     const URL_THTV 'thnet-yvestan';
  14.     /**
  15.      * @var int
  16.      *
  17.      * @ORM\Column(name="idmultimedia", type="integer", nullable=false, options={"unsigned"=true})
  18.      * @ORM\Id
  19.      * @ORM\GeneratedValue(strategy="IDENTITY")
  20.      */
  21.     private $idmultimedia;
  22.     /**
  23.      * @var int
  24.      *
  25.      * @ORM\Column(name="idsupport", type="integer", nullable=false)
  26.      *
  27.      * @Assert\NotBlank(message="Vous devez saisir un idsupport correct")
  28.      *
  29.      */
  30.     private $idsupport '0';
  31.     /**
  32.      * @var bool
  33.      *
  34.      * @ORM\Column(name="publish", type="boolean", nullable=false)
  35.      */
  36.     private $publish false;
  37.     /**
  38.      * @var bool
  39.      *
  40.      * @ORM\Column(name="status", type="integer", nullable=false, options={"default"="1"})
  41.      */
  42.     private $status 1;
  43.     /**
  44.      * @var bool|null
  45.      *
  46.      * @ORM\Column(name="policy_access", type="boolean", nullable=true)
  47.      */
  48.     private $policyAccess;
  49.     /**
  50.      * @var string
  51.      *
  52.      * @ORM\Column(name="support", type="string", length=10, nullable=false)
  53.      */
  54.     private $support;
  55.     /**
  56.      * @var string|null
  57.      *
  58.      * @ORM\Column(name="evenement", type="string", length=150, nullable=true)
  59.      */
  60.     private $evenement;
  61.     /**
  62.      * @var string
  63.      *
  64.      * @ORM\Column(name="sujet_titre", type="string", length=80, nullable=false)
  65.      *
  66.      * @Assert\NotBlank(message="Veuillez préciser le titre")
  67.      * @Assert\Length(
  68.      *      min = 2,
  69.      *      minMessage = "Your title must be at least {{ limit }} characters long"
  70.      * )
  71.      *
  72.      */
  73.     private $sujetTitre;
  74.     /**
  75.      * @var string
  76.      *
  77.      * @ORM\Column(name="language", type="string", length=3, nullable=false, options={"fixed"=true})
  78.      */
  79.     private $language;
  80.     /**
  81.      * @var bool|null
  82.      *
  83.      * @ORM\Column(name="markdown", type="boolean", nullable=true)
  84.      */
  85.     private $markdown;
  86.     /**
  87.      * @var int
  88.      *
  89.      * @ORM\Column(name="duree", type="integer", nullable=false)
  90.      *
  91.      * @Assert\NotBlank(message="Vous devez saisir une duree correcte")
  92.      *
  93.      */
  94.     private $duree '0';
  95.     /**
  96.      * @var \DateTime
  97.      *
  98.      * @ORM\Column(name="date", type="date", nullable=false, options={"default"="2000-00-00"})
  99.      *
  100.      * @Assert\NotBlank(message="Vous devez saisir une date correcte")
  101.      *
  102.      */
  103.     private $date//= '2000-00-00';
  104.     /**
  105.      * @var string
  106.      *
  107.      * @ORM\Column(name="lieu", type="string", length=80, nullable=false)
  108.      *
  109.      * @Assert\NotBlank(message="Lieu de l'enregistrement : veuillez préciser le lieu")
  110.      *
  111.      */
  112.     private $lieu;
  113.     /**
  114.      * @var string|null
  115.      *
  116.      * @ORM\Column(name="particip_comed", type="text", length=65535, nullable=true)
  117.      */
  118.     private $participComed;
  119.     /**
  120.      * @var string
  121.      *
  122.      * @ORM\Column(name="description", type="text", length=65535, nullable=false)
  123.      *
  124.      * @Assert\NotBlank(message="Description : veuillez préciser la description")
  125.      *
  126.      */
  127.     private $description;
  128.     /**
  129.      * @var bool
  130.      *
  131.      * @ORM\Column(name="use_cloud", type="boolean", nullable=false)
  132.      */
  133.     private $useCloud false;
  134.     /**
  135.      * @var bool
  136.      *
  137.      * @ORM\Column(name="type_streaming", type="boolean", nullable=false)
  138.      */
  139.     private $typeStreaming false;
  140.     /**
  141.      * @var bool
  142.      *
  143.      * @ORM\Column(name="mp3", type="boolean", nullable=false)
  144.      */
  145.     private $mp3 false;
  146.     /**
  147.      * @var bool
  148.      *
  149.      * @ORM\Column(name="hd2160", type="boolean", nullable=false)
  150.      */
  151.     private $hd2160 false;
  152.     /**
  153.      * @var bool
  154.      *
  155.      * @ORM\Column(name="hd1080", type="boolean", nullable=false)
  156.      */
  157.     private $hd1080 false;
  158.     /**
  159.      * @var bool
  160.      *
  161.      * @ORM\Column(name="upload", type="boolean", nullable=false)
  162.      */
  163.     private $upload false;
  164.     /**
  165.      * @var bool
  166.      *
  167.      * @ORM\Column(name="hd720", type="boolean", nullable=false)
  168.      */
  169.     private $hd720 false;
  170.     /**
  171.      * @var bool
  172.      *
  173.      * @ORM\Column(name="h264m", type="boolean", nullable=false)
  174.      */
  175.     private $h264m false;
  176.     /**
  177.      * @var bool
  178.      *
  179.      * @ORM\Column(name="h264", type="boolean", nullable=false)
  180.      */
  181.     private $h264 false;
  182.     /**
  183.      * @var bool|null
  184.      *
  185.      * @ORM\Column(name="flv", type="boolean", nullable=true)
  186.      */
  187.     private $flv false;
  188.     /**
  189.      * @var int|null
  190.      *
  191.      * @ORM\Column(name="flv_width", type="integer", nullable=true)
  192.      */
  193.     private $flvWidth;
  194.     /**
  195.      * @var int|null
  196.      *
  197.      * @ORM\Column(name="flv_height", type="integer", nullable=true)
  198.      */
  199.     private $flvHeight;
  200.     /**
  201.      * @var int
  202.      *
  203.      * @ORM\Column(name="duree_site", type="integer", nullable=false)
  204.      */
  205.     private $dureeSite '0';
  206.     /**
  207.      * @var int
  208.      *
  209.      * @ORM\Column(name="duree_site_sec", type="integer", nullable=false, options={"comment"="0 pour durée inconnue"})
  210.      */
  211.     private $dureeSiteSec '0';
  212.     /**
  213.      * @var bool
  214.      *
  215.      * @ORM\Column(name="audio_video", type="boolean", nullable=false)
  216.      */
  217.     private $audioVideo false;
  218.     /**
  219.      * @var string|null
  220.      *
  221.      * @ORM\Column(name="filmeur", type="string", length=100, nullable=true)
  222.      */
  223.     private $filmeur;
  224.     /**
  225.      * @var string|null
  226.      *
  227.      * @ORM\Column(name="copyright", type="string", length=255, nullable=true)
  228.      */
  229.     private $copyright;
  230.     /**
  231.      * @var bool|null
  232.      *
  233.      * @ORM\Column(name="etalab", type="boolean", nullable=true)
  234.      */
  235.     private $etalab;
  236.     /**
  237.      * @var string|null
  238.      *
  239.      * @ORM\Column(name="mots", type="string", length=255, nullable=true)
  240.      */
  241.     private $mots;
  242.     /**
  243.      * @var string|null
  244.      *
  245.      * @ORM\Column(name="tags", type="string", length=250, nullable=true)
  246.      */
  247.     private $tags;
  248.     /**
  249.      * @var int
  250.      *
  251.      * @ORM\Column(name="quality", type="integer", nullable=false, options={"comment"="indicateur de qualité"})
  252.      */
  253.     private $quality '0';
  254.     /**
  255.      * @var string|null
  256.      *
  257.      * @ORM\Column(name="url_clean", type="string", length=255, nullable=true)
  258.      */
  259.     private $urlClean;
  260.     /**
  261.      * @var string|null
  262.      *
  263.      * @ORM\Column(name="code", type="string", length=40, nullable=true)
  264.      */
  265.     private $code;
  266.     /**
  267.      * @var bool
  268.      *
  269.      * @ORM\Column(name="fichier_local", type="boolean", nullable=false)
  270.      */
  271.     private $fichierLocal false;
  272.     /**
  273.      * @var string|null
  274.      *
  275.      * @ORM\Column(name="note_extranet", type="text", length=65535, nullable=true)
  276.      */
  277.     private $noteExtranet;
  278.     /**
  279.      * @var string|null
  280.      *
  281.      * @ORM\Column(name="note_extranetuser", type="text", length=65535, nullable=true)
  282.      */
  283.     private $noteExtranetuser;
  284.     /**
  285.      * @var bool|null
  286.      *
  287.      * @ORM\Column(name="video_tete", type="boolean", nullable=true)
  288.      */
  289.     private $videoTete;
  290.     /**
  291.      * @var \DateTime|null
  292.      *
  293.      * @ORM\Column(name="avignondate", type="date", nullable=true)
  294.      */
  295.     private $avignondate;
  296.     /**
  297.      * @var string|null
  298.      *
  299.      * @ORM\Column(name="heywatch", type="text", length=65535, nullable=true, options={"comment"="xml"})
  300.      */
  301.     private $heywatch;
  302.     /**
  303.      * @var bool|null
  304.      *
  305.      * @ORM\Column(name="is_coconut", type="boolean", nullable=true)
  306.      */
  307.     private $isCoconut;
  308.     /**
  309.      * @var string|null
  310.      *
  311.      * @ORM\Column(name="price", type="decimal", precision=5, scale=2, nullable=true)
  312.      */
  313.     private $price;
  314.     /**
  315.      * @var int|null
  316.      *
  317.      * @ORM\ManyToOne(targetEntity="Extranetusers")
  318.      * @ORM\JoinColumns({
  319.      *   @ORM\JoinColumn(name="idextranetuser_producteur", referencedColumnName="idextranetuser")
  320.      * })
  321.      */
  322.     private $idextranetuserProducteur;
  323.     /**
  324.      * @var int
  325.      *
  326.      * @ORM\Column(name="count_view", type="integer", nullable=false, options={"unsigned"=true})
  327.      */
  328.     private $countView '0';
  329.     /**
  330.      * @var \DateTime
  331.      *
  332.      * @ORM\Column(name="dateupdate", type="datetime", nullable=false, options={"default"="CURRENT_TIMESTAMP"})
  333.      */
  334.     private $dateupdate// = 'CURRENT_TIMESTAMP';
  335.     /**
  336.      * @var \DateTime
  337.      *
  338.      * @ORM\Column(name="dateinsert", type="datetime", nullable=false, options={"default"="0000-00-00 00:00:00"})
  339.      */
  340.     private $dateinsert// = '0000-00-00 00:00:00';
  341.     /**
  342.      * @var bool|null
  343.      *
  344.      * @ORM\Column(name="traite_comed", type="boolean", nullable=true)
  345.      */
  346.     private $traiteComed;
  347.     /**
  348.      * @var bool|null
  349.      *
  350.      * @ORM\Column(name="traite_format", type="boolean", nullable=true)
  351.      */
  352.     private $traiteFormat;
  353.     /**
  354.      * @var bool
  355.      *
  356.      * @ORM\Column(name="conversion_local", type="boolean", nullable=false)
  357.      */
  358.     private $conversionLocal false;
  359.     /**
  360.      * @var \Typesmultimedias
  361.      *
  362.      * @ORM\ManyToOne(targetEntity="Typesmultimedias")
  363.      * @ORM\JoinColumns({
  364.      *   @ORM\JoinColumn(name="type", referencedColumnName="idtypemultimedia")
  365.      * })
  366.      */
  367.     private $type;
  368.     /**
  369.      * @var \Extranetusers
  370.      *
  371.      * @ORM\ManyToOne(targetEntity="Extranetusers")
  372.      * @ORM\JoinColumns({
  373.      *   @ORM\JoinColumn(name="idextranetuser", referencedColumnName="idextranetuser")
  374.      * })
  375.      */
  376.     private $idextranetuser;
  377.     /**
  378.      * @var \Contacts
  379.      *
  380.      * @ORM\ManyToOne(targetEntity="Contacts")
  381.      * @ORM\JoinColumns({
  382.      *   @ORM\JoinColumn(name="idcontact_producteur", referencedColumnName="idcontact")
  383.      * })
  384.      */
  385.     private $idcontactProducteur;
  386.     /**
  387.      * @var \Doctrine\Common\Collections\Collection
  388.      *
  389.      * @ORM\ManyToMany(targetEntity="Dvds", mappedBy="idmultimedia")
  390.      */
  391.     private $iddvd;
  392.     /**
  393.      * @var \Doctrine\Common\Collections\Collection
  394.      *
  395.      * @ORM\ManyToMany(targetEntity="Classifications", inversedBy="idmultimedia")
  396.      * @ORM\JoinTable(name="multimedia_classification",
  397.      *   joinColumns={
  398.      *     @ORM\JoinColumn(name="idmultimedia", referencedColumnName="idmultimedia")
  399.      *   },
  400.      *   inverseJoinColumns={
  401.      *     @ORM\JoinColumn(name="idclassification", referencedColumnName="idclassification")
  402.      *   }
  403.      * )
  404.      */
  405.     private $idclassification;
  406.     /**
  407.      * @var \Doctrine\Common\Collections\Collection
  408.      *
  409.      * @ORM\ManyToMany(targetEntity="Keywords", inversedBy="idmultimedia")
  410.      * @ORM\JoinTable(name="multimedia_keyword",
  411.      *   joinColumns={
  412.      *     @ORM\JoinColumn(name="idmultimedia", referencedColumnName="idmultimedia")
  413.      *   },
  414.      *   inverseJoinColumns={
  415.      *     @ORM\JoinColumn(name="idkeyword", referencedColumnName="idkeyword")
  416.      *   }
  417.      * )
  418.      */
  419.     private $idkeyword;
  420.     /**
  421.      * @var \Doctrine\Common\Collections\Collection
  422.      *
  423.      * @ORM\ManyToMany(targetEntity="Spectacles")
  424.      * @ORM\JoinTable(name="object_multimedia",
  425.      *   joinColumns={
  426.      *     @ORM\JoinColumn(name="idmultimedia", referencedColumnName="idmultimedia")
  427.      *   },
  428.      *   inverseJoinColumns={
  429.      *     @ORM\JoinColumn(name="idobject", referencedColumnName="idspectacle")
  430.      *   }
  431.      * )
  432.      */
  433.     private $idspectacle;
  434.     /**
  435.      * @var \Doctrine\Common\Collections\Collection
  436.      *
  437.      * @ORM\ManyToMany(targetEntity="extranetusers")
  438.      * @ORM\JoinTable(name="multimedia_extranetuser",
  439.      *   joinColumns={
  440.      *     @ORM\JoinColumn(name="idmultimedia", referencedColumnName="idmultimedia")
  441.      *   },
  442.      *   inverseJoinColumns={
  443.      *     @ORM\JoinColumn(name="idextranetuser", referencedColumnName="idextranetuser")
  444.      *   }
  445.      * )
  446.      */
  447.     private $multimediaExtranetuser;
  448.     /**
  449.      * @var \Doctrine\Common\Collections\Collection
  450.      *
  451.      * @ORM\ManyToMany(targetEntity="Playlists", mappedBy="idmultimedia")
  452.      */
  453.     private $idplaylist;
  454.     /**
  455.      * Constructor
  456.      */
  457.     public function __construct()
  458.     {
  459.         $this->iddvd = new \Doctrine\Common\Collections\ArrayCollection();
  460.         $this->idclassification = new \Doctrine\Common\Collections\ArrayCollection();
  461.         $this->idkeyword = new \Doctrine\Common\Collections\ArrayCollection();
  462.         $this->idplaylist = new \Doctrine\Common\Collections\ArrayCollection();
  463.         $this->idspectacle = new \Doctrine\Common\Collections\ArrayCollection();
  464.     }
  465.     /**
  466.      * Get idmultimedia.
  467.      *
  468.      * @return int
  469.      */
  470.     public function getIdmultimedia()
  471.     {
  472.         return $this->idmultimedia;
  473.     }
  474.     /**
  475.      * Set idsupport.
  476.      *
  477.      * @param int $idsupport
  478.      *
  479.      * @return Multimedias
  480.      */
  481.     public function setIdsupport($idsupport)
  482.     {
  483.         $this->idsupport $idsupport;
  484.         return $this;
  485.     }
  486.     /**
  487.      * Get idsupport.
  488.      *
  489.      * @return int
  490.      */
  491.     public function getIdsupport()
  492.     {
  493.         return $this->idsupport;
  494.     }
  495.     /**
  496.      * Set publish.
  497.      *
  498.      * @param bool $publish
  499.      *
  500.      * @return Multimedias
  501.      */
  502.     public function setPublish($publish)
  503.     {
  504.         $this->publish $publish;
  505.         return $this;
  506.     }
  507.     /**
  508.      * Get publish.
  509.      *
  510.      * @return bool
  511.      */
  512.     public function getPublish()
  513.     {
  514.         return $this->publish;
  515.     }
  516.     /**
  517.      * Set status.
  518.      *
  519.      * @param bool $status
  520.      *
  521.      * @return Multimedias
  522.      */
  523.     public function setStatus($status)
  524.     {
  525.         $this->status $status;
  526.         return $this;
  527.     }
  528.     /**
  529.      * Get status.
  530.      *
  531.      * @return bool
  532.      */
  533.     public function getStatus()
  534.     {
  535.         return $this->status;
  536.     }
  537.     /**
  538.      * Set policyAccess.
  539.      *
  540.      * @param bool|null $policyAccess
  541.      *
  542.      * @return Multimedias
  543.      */
  544.     public function setPolicyAccess($policyAccess null)
  545.     {
  546.         $this->policyAccess $policyAccess;
  547.         return $this;
  548.     }
  549.     /**
  550.      * Get policyAccess.
  551.      *
  552.      * @return bool|null
  553.      */
  554.     public function getPolicyAccess()
  555.     {
  556.         return $this->policyAccess;
  557.     }
  558.     /**
  559.      * Set support.
  560.      *
  561.      * @param string $support
  562.      *
  563.      * @return Multimedias
  564.      */
  565.     public function setSupport($support)
  566.     {
  567.         $this->support $support;
  568.         return $this;
  569.     }
  570.     /**
  571.      * Get support.
  572.      *
  573.      * @return string
  574.      */
  575.     public function getSupport()
  576.     {
  577.         return $this->support;
  578.     }
  579.     /**
  580.      * Set evenement.
  581.      *
  582.      * @param string|null $evenement
  583.      *
  584.      * @return Multimedias
  585.      */
  586.     public function setEvenement($evenement null)
  587.     {
  588.         $this->evenement $evenement;
  589.         return $this;
  590.     }
  591.     /**
  592.      * Get evenement.
  593.      *
  594.      * @return string|null
  595.      */
  596.     public function getEvenement()
  597.     {
  598.         return $this->evenement;
  599.     }
  600.     /**
  601.      * Set sujetTitre.
  602.      *
  603.      * @param string $sujetTitre
  604.      *
  605.      * @return Multimedias
  606.      */
  607.     public function setSujetTitre($sujetTitre)
  608.     {
  609.         $this->sujetTitre $sujetTitre;
  610.         return $this;
  611.     }
  612.     /**
  613.      * Get sujetTitre.
  614.      *
  615.      * @return string
  616.      */
  617.     public function getSujetTitre()
  618.     {
  619.         return $this->sujetTitre;
  620.     }
  621.     /**
  622.      * Set language.
  623.      *
  624.      * @param string $language
  625.      *
  626.      * @return Multimedias
  627.      */
  628.     public function setLanguage($language)
  629.     {
  630.         $this->language $language;
  631.         return $this;
  632.     }
  633.     /**
  634.      * Get language.
  635.      *
  636.      * @return string
  637.      */
  638.     public function getLanguage()
  639.     {
  640.         return $this->language;
  641.     }
  642.     /**
  643.      * Set markdown.
  644.      *
  645.      * @param bool|null $markdown
  646.      *
  647.      * @return Multimedias
  648.      */
  649.     public function setMarkdown($markdown null)
  650.     {
  651.         $this->markdown $markdown;
  652.         return $this;
  653.     }
  654.     /**
  655.      * Get markdown.
  656.      *
  657.      * @return bool|null
  658.      */
  659.     public function getMarkdown()
  660.     {
  661.         return $this->markdown;
  662.     }
  663.     /**
  664.      * Set duree.
  665.      *
  666.      * @param int $duree
  667.      *
  668.      * @return Multimedias
  669.      */
  670.     public function setDuree($duree)
  671.     {
  672.         $this->duree $duree;
  673.         return $this;
  674.     }
  675.     /**
  676.      * Get duree.
  677.      *
  678.      * @return int
  679.      */
  680.     public function getDuree()
  681.     {
  682.         return $this->duree;
  683.     }
  684.     /**
  685.      * Set date.
  686.      *
  687.      * @param \DateTime $date
  688.      *
  689.      * @return Multimedias
  690.      */
  691.     public function setDate($date)
  692.     {
  693.         $this->date $date;
  694.         return $this;
  695.     }
  696.     /**
  697.      * Get date.
  698.      *
  699.      * @return \DateTime
  700.      */
  701.     public function getDate()
  702.     {
  703.         return $this->date;
  704.     }
  705.     /**
  706.      * Set lieu.
  707.      *
  708.      * @param string $lieu
  709.      *
  710.      * @return Multimedias
  711.      */
  712.     public function setLieu($lieu)
  713.     {
  714.         $this->lieu $lieu;
  715.         return $this;
  716.     }
  717.     /**
  718.      * Get lieu.
  719.      *
  720.      * @return string
  721.      */
  722.     public function getLieu()
  723.     {
  724.         return $this->lieu;
  725.     }
  726.     /**
  727.      * Set participComed.
  728.      *
  729.      * @param string|null $participComed
  730.      *
  731.      * @return Multimedias
  732.      */
  733.     public function setParticipComed($participComed null)
  734.     {
  735.         $this->participComed $participComed;
  736.         return $this;
  737.     }
  738.     /**
  739.      * Get participComed.
  740.      *
  741.      * @return string|null
  742.      */
  743.     public function getParticipComed()
  744.     {
  745.         return $this->participComed;
  746.     }
  747.     /**
  748.      * Set description.
  749.      *
  750.      * @param string $description
  751.      *
  752.      * @return Multimedias
  753.      */
  754.     public function setDescription($description)
  755.     {
  756.         $this->description $description;
  757.         return $this;
  758.     }
  759.     /**
  760.      * Get description.
  761.      *
  762.      * @return string
  763.      */
  764.     public function getDescription()
  765.     {
  766.         return $this->description;
  767.     }
  768.     /**
  769.      * Set useCloud.
  770.      *
  771.      * @param bool $useCloud
  772.      *
  773.      * @return Multimedias
  774.      */
  775.     public function setUseCloud($useCloud)
  776.     {
  777.         $this->useCloud $useCloud;
  778.         return $this;
  779.     }
  780.     /**
  781.      * Get useCloud.
  782.      *
  783.      * @return bool
  784.      */
  785.     public function getUseCloud()
  786.     {
  787.         return $this->useCloud;
  788.     }
  789.     /**
  790.      * Set typeStreaming.
  791.      *
  792.      * @param bool $typeStreaming
  793.      *
  794.      * @return Multimedias
  795.      */
  796.     public function setTypeStreaming($typeStreaming)
  797.     {
  798.         $this->typeStreaming $typeStreaming;
  799.         return $this;
  800.     }
  801.     /**
  802.      * Get typeStreaming.
  803.      *
  804.      * @return bool
  805.      */
  806.     public function getTypeStreaming()
  807.     {
  808.         return $this->typeStreaming;
  809.     }
  810.     /**
  811.      * Set mp3.
  812.      *
  813.      * @param bool $mp3
  814.      *
  815.      * @return Multimedias
  816.      */
  817.     public function setMp3($mp3)
  818.     {
  819.         $this->mp3 $mp3;
  820.         return $this;
  821.     }
  822.     /**
  823.      * Get mp3.
  824.      *
  825.      * @return bool
  826.      */
  827.     public function getMp3()
  828.     {
  829.         return $this->mp3;
  830.     }
  831.     /**
  832.      * Set hd2160.
  833.      *
  834.      * @param bool $hd2160
  835.      *
  836.      * @return Multimedias
  837.      */
  838.     public function setHd2160($hd2160)
  839.     {
  840.         $this->hd2160 $hd2160;
  841.         return $this;
  842.     }
  843.     /**
  844.      * Get hd2160.
  845.      *
  846.      * @return bool
  847.      */
  848.     public function getHd2160()
  849.     {
  850.         return $this->hd2160;
  851.     }
  852.     /**
  853.      * Set hd1080.
  854.      *
  855.      * @param bool $hd1080
  856.      *
  857.      * @return Multimedias
  858.      */
  859.     public function setHd1080($hd1080)
  860.     {
  861.         $this->hd1080 $hd1080;
  862.         return $this;
  863.     }
  864.     /**
  865.      * Get hd1080.
  866.      *
  867.      * @return bool
  868.      */
  869.     public function getHd1080()
  870.     {
  871.         return $this->hd1080;
  872.     }
  873.     /**
  874.      * Set upload.
  875.      *
  876.      * @param bool $upload
  877.      *
  878.      * @return Multimedias
  879.      */
  880.     public function setUpload($upload)
  881.     {
  882.         $this->upload $upload;
  883.         return $this;
  884.     }
  885.     /**
  886.      * Get upload.
  887.      *
  888.      * @return bool
  889.      */
  890.     public function getUpload()
  891.     {
  892.         return $this->upload;
  893.     }
  894.     /**
  895.      * Set hd720.
  896.      *
  897.      * @param bool $hd720
  898.      *
  899.      * @return Multimedias
  900.      */
  901.     public function setHd720($hd720)
  902.     {
  903.         $this->hd720 $hd720;
  904.         return $this;
  905.     }
  906.     /**
  907.      * Get hd720.
  908.      *
  909.      * @return bool
  910.      */
  911.     public function getHd720()
  912.     {
  913.         return $this->hd720;
  914.     }
  915.     /**
  916.      * Set h264m.
  917.      *
  918.      * @param bool $h264m
  919.      *
  920.      * @return Multimedias
  921.      */
  922.     public function setH264m($h264m)
  923.     {
  924.         $this->h264m $h264m;
  925.         return $this;
  926.     }
  927.     /**
  928.      * Get h264m.
  929.      *
  930.      * @return bool
  931.      */
  932.     public function getH264m()
  933.     {
  934.         return $this->h264m;
  935.     }
  936.     /**
  937.      * Set h264.
  938.      *
  939.      * @param bool $h264
  940.      *
  941.      * @return Multimedias
  942.      */
  943.     public function setH264($h264)
  944.     {
  945.         $this->h264 $h264;
  946.         return $this;
  947.     }
  948.     /**
  949.      * Get h264.
  950.      *
  951.      * @return bool
  952.      */
  953.     public function getH264()
  954.     {
  955.         return $this->h264;
  956.     }
  957.     /**
  958.      * Set flv.
  959.      *
  960.      * @param bool|null $flv
  961.      *
  962.      * @return Multimedias
  963.      */
  964.     public function setFlv($flv null)
  965.     {
  966.         $this->flv $flv;
  967.         return $this;
  968.     }
  969.     /**
  970.      * Get flv.
  971.      *
  972.      * @return bool|null
  973.      */
  974.     public function getFlv()
  975.     {
  976.         return $this->flv;
  977.     }
  978.     /**
  979.      * Set flvWidth.
  980.      *
  981.      * @param int|null $flvWidth
  982.      *
  983.      * @return Multimedias
  984.      */
  985.     public function setFlvWidth($flvWidth null)
  986.     {
  987.         $this->flvWidth $flvWidth;
  988.         return $this;
  989.     }
  990.     /**
  991.      * Get flvWidth.
  992.      *
  993.      * @return int|null
  994.      */
  995.     public function getFlvWidth()
  996.     {
  997.         return $this->flvWidth;
  998.     }
  999.     /**
  1000.      * Set flvHeight.
  1001.      *
  1002.      * @param int|null $flvHeight
  1003.      *
  1004.      * @return Multimedias
  1005.      */
  1006.     public function setFlvHeight($flvHeight null)
  1007.     {
  1008.         $this->flvHeight $flvHeight;
  1009.         return $this;
  1010.     }
  1011.     /**
  1012.      * Get flvHeight.
  1013.      *
  1014.      * @return int|null
  1015.      */
  1016.     public function getFlvHeight()
  1017.     {
  1018.         return $this->flvHeight;
  1019.     }
  1020.     /**
  1021.      * Set dureeSite.
  1022.      *
  1023.      * @param int $dureeSite
  1024.      *
  1025.      * @return Multimedias
  1026.      */
  1027.     public function setDureeSite($dureeSite)
  1028.     {
  1029.         $this->dureeSite $dureeSite;
  1030.         return $this;
  1031.     }
  1032.     /**
  1033.      * Get dureeSite.
  1034.      *
  1035.      * @return int
  1036.      */
  1037.     public function getDureeSite()
  1038.     {
  1039.         return $this->dureeSite;
  1040.     }
  1041.     /**
  1042.      * Set dureeSiteSec.
  1043.      *
  1044.      * @param int $dureeSiteSec
  1045.      *
  1046.      * @return Multimedias
  1047.      */
  1048.     public function setDureeSiteSec($dureeSiteSec)
  1049.     {
  1050.         $this->dureeSiteSec $dureeSiteSec;
  1051.         return $this;
  1052.     }
  1053.     /**
  1054.      * Get dureeSiteSec.
  1055.      *
  1056.      * @return int
  1057.      */
  1058.     public function getDureeSiteSec()
  1059.     {
  1060.         return $this->dureeSiteSec;
  1061.     }
  1062.     /**
  1063.      * Set audioVideo.
  1064.      *
  1065.      * @param bool $audioVideo
  1066.      *
  1067.      * @return Multimedias
  1068.      */
  1069.     public function setAudioVideo($audioVideo)
  1070.     {
  1071.         $this->audioVideo $audioVideo;
  1072.         return $this;
  1073.     }
  1074.     /**
  1075.      * Get audioVideo.
  1076.      *
  1077.      * @return bool
  1078.      */
  1079.     public function getAudioVideo()
  1080.     {
  1081.         return $this->audioVideo;
  1082.     }
  1083.     /**
  1084.      * Set filmeur.
  1085.      *
  1086.      * @param string|null $filmeur
  1087.      *
  1088.      * @return Multimedias
  1089.      */
  1090.     public function setFilmeur($filmeur null)
  1091.     {
  1092.         $this->filmeur $filmeur;
  1093.         return $this;
  1094.     }
  1095.     /**
  1096.      * Get filmeur.
  1097.      *
  1098.      * @return string|null
  1099.      */
  1100.     public function getFilmeur()
  1101.     {
  1102.         return $this->filmeur;
  1103.     }
  1104.     /**
  1105.      * Set copyright.
  1106.      *
  1107.      * @param string|null $copyright
  1108.      *
  1109.      * @return Multimedias
  1110.      */
  1111.     public function setCopyright($copyright null)
  1112.     {
  1113.         $this->copyright $copyright;
  1114.         return $this;
  1115.     }
  1116.     /**
  1117.      * Get copyright.
  1118.      *
  1119.      * @return string|null
  1120.      */
  1121.     public function getCopyright()
  1122.     {
  1123.         return $this->copyright;
  1124.     }
  1125.     /**
  1126.      * Set etalab.
  1127.      *
  1128.      * @param bool|null $etalab
  1129.      *
  1130.      * @return Multimedias
  1131.      */
  1132.     public function setEtalab($etalab null)
  1133.     {
  1134.         $this->etalab $etalab;
  1135.         return $this;
  1136.     }
  1137.     /**
  1138.      * Get etalab.
  1139.      *
  1140.      * @return bool|null
  1141.      */
  1142.     public function getEtalab()
  1143.     {
  1144.         return $this->etalab;
  1145.     }
  1146.     /**
  1147.      * Set mots.
  1148.      *
  1149.      * @param string|null $mots
  1150.      *
  1151.      * @return Multimedias
  1152.      */
  1153.     public function setMots($mots null)
  1154.     {
  1155.         $this->mots $mots;
  1156.         return $this;
  1157.     }
  1158.     /**
  1159.      * Get mots.
  1160.      *
  1161.      * @return string|null
  1162.      */
  1163.     public function getMots()
  1164.     {
  1165.         return $this->mots;
  1166.     }
  1167.     /**
  1168.      * Set tags.
  1169.      *
  1170.      * @param string|null $tags
  1171.      *
  1172.      * @return Multimedias
  1173.      */
  1174.     public function setTags($tags null)
  1175.     {
  1176.         $this->tags $tags;
  1177.         return $this;
  1178.     }
  1179.     /**
  1180.      * Get tags.
  1181.      *
  1182.      * @return string|null
  1183.      */
  1184.     public function getTags()
  1185.     {
  1186.         return $this->tags;
  1187.     }
  1188.     /**
  1189.      * Set quality.
  1190.      *
  1191.      * @param bool $quality
  1192.      *
  1193.      * @return Multimedias
  1194.      */
  1195.     public function setQuality($quality)
  1196.     {
  1197.         $this->quality $quality;
  1198.         return $this;
  1199.     }
  1200.     /**
  1201.      * Get quality.
  1202.      *
  1203.      * @return bool
  1204.      */
  1205.     public function getQuality()
  1206.     {
  1207.         return $this->quality;
  1208.     }
  1209.     /**
  1210.      * Set urlClean.
  1211.      *
  1212.      * @param string|null $urlClean
  1213.      *
  1214.      * @return Multimedias
  1215.      */
  1216.     public function setUrlClean($urlClean null)
  1217.     {
  1218.         $this->urlClean $urlClean;
  1219.         return $this;
  1220.     }
  1221.     /**
  1222.      * Get urlClean.
  1223.      *
  1224.      * @return string|null
  1225.      */
  1226.     public function getUrlClean()
  1227.     {
  1228.         return $this->urlClean;
  1229.     }
  1230.     /**
  1231.      * Set code.
  1232.      *
  1233.      * @param string|null $code
  1234.      *
  1235.      * @return Multimedias
  1236.      */
  1237.     public function setCode($code null)
  1238.     {
  1239.         $this->code $code;
  1240.         return $this;
  1241.     }
  1242.     /**
  1243.      * Get code.
  1244.      *
  1245.      * @return string|null
  1246.      */
  1247.     public function getCode()
  1248.     {
  1249.         return $this->code;
  1250.     }
  1251.     /**
  1252.      * Set fichierLocal.
  1253.      *
  1254.      * @param bool $fichierLocal
  1255.      *
  1256.      * @return Multimedias
  1257.      */
  1258.     public function setFichierLocal($fichierLocal)
  1259.     {
  1260.         $this->fichierLocal $fichierLocal;
  1261.         return $this;
  1262.     }
  1263.     /**
  1264.      * Get fichierLocal.
  1265.      *
  1266.      * @return bool
  1267.      */
  1268.     public function getFichierLocal()
  1269.     {
  1270.         return $this->fichierLocal;
  1271.     }
  1272.     /**
  1273.      * Set noteExtranet.
  1274.      *
  1275.      * @param string|null $noteExtranet
  1276.      *
  1277.      * @return Multimedias
  1278.      */
  1279.     public function setNoteExtranet($noteExtranet null)
  1280.     {
  1281.         $this->noteExtranet $noteExtranet;
  1282.         return $this;
  1283.     }
  1284.     /**
  1285.      * Get noteExtranet.
  1286.      *
  1287.      * @return string|null
  1288.      */
  1289.     public function getNoteExtranet()
  1290.     {
  1291.         return $this->noteExtranet;
  1292.     }
  1293.     /**
  1294.      * Set noteExtranetuser.
  1295.      *
  1296.      * @param string|null $noteExtranetuser
  1297.      *
  1298.      * @return Multimedias
  1299.      */
  1300.     public function setNoteExtranetuser($noteExtranetuser null)
  1301.     {
  1302.         $this->noteExtranetuser $noteExtranetuser;
  1303.         return $this;
  1304.     }
  1305.     /**
  1306.      * Get noteExtranetuser.
  1307.      *
  1308.      * @return string|null
  1309.      */
  1310.     public function getNoteExtranetuser()
  1311.     {
  1312.         return $this->noteExtranetuser;
  1313.     }
  1314.     /**
  1315.      * Set videoTete.
  1316.      *
  1317.      * @param bool|null $videoTete
  1318.      *
  1319.      * @return Multimedias
  1320.      */
  1321.     public function setVideoTete($videoTete null)
  1322.     {
  1323.         $this->videoTete $videoTete;
  1324.         return $this;
  1325.     }
  1326.     /**
  1327.      * Get videoTete.
  1328.      *
  1329.      * @return bool|null
  1330.      */
  1331.     public function getVideoTete()
  1332.     {
  1333.         return $this->videoTete;
  1334.     }
  1335.     /**
  1336.      * Set avignondate.
  1337.      *
  1338.      * @param \DateTime|null $avignondate
  1339.      *
  1340.      * @return Multimedias
  1341.      */
  1342.     public function setAvignondate($avignondate null)
  1343.     {
  1344.         $this->avignondate $avignondate;
  1345.         return $this;
  1346.     }
  1347.     /**
  1348.      * Get avignondate.
  1349.      *
  1350.      * @return \DateTime|null
  1351.      */
  1352.     public function getAvignondate()
  1353.     {
  1354.         return $this->avignondate;
  1355.     }
  1356.     /**
  1357.      * Set heywatch.
  1358.      *
  1359.      * @param string|null $heywatch
  1360.      *
  1361.      * @return Multimedias
  1362.      */
  1363.     public function setHeywatch($heywatch null)
  1364.     {
  1365.         $this->heywatch $heywatch;
  1366.         return $this;
  1367.     }
  1368.     /**
  1369.      * Get heywatch.
  1370.      *
  1371.      * @return string|null
  1372.      */
  1373.     public function getHeywatch()
  1374.     {
  1375.         return $this->heywatch;
  1376.     }
  1377.     /**
  1378.      * Set isCoconut.
  1379.      *
  1380.      * @param bool|null $isCoconut
  1381.      *
  1382.      * @return Multimedias
  1383.      */
  1384.     public function setIsCoconut($isCoconut null)
  1385.     {
  1386.         $this->isCoconut $isCoconut;
  1387.         return $this;
  1388.     }
  1389.     /**
  1390.      * Get isCoconut.
  1391.      *
  1392.      * @return bool|null
  1393.      */
  1394.     public function getIsCoconut()
  1395.     {
  1396.         return $this->isCoconut;
  1397.     }
  1398.     /**
  1399.      * Set price.
  1400.      *
  1401.      * @param string|null $price
  1402.      *
  1403.      * @return Multimedias
  1404.      */
  1405.     public function setPrice($price null)
  1406.     {
  1407.         $this->price $price;
  1408.         return $this;
  1409.     }
  1410.     /**
  1411.      * Get price.
  1412.      *
  1413.      * @return string|null
  1414.      */
  1415.     public function getPrice()
  1416.     {
  1417.         return $this->price;
  1418.     }
  1419.     /**
  1420.      * Set idextranetuserProducteur.
  1421.      *
  1422.      * @param int|null $idextranetuserProducteur
  1423.      *
  1424.      * @return Multimedias
  1425.      */
  1426.     public function setIdextranetuserProducteur($idextranetuserProducteur null)
  1427.     {
  1428.         $this->idextranetuserProducteur $idextranetuserProducteur;
  1429.         return $this;
  1430.     }
  1431.     /**
  1432.      * Get idextranetuserProducteur.
  1433.      *
  1434.      * @return int|null
  1435.      */
  1436.     public function getIdextranetuserProducteur()
  1437.     {
  1438.         return $this->idextranetuserProducteur;
  1439.     }
  1440.     /**
  1441.      * Set countView.
  1442.      *
  1443.      * @param int $countView
  1444.      *
  1445.      * @return Multimedias
  1446.      */
  1447.     public function setCountView($countView)
  1448.     {
  1449.         $this->countView $countView;
  1450.         return $this;
  1451.     }
  1452.     /**
  1453.      * Get countView.
  1454.      *
  1455.      * @return int
  1456.      */
  1457.     public function getCountView()
  1458.     {
  1459.         return $this->countView;
  1460.     }
  1461.     /**
  1462.      * Set dateupdate.
  1463.      *
  1464.      * @param \DateTime $dateupdate
  1465.      *
  1466.      * @return Multimedias
  1467.      */
  1468.     public function setDateupdate($dateupdate)
  1469.     {
  1470.         $this->dateupdate $dateupdate;
  1471.         return $this;
  1472.     }
  1473.     /**
  1474.      * Get dateupdate.
  1475.      *
  1476.      * @return \DateTime
  1477.      */
  1478.     public function getDateupdate()
  1479.     {
  1480.         return $this->dateupdate;
  1481.     }
  1482.     /**
  1483.      * Set dateinsert.
  1484.      *
  1485.      * @param \DateTime $dateinsert
  1486.      *
  1487.      * @return Multimedias
  1488.      */
  1489.     public function setDateinsert($dateinsert)
  1490.     {
  1491.         $this->dateinsert $dateinsert;
  1492.         return $this;
  1493.     }
  1494.     /**
  1495.      * Get dateinsert.
  1496.      *
  1497.      * @return \DateTime
  1498.      */
  1499.     public function getDateinsert()
  1500.     {
  1501.         return $this->dateinsert;
  1502.     }
  1503.     /**
  1504.      * Set traiteComed.
  1505.      *
  1506.      * @param bool|null $traiteComed
  1507.      *
  1508.      * @return Multimedias
  1509.      */
  1510.     public function setTraiteComed($traiteComed null)
  1511.     {
  1512.         $this->traiteComed $traiteComed;
  1513.         return $this;
  1514.     }
  1515.     /**
  1516.      * Get traiteComed.
  1517.      *
  1518.      * @return bool|null
  1519.      */
  1520.     public function getTraiteComed()
  1521.     {
  1522.         return $this->traiteComed;
  1523.     }
  1524.     /**
  1525.      * Set traiteFormat.
  1526.      *
  1527.      * @param bool|null $traiteFormat
  1528.      *
  1529.      * @return Multimedias
  1530.      */
  1531.     public function setTraiteFormat($traiteFormat null)
  1532.     {
  1533.         $this->traiteFormat $traiteFormat;
  1534.         return $this;
  1535.     }
  1536.     /**
  1537.      * Get traiteFormat.
  1538.      *
  1539.      * @return bool|null
  1540.      */
  1541.     public function getTraiteFormat()
  1542.     {
  1543.         return $this->traiteFormat;
  1544.     }
  1545.     /**
  1546.      * Set conversionLocal.
  1547.      *
  1548.      * @param bool $conversionLocal
  1549.      *
  1550.      * @return Multimedias
  1551.      */
  1552.     public function setConversionLocal($conversionLocal)
  1553.     {
  1554.         $this->conversionLocal $conversionLocal;
  1555.         return $this;
  1556.     }
  1557.     /**
  1558.      * Get conversionLocal.
  1559.      *
  1560.      * @return bool
  1561.      */
  1562.     public function getConversionLocal()
  1563.     {
  1564.         return $this->conversionLocal;
  1565.     }
  1566.     /**
  1567.      * Set type.
  1568.      *
  1569.      * @param \Typesmultimedias|null $type
  1570.      *
  1571.      * @return Multimedias
  1572.      */
  1573.     public function setType(Typesmultimedias $type null)
  1574.     {
  1575.         $this->type $type;
  1576.         return $this;
  1577.     }
  1578.     /**
  1579.      * Get type.
  1580.      *
  1581.      * @return \Typesmultimedias|null
  1582.      */
  1583.     public function getType()
  1584.     {
  1585.         return $this->type;
  1586.     }
  1587.     /**
  1588.      * Set idextranetuser.
  1589.      *
  1590.      * @param \Extranetusers|null $idextranetuser
  1591.      *
  1592.      * @return Multimedias
  1593.      */
  1594.     public function setIdextranetuser(Extranetusers $idextranetuser null)
  1595.     {
  1596.         $this->idextranetuser $idextranetuser;
  1597.         return $this;
  1598.     }
  1599.     /**
  1600.      * Get idextranetuser.
  1601.      *
  1602.      * @return \Extranetusers|null
  1603.      */
  1604.     public function getIdextranetuser()
  1605.     {
  1606.         return $this->idextranetuser;
  1607.     }
  1608.     /**
  1609.      * Set idcontactProducteur.
  1610.      *
  1611.      * @param \Contacts|null $idcontactProducteur
  1612.      *
  1613.      * @return Multimedias
  1614.      */
  1615.     public function setIdcontactProducteur(Contacts $idcontactProducteur null)
  1616.     {
  1617.         $this->idcontactProducteur $idcontactProducteur;
  1618.         return $this;
  1619.     }
  1620.     /**
  1621.      * Get idcontactProducteur.
  1622.      *
  1623.      * @return \Contacts|null
  1624.      */
  1625.     public function getIdcontactProducteur()
  1626.     {
  1627.         return $this->idcontactProducteur;
  1628.     }
  1629.     /**
  1630.      * Add iddvd.
  1631.      *
  1632.      * @param \Dvds $iddvd
  1633.      *
  1634.      * @return Multimedias
  1635.      */
  1636.     public function addIddvd(Dvds $iddvd)
  1637.     {
  1638.         $this->iddvd[] = $iddvd;
  1639.         return $this;
  1640.     }
  1641.     /**
  1642.      * Remove iddvd.
  1643.      *
  1644.      * @param \Dvds $iddvd
  1645.      *
  1646.      * @return boolean TRUE if this collection contained the specified element, FALSE otherwise.
  1647.      */
  1648.     public function removeIddvd(Dvds $iddvd)
  1649.     {
  1650.         return $this->iddvd->removeElement($iddvd);
  1651.     }
  1652.     /**
  1653.      * Get iddvd.
  1654.      *
  1655.      * @return \Doctrine\Common\Collections\Collection
  1656.      */
  1657.     public function getIddvd()
  1658.     {
  1659.         return $this->iddvd;
  1660.     }
  1661.     /**
  1662.      * Add idclassification.
  1663.      *
  1664.      * @param \Classifications $idclassification
  1665.      *
  1666.      * @return Multimedias
  1667.      */
  1668.     public function addIdclassification(Classifications $idclassification)
  1669.     {
  1670.         $this->idclassification[] = $idclassification;
  1671.         return $this;
  1672.     }
  1673.     /**
  1674.      * Remove idclassification.
  1675.      *
  1676.      * @param \Classifications $idclassification
  1677.      *
  1678.      * @return boolean TRUE if this collection contained the specified element, FALSE otherwise.
  1679.      */
  1680.     public function removeIdclassification(Classifications $idclassification)
  1681.     {
  1682.         return $this->idclassification->removeElement($idclassification);
  1683.     }
  1684.     /**
  1685.      * Get idclassification.
  1686.      *
  1687.      * @return \Doctrine\Common\Collections\Collection
  1688.      */
  1689.     public function getIdclassification()
  1690.     {
  1691.         return $this->idclassification;
  1692.     }
  1693.     /**
  1694.      * Add idkeyword.
  1695.      *
  1696.      * @param \Keywords $idkeyword
  1697.      *
  1698.      * @return Multimedias
  1699.      */
  1700.     public function addIdkeyword(Keywords $idkeyword)
  1701.     {
  1702.         $this->idkeyword[] = $idkeyword;
  1703.         return $this;
  1704.     }
  1705.     /**
  1706.      * Remove idkeyword.
  1707.      *
  1708.      * @param \Keywords $idkeyword
  1709.      *
  1710.      * @return boolean TRUE if this collection contained the specified element, FALSE otherwise.
  1711.      */
  1712.     public function removeIdkeyword(Keywords $idkeyword)
  1713.     {
  1714.         return $this->idkeyword->removeElement($idkeyword);
  1715.     }
  1716.     /**
  1717.      * Get idkeyword.
  1718.      *
  1719.      * @return \Doctrine\Common\Collections\Collection
  1720.      */
  1721.     public function getIdkeyword()
  1722.     {
  1723.         return $this->idkeyword;
  1724.     }
  1725.     /**
  1726.      * Add idplaylist.
  1727.      *
  1728.      * @param \Playlists $idplaylist
  1729.      *
  1730.      * @return Multimedias
  1731.      */
  1732.     public function addIdplaylist(Playlists $idplaylist)
  1733.     {
  1734.         $this->idplaylist[] = $idplaylist;
  1735.         return $this;
  1736.     }
  1737.     /**
  1738.      * Remove idplaylist.
  1739.      *
  1740.      * @param \Playlists $idplaylist
  1741.      *
  1742.      * @return boolean TRUE if this collection contained the specified element, FALSE otherwise.
  1743.      */
  1744.     public function removeIdplaylist(Playlists $idplaylist)
  1745.     {
  1746.         return $this->idplaylist->removeElement($idplaylist);
  1747.     }
  1748.     /**
  1749.      * Get idplaylist.
  1750.      *
  1751.      * @return \Doctrine\Common\Collections\Collection
  1752.      */
  1753.     public function getIdplaylist()
  1754.     {
  1755.         return $this->idplaylist;
  1756.     }
  1757.     /**
  1758.      * Add idspectacle.
  1759.      *
  1760.      * @param \Playlists $$this->idspectacle
  1761.      *
  1762.      * @return Multimedias
  1763.      */
  1764.     public function addIdspectacle(Spectacles $idspectacle)
  1765.     {
  1766.         $this->idspectacle[] = $idspectacle;
  1767.         return $this;
  1768.     }
  1769.     /**
  1770.      * Remove idspectacle.
  1771.      *
  1772.      * @param \Playlists $this->idspectacle
  1773.      *
  1774.      * @return boolean TRUE if this collection contained the specified element, FALSE otherwise.
  1775.      */
  1776.     public function removeIdspectacle(Spectacles $idspectacle)
  1777.     {
  1778.         return $this->idspectacle->removeElement($idspectacle);
  1779.     }
  1780.     /**
  1781.      * Get idspectacle.
  1782.      *
  1783.      * @return \Doctrine\Common\Collections\Collection
  1784.      */
  1785.     public function getIdspectacle()
  1786.     {
  1787.         return $this->idspectacle;
  1788.     }
  1789.     //start
  1790.     /**
  1791.      * Add multimediaExtranetuser.
  1792.      *
  1793.      * @param \Playlists $$this->multimediaExtranetuser
  1794.      *
  1795.      * @return Multimedias
  1796.      */
  1797.     public function addMultimediaExtranetuser(Multimedias $multimediaExtranetuser)
  1798.     {
  1799.         $this->multimediaExtranetuser[] = $multimediaExtranetuser;
  1800.         return $this;
  1801.     }
  1802.     /**
  1803.      * Remove multimediaExtranetuser.
  1804.      *
  1805.      * @param \Playlists $this->multimediaExtranetuser
  1806.      *
  1807.      * @return boolean TRUE if this collection contained the specified element, FALSE otherwise.
  1808.      */
  1809.     public function removeMultimediaExtranetuser(Multimedias $multimediaExtranetuser)
  1810.     {
  1811.         return $this->multimediaExtranetuser->removeElement($multimediaExtranetuser);
  1812.     }
  1813.     /**
  1814.      * Get multimediaExtranetuser.
  1815.      *
  1816.      * @return \Doctrine\Common\Collections\Collection
  1817.      */
  1818.     public function getMultimediaExtranetuser()
  1819.     {
  1820.         return $this->multimediaExtranetuser;
  1821.     }
  1822.     //endstart
  1823.     public function __toString() {
  1824.         return $this->sujetTitre;
  1825.     }
  1826. }