Gina Next Generation
 All Classes Namespaces Files Functions Variables
Link.php
Go to the documentation of this file.
00001 <?php
00002 
00003 namespace Etrali\GinangBundle\Entity;
00004 
00005 use Doctrine\ORM\Mapping as ORM;
00006 
00007 /**
00008  * Link
00009  *
00010  * @ORM\Table(name="link")
00011  * @ORM\Entity
00012  */
00013 class Link
00014 {
00015     /**
00016      * @var integer
00017      *
00018      * @ORM\Column(name="id_link", type="integer", nullable=false)
00019      * @ORM\Id
00020      * @ORM\GeneratedValue(strategy="IDENTITY")
00021      */
00022     private $idLink;
00023 
00024     /**
00025      * @var string
00026      *
00027      * @ORM\Column(name="cd_link", type="string", length=15, nullable=true)
00028      */
00029     private $cdLink;
00030 
00031     /**
00032      * @var string
00033      *
00034      * @ORM\Column(name="lb_link", type="string", length=100, nullable=true)
00035      */
00036     private $lbLink;
00037 
00038     /**
00039      * @var string
00040      *
00041      * @ORM\Column(name="cd_link_reference", type="string", length=45, nullable=true)
00042      */
00043     private $cdLinkReference;
00044 
00045     /**
00046      * @var string
00047      *
00048      * @ORM\Column(name="cd_link_reference_b", type="string", length=15, nullable=true)
00049      */
00050     private $cdLinkReferenceB;
00051 
00052     /**
00053      * @var float
00054      *
00055      * @ORM\Column(name="nb_bandwidth", type="decimal", nullable=true)
00056      */
00057     private $nbBandwidth;
00058 
00059     /**
00060      * @var \DateTime
00061      *
00062      * @ORM\Column(name="dt_start", type="datetime", nullable=true)
00063      */
00064     private $dtStart;
00065 
00066     /**
00067      * @var \DateTime
00068      *
00069      * @ORM\Column(name="dt_end", type="datetime", nullable=true)
00070      */
00071     private $dtEnd;
00072 
00073     /**
00074      * @var string
00075      *
00076      * @ORM\Column(name="bl_standby", type="string", length=255, nullable=true)
00077      */
00078     private $blStandby;
00079 
00080     /**
00081      * @var string
00082      *
00083      * @ORM\Column(name="bl_connected", type="string", length=255, nullable=true)
00084      */
00085     private $blConnected;
00086 
00087     /**
00088      * @var boolean
00089      *
00090      * @ORM\Column(name="bl_deactivated", type="boolean", nullable=true)
00091      */
00092     private $blDeactivated;
00093 
00094     /**
00095      * @var \DateTime
00096      *
00097      * @ORM\Column(name="dt_create", type="datetime", nullable=true)
00098      */
00099     private $dtCreate;
00100 
00101     /**
00102      * @var \DateTime
00103      *
00104      * @ORM\Column(name="dt_update", type="datetime", nullable=true)
00105      */
00106     private $dtUpdate;
00107 
00108     /**
00109      * @var integer
00110      *
00111      * @ORM\Column(name="nb_ts_a", type="integer", nullable=true)
00112      */
00113     private $nbTsA;
00114 
00115     /**
00116      * @var integer
00117      *
00118      * @ORM\Column(name="nb_ts_b", type="integer", nullable=true)
00119      */
00120     private $nbTsB;
00121 
00122     /**
00123      * @var boolean
00124      *
00125      * @ORM\Column(name="bl_link_ts", type="boolean", nullable=true)
00126      */
00127     private $blLinkTs;
00128 
00129     /**
00130      * @var \User
00131      *
00132      * @ORM\ManyToOne(targetEntity="User")
00133      * @ORM\JoinColumns({
00134      *   @ORM\JoinColumn(name="id_user_create_by", referencedColumnName="id_user")
00135      * })
00136      */
00137     private $idUserCreateBy;
00138 
00139     /**
00140      * @var \Cable
00141      *
00142      * @ORM\ManyToOne(targetEntity="Cable")
00143      * @ORM\JoinColumns({
00144      *   @ORM\JoinColumn(name="id_cable", referencedColumnName="id_cable")
00145      * })
00146      */
00147     private $idCable;
00148 
00149     /**
00150      * @var \Access
00151      *
00152      * @ORM\ManyToOne(targetEntity="Access")
00153      * @ORM\JoinColumns({
00154      *   @ORM\JoinColumn(name="id_access", referencedColumnName="id_access")
00155      * })
00156      */
00157     private $idAccess;
00158 
00159     /**
00160      * @var \Port
00161      *
00162      * @ORM\ManyToOne(targetEntity="Port")
00163      * @ORM\JoinColumns({
00164      *   @ORM\JoinColumn(name="id_port_1", referencedColumnName="id_port")
00165      * })
00166      */
00167     private $idPort1;
00168 
00169     /**
00170      * @var \Port
00171      *
00172      * @ORM\ManyToOne(targetEntity="Port")
00173      * @ORM\JoinColumns({
00174      *   @ORM\JoinColumn(name="id_port_2", referencedColumnName="id_port")
00175      * })
00176      */
00177     private $idPort2;
00178 
00179     /**
00180      * @var \Link
00181      *
00182      * @ORM\ManyToOne(targetEntity="Link")
00183      * @ORM\JoinColumns({
00184      *   @ORM\JoinColumn(name="id_link_groomed", referencedColumnName="id_link")
00185      * })
00186      */
00187     private $idLinkGroomed;
00188 
00189     /**
00190      * @var \Ts
00191      *
00192      * @ORM\ManyToOne(targetEntity="Ts")
00193      * @ORM\JoinColumns({
00194      *   @ORM\JoinColumn(name="id_ts_a", referencedColumnName="id_ts")
00195      * })
00196      */
00197     private $idTsA;
00198 
00199     /**
00200      * @var \Ts
00201      *
00202      * @ORM\ManyToOne(targetEntity="Ts")
00203      * @ORM\JoinColumns({
00204      *   @ORM\JoinColumn(name="id_ts_b", referencedColumnName="id_ts")
00205      * })
00206      */
00207     private $idTsB;
00208 
00209     /**
00210      * @var \User
00211      *
00212      * @ORM\ManyToOne(targetEntity="User")
00213      * @ORM\JoinColumns({
00214      *   @ORM\JoinColumn(name="id_user_update_by", referencedColumnName="id_user")
00215      * })
00216      */
00217     private $idUserUpdateBy;
00218 
00219     /**
00220      * @var \LinkType
00221      *
00222      * @ORM\ManyToOne(targetEntity="LinkType")
00223      * @ORM\JoinColumns({
00224      *   @ORM\JoinColumn(name="id_link_type", referencedColumnName="id_link_type")
00225      * })
00226      */
00227     private $idLinkType;
00228 
00229     /**
00230      * @var \LinkFunction
00231      *
00232      * @ORM\ManyToOne(targetEntity="LinkFunction")
00233      * @ORM\JoinColumns({
00234      *   @ORM\JoinColumn(name="id_link_function", referencedColumnName="id_link_function")
00235      * })
00236      */
00237     private $idLinkFunction;
00238 
00239     /**
00240      * @var \LinkProtocol
00241      *
00242      * @ORM\ManyToOne(targetEntity="LinkProtocol")
00243      * @ORM\JoinColumns({
00244      *   @ORM\JoinColumn(name="id_link_protocol", referencedColumnName="id_link_protocol")
00245      * })
00246      */
00247     private $idLinkProtocol;
00248 
00249     /**
00250      * @var \Provider
00251      *
00252      * @ORM\ManyToOne(targetEntity="Provider")
00253      * @ORM\JoinColumns({
00254      *   @ORM\JoinColumn(name="id_provider", referencedColumnName="id_provider")
00255      * })
00256      */
00257     private $idProvider;
00258 
00259     /**
00260      * @var \Branch
00261      *
00262      * @ORM\ManyToOne(targetEntity="Branch")
00263      * @ORM\JoinColumns({
00264      *   @ORM\JoinColumn(name="id_branch", referencedColumnName="id_branch")
00265      * })
00266      */
00267     private $idBranch;
00268 
00269 
00270 
00271     /**
00272      * Get idLink
00273      *
00274      * @return integer 
00275      */
00276     public function getIdLink()
00277     {
00278         return $this->idLink;
00279     }
00280 
00281     /**
00282      * Set cdLink
00283      *
00284      * @param string $cdLink
00285      * @return Link
00286      */
00287     public function setCdLink($cdLink)
00288     {
00289         $this->cdLink = $cdLink;
00290     
00291         return $this;
00292     }
00293 
00294     /**
00295      * Get cdLink
00296      *
00297      * @return string 
00298      */
00299     public function getCdLink()
00300     {
00301         return $this->cdLink;
00302     }
00303 
00304     /**
00305      * Set lbLink
00306      *
00307      * @param string $lbLink
00308      * @return Link
00309      */
00310     public function setLbLink($lbLink)
00311     {
00312         $this->lbLink = $lbLink;
00313     
00314         return $this;
00315     }
00316 
00317     /**
00318      * Get lbLink
00319      *
00320      * @return string 
00321      */
00322     public function getLbLink()
00323     {
00324         return $this->lbLink;
00325     }
00326 
00327     /**
00328      * Set cdLinkReference
00329      *
00330      * @param string $cdLinkReference
00331      * @return Link
00332      */
00333     public function setCdLinkReference($cdLinkReference)
00334     {
00335         $this->cdLinkReference = $cdLinkReference;
00336     
00337         return $this;
00338     }
00339 
00340     /**
00341      * Get cdLinkReference
00342      *
00343      * @return string 
00344      */
00345     public function getCdLinkReference()
00346     {
00347         return $this->cdLinkReference;
00348     }
00349 
00350     /**
00351      * Set cdLinkReferenceB
00352      *
00353      * @param string $cdLinkReferenceB
00354      * @return Link
00355      */
00356     public function setCdLinkReferenceB($cdLinkReferenceB)
00357     {
00358         $this->cdLinkReferenceB = $cdLinkReferenceB;
00359     
00360         return $this;
00361     }
00362 
00363     /**
00364      * Get cdLinkReferenceB
00365      *
00366      * @return string 
00367      */
00368     public function getCdLinkReferenceB()
00369     {
00370         return $this->cdLinkReferenceB;
00371     }
00372 
00373     /**
00374      * Set nbBandwidth
00375      *
00376      * @param float $nbBandwidth
00377      * @return Link
00378      */
00379     public function setNbBandwidth($nbBandwidth)
00380     {
00381         $this->nbBandwidth = $nbBandwidth;
00382     
00383         return $this;
00384     }
00385 
00386     /**
00387      * Get nbBandwidth
00388      *
00389      * @return float 
00390      */
00391     public function getNbBandwidth()
00392     {
00393         return $this->nbBandwidth;
00394     }
00395 
00396     /**
00397      * Set dtStart
00398      *
00399      * @param \DateTime $dtStart
00400      * @return Link
00401      */
00402     public function setDtStart($dtStart)
00403     {
00404         $this->dtStart = $dtStart;
00405     
00406         return $this;
00407     }
00408 
00409     /**
00410      * Get dtStart
00411      *
00412      * @return \DateTime 
00413      */
00414     public function getDtStart()
00415     {
00416         return $this->dtStart;
00417     }
00418 
00419     /**
00420      * Set dtEnd
00421      *
00422      * @param \DateTime $dtEnd
00423      * @return Link
00424      */
00425     public function setDtEnd($dtEnd)
00426     {
00427         $this->dtEnd = $dtEnd;
00428     
00429         return $this;
00430     }
00431 
00432     /**
00433      * Get dtEnd
00434      *
00435      * @return \DateTime 
00436      */
00437     public function getDtEnd()
00438     {
00439         return $this->dtEnd;
00440     }
00441 
00442     /**
00443      * Set blStandby
00444      *
00445      * @param string $blStandby
00446      * @return Link
00447      */
00448     public function setBlStandby($blStandby)
00449     {
00450         $this->blStandby = $blStandby;
00451     
00452         return $this;
00453     }
00454 
00455     /**
00456      * Get blStandby
00457      *
00458      * @return string 
00459      */
00460     public function getBlStandby()
00461     {
00462         return $this->blStandby;
00463     }
00464 
00465     /**
00466      * Set blConnected
00467      *
00468      * @param string $blConnected
00469      * @return Link
00470      */
00471     public function setBlConnected($blConnected)
00472     {
00473         $this->blConnected = $blConnected;
00474     
00475         return $this;
00476     }
00477 
00478     /**
00479      * Get blConnected
00480      *
00481      * @return string 
00482      */
00483     public function getBlConnected()
00484     {
00485         return $this->blConnected;
00486     }
00487 
00488     /**
00489      * Set blDeactivated
00490      *
00491      * @param boolean $blDeactivated
00492      * @return Link
00493      */
00494     public function setBlDeactivated($blDeactivated)
00495     {
00496         $this->blDeactivated = $blDeactivated;
00497     
00498         return $this;
00499     }
00500 
00501     /**
00502      * Get blDeactivated
00503      *
00504      * @return boolean 
00505      */
00506     public function getBlDeactivated()
00507     {
00508         return $this->blDeactivated;
00509     }
00510 
00511     /**
00512      * Set dtCreate
00513      *
00514      * @param \DateTime $dtCreate
00515      * @return Link
00516      */
00517     public function setDtCreate($dtCreate)
00518     {
00519         $this->dtCreate = $dtCreate;
00520     
00521         return $this;
00522     }
00523 
00524     /**
00525      * Get dtCreate
00526      *
00527      * @return \DateTime 
00528      */
00529     public function getDtCreate()
00530     {
00531         return $this->dtCreate;
00532     }
00533 
00534     /**
00535      * Set dtUpdate
00536      *
00537      * @param \DateTime $dtUpdate
00538      * @return Link
00539      */
00540     public function setDtUpdate($dtUpdate)
00541     {
00542         $this->dtUpdate = $dtUpdate;
00543     
00544         return $this;
00545     }
00546 
00547     /**
00548      * Get dtUpdate
00549      *
00550      * @return \DateTime 
00551      */
00552     public function getDtUpdate()
00553     {
00554         return $this->dtUpdate;
00555     }
00556 
00557     /**
00558      * Set nbTsA
00559      *
00560      * @param integer $nbTsA
00561      * @return Link
00562      */
00563     public function setNbTsA($nbTsA)
00564     {
00565         $this->nbTsA = $nbTsA;
00566     
00567         return $this;
00568     }
00569 
00570     /**
00571      * Get nbTsA
00572      *
00573      * @return integer 
00574      */
00575     public function getNbTsA()
00576     {
00577         return $this->nbTsA;
00578     }
00579 
00580     /**
00581      * Set nbTsB
00582      *
00583      * @param integer $nbTsB
00584      * @return Link
00585      */
00586     public function setNbTsB($nbTsB)
00587     {
00588         $this->nbTsB = $nbTsB;
00589     
00590         return $this;
00591     }
00592 
00593     /**
00594      * Get nbTsB
00595      *
00596      * @return integer 
00597      */
00598     public function getNbTsB()
00599     {
00600         return $this->nbTsB;
00601     }
00602 
00603     /**
00604      * Set blLinkTs
00605      *
00606      * @param boolean $blLinkTs
00607      * @return Link
00608      */
00609     public function setBlLinkTs($blLinkTs)
00610     {
00611         $this->blLinkTs = $blLinkTs;
00612     
00613         return $this;
00614     }
00615 
00616     /**
00617      * Get blLinkTs
00618      *
00619      * @return boolean 
00620      */
00621     public function getBlLinkTs()
00622     {
00623         return $this->blLinkTs;
00624     }
00625 
00626     /**
00627      * Set idUserCreateBy
00628      *
00629      * @param \Etrali\GinangBundle\Entity\User $idUserCreateBy
00630      * @return Link
00631      */
00632     public function setIdUserCreateBy(\Etrali\GinangBundle\Entity\User $idUserCreateBy = null)
00633     {
00634         $this->idUserCreateBy = $idUserCreateBy;
00635     
00636         return $this;
00637     }
00638 
00639     /**
00640      * Get idUserCreateBy
00641      *
00642      * @return \Etrali\GinangBundle\Entity\User 
00643      */
00644     public function getIdUserCreateBy()
00645     {
00646         return $this->idUserCreateBy;
00647     }
00648 
00649     /**
00650      * Set idCable
00651      *
00652      * @param \Etrali\GinangBundle\Entity\Cable $idCable
00653      * @return Link
00654      */
00655     public function setIdCable(\Etrali\GinangBundle\Entity\Cable $idCable = null)
00656     {
00657         $this->idCable = $idCable;
00658     
00659         return $this;
00660     }
00661 
00662     /**
00663      * Get idCable
00664      *
00665      * @return \Etrali\GinangBundle\Entity\Cable 
00666      */
00667     public function getIdCable()
00668     {
00669         return $this->idCable;
00670     }
00671 
00672     /**
00673      * Set idAccess
00674      *
00675      * @param \Etrali\GinangBundle\Entity\Access $idAccess
00676      * @return Link
00677      */
00678     public function setIdAccess(\Etrali\GinangBundle\Entity\Access $idAccess = null)
00679     {
00680         $this->idAccess = $idAccess;
00681     
00682         return $this;
00683     }
00684 
00685     /**
00686      * Get idAccess
00687      *
00688      * @return \Etrali\GinangBundle\Entity\Access 
00689      */
00690     public function getIdAccess()
00691     {
00692         return $this->idAccess;
00693     }
00694 
00695     /**
00696      * Set idPort1
00697      *
00698      * @param \Etrali\GinangBundle\Entity\Port $idPort1
00699      * @return Link
00700      */
00701     public function setIdPort1(\Etrali\GinangBundle\Entity\Port $idPort1 = null)
00702     {
00703         $this->idPort1 = $idPort1;
00704     
00705         return $this;
00706     }
00707 
00708     /**
00709      * Get idPort1
00710      *
00711      * @return \Etrali\GinangBundle\Entity\Port 
00712      */
00713     public function getIdPort1()
00714     {
00715         return $this->idPort1;
00716     }
00717 
00718     /**
00719      * Set idPort2
00720      *
00721      * @param \Etrali\GinangBundle\Entity\Port $idPort2
00722      * @return Link
00723      */
00724     public function setIdPort2(\Etrali\GinangBundle\Entity\Port $idPort2 = null)
00725     {
00726         $this->idPort2 = $idPort2;
00727     
00728         return $this;
00729     }
00730 
00731     /**
00732      * Get idPort2
00733      *
00734      * @return \Etrali\GinangBundle\Entity\Port 
00735      */
00736     public function getIdPort2()
00737     {
00738         return $this->idPort2;
00739     }
00740 
00741     /**
00742      * Set idLinkGroomed
00743      *
00744      * @param \Etrali\GinangBundle\Entity\Link $idLinkGroomed
00745      * @return Link
00746      */
00747     public function setIdLinkGroomed(\Etrali\GinangBundle\Entity\Link $idLinkGroomed = null)
00748     {
00749         $this->idLinkGroomed = $idLinkGroomed;
00750     
00751         return $this;
00752     }
00753 
00754     /**
00755      * Get idLinkGroomed
00756      *
00757      * @return \Etrali\GinangBundle\Entity\Link 
00758      */
00759     public function getIdLinkGroomed()
00760     {
00761         return $this->idLinkGroomed;
00762     }
00763 
00764     /**
00765      * Set idTsA
00766      *
00767      * @param \Etrali\GinangBundle\Entity\Ts $idTsA
00768      * @return Link
00769      */
00770     public function setIdTsA(\Etrali\GinangBundle\Entity\Ts $idTsA = null)
00771     {
00772         $this->idTsA = $idTsA;
00773     
00774         return $this;
00775     }
00776 
00777     /**
00778      * Get idTsA
00779      *
00780      * @return \Etrali\GinangBundle\Entity\Ts 
00781      */
00782     public function getIdTsA()
00783     {
00784         return $this->idTsA;
00785     }
00786 
00787     /**
00788      * Set idTsB
00789      *
00790      * @param \Etrali\GinangBundle\Entity\Ts $idTsB
00791      * @return Link
00792      */
00793     public function setIdTsB(\Etrali\GinangBundle\Entity\Ts $idTsB = null)
00794     {
00795         $this->idTsB = $idTsB;
00796     
00797         return $this;
00798     }
00799 
00800     /**
00801      * Get idTsB
00802      *
00803      * @return \Etrali\GinangBundle\Entity\Ts 
00804      */
00805     public function getIdTsB()
00806     {
00807         return $this->idTsB;
00808     }
00809 
00810     /**
00811      * Set idUserUpdateBy
00812      *
00813      * @param \Etrali\GinangBundle\Entity\User $idUserUpdateBy
00814      * @return Link
00815      */
00816     public function setIdUserUpdateBy(\Etrali\GinangBundle\Entity\User $idUserUpdateBy = null)
00817     {
00818         $this->idUserUpdateBy = $idUserUpdateBy;
00819     
00820         return $this;
00821     }
00822 
00823     /**
00824      * Get idUserUpdateBy
00825      *
00826      * @return \Etrali\GinangBundle\Entity\User 
00827      */
00828     public function getIdUserUpdateBy()
00829     {
00830         return $this->idUserUpdateBy;
00831     }
00832 
00833     /**
00834      * Set idLinkType
00835      *
00836      * @param \Etrali\GinangBundle\Entity\LinkType $idLinkType
00837      * @return Link
00838      */
00839     public function setIdLinkType(\Etrali\GinangBundle\Entity\LinkType $idLinkType = null)
00840     {
00841         $this->idLinkType = $idLinkType;
00842     
00843         return $this;
00844     }
00845 
00846     /**
00847      * Get idLinkType
00848      *
00849      * @return \Etrali\GinangBundle\Entity\LinkType 
00850      */
00851     public function getIdLinkType()
00852     {
00853         return $this->idLinkType;
00854     }
00855 
00856     /**
00857      * Set idLinkFunction
00858      *
00859      * @param \Etrali\GinangBundle\Entity\LinkFunction $idLinkFunction
00860      * @return Link
00861      */
00862     public function setIdLinkFunction(\Etrali\GinangBundle\Entity\LinkFunction $idLinkFunction = null)
00863     {
00864         $this->idLinkFunction = $idLinkFunction;
00865     
00866         return $this;
00867     }
00868 
00869     /**
00870      * Get idLinkFunction
00871      *
00872      * @return \Etrali\GinangBundle\Entity\LinkFunction 
00873      */
00874     public function getIdLinkFunction()
00875     {
00876         return $this->idLinkFunction;
00877     }
00878 
00879     /**
00880      * Set idLinkProtocol
00881      *
00882      * @param \Etrali\GinangBundle\Entity\LinkProtocol $idLinkProtocol
00883      * @return Link
00884      */
00885     public function setIdLinkProtocol(\Etrali\GinangBundle\Entity\LinkProtocol $idLinkProtocol = null)
00886     {
00887         $this->idLinkProtocol = $idLinkProtocol;
00888     
00889         return $this;
00890     }
00891 
00892     /**
00893      * Get idLinkProtocol
00894      *
00895      * @return \Etrali\GinangBundle\Entity\LinkProtocol 
00896      */
00897     public function getIdLinkProtocol()
00898     {
00899         return $this->idLinkProtocol;
00900     }
00901 
00902     /**
00903      * Set idProvider
00904      *
00905      * @param \Etrali\GinangBundle\Entity\Provider $idProvider
00906      * @return Link
00907      */
00908     public function setIdProvider(\Etrali\GinangBundle\Entity\Provider $idProvider = null)
00909     {
00910         $this->idProvider = $idProvider;
00911     
00912         return $this;
00913     }
00914 
00915     /**
00916      * Get idProvider
00917      *
00918      * @return \Etrali\GinangBundle\Entity\Provider 
00919      */
00920     public function getIdProvider()
00921     {
00922         return $this->idProvider;
00923     }
00924 
00925     /**
00926      * Set idBranch
00927      *
00928      * @param \Etrali\GinangBundle\Entity\Branch $idBranch
00929      * @return Link
00930      */
00931     public function setIdBranch(\Etrali\GinangBundle\Entity\Branch $idBranch = null)
00932     {
00933         $this->idBranch = $idBranch;
00934     
00935         return $this;
00936     }
00937 
00938     /**
00939      * Get idBranch
00940      *
00941      * @return \Etrali\GinangBundle\Entity\Branch 
00942      */
00943     public function getIdBranch()
00944     {
00945         return $this->idBranch;
00946     }
00947 }
 All Classes Namespaces Files Functions Variables