-
-
Save mediashowroom/715f3881a57cdd8a7d23 to your computer and use it in GitHub Desktop.
ABTexte-Entity
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace xxx\yyyBundle\Entity; | |
use Doctrine\ORM\Mapping as ORM; | |
use Symfony\Component\Security\Acl\Model\DomainObjectInterface; | |
/** | |
* \xxx\yyyBundle\Entity\ABTexte | |
*/ | |
class ABTexte implements DomainObjectInterface | |
{ | |
/** | |
* @var integer $OID | |
*/ | |
private $OID; | |
/** | |
* @var string $Text | |
*/ | |
private $Text; | |
/** | |
* @var integer $Nr | |
*/ | |
private $Nr; | |
/** | |
* Set OID | |
* | |
* @param integer $oID | |
* @return ABTexte | |
*/ | |
public function setOID($oID) | |
{ | |
$this->OID = $oID; | |
return $this; | |
} | |
/** | |
* Get OID | |
* | |
* @return integer | |
*/ | |
public function getOID() | |
{ | |
return $this->OID; | |
} | |
/** | |
* Set Text | |
* | |
* @param string $text | |
* @return ABTexte | |
*/ | |
public function setText($text) | |
{ | |
$this->Text = $text; | |
return $this; | |
} | |
/** | |
* Get Text | |
* | |
* @return string | |
*/ | |
public function getText() | |
{ | |
return $this->Text; | |
} | |
/** | |
* Set Nr | |
* | |
* @param integer $nr | |
* @return ABTexte | |
*/ | |
public function setNr($nr) | |
{ | |
$this->Nr = $nr; | |
return $this; | |
} | |
/** | |
* Get Nr | |
* | |
* @return integer | |
*/ | |
public function getNr() | |
{ | |
return $this->Nr; | |
} | |
/** | |
* @var \xxx\yyyBundle\Entity\ABKopf | |
*/ | |
private $ABKopf; | |
/** | |
* Set ABKopf | |
* | |
* @param \xxx\yyyBundle\Entity\ABKopf $aBKopf | |
* @return ABTexte | |
*/ | |
public function setABKopf(\xxx\yyyBundle\Entity\ABKopf $aBKopf = null) | |
{ | |
$this->ABKopf = $aBKopf; | |
return $this; | |
} | |
/** | |
* Get ABKopf | |
* | |
* @return \xxx\yyyBundle\Entity\ABKopf | |
*/ | |
public function getABKopf() | |
{ | |
return $this->ABKopf; | |
} | |
/** | |
* Constructor | |
*/ | |
public function __construct() | |
{ | |
$this->ABKopf = new \Doctrine\Common\Collections\ArrayCollection(); | |
} | |
/** | |
* Add ABKopf | |
* | |
* @param \xxx\yyyBundle\Entity\ABKopf $aBKopf | |
* @return ABTexte | |
*/ | |
public function addABKopf(\xxx\yyyBundle\Entity\ABKopf $aBKopf) | |
{ | |
$this->ABKopf[] = $aBKopf; | |
return $this; | |
} | |
/** | |
* Remove ABKopf | |
* | |
* @param \xxx\yyyBundle\Entity\ABKopf $aBKopf | |
*/ | |
public function removeABKopf(\xxx\yyyBundle\Entity\ABKopf $aBKopf) | |
{ | |
$this->ABKopf->removeElement($aBKopf); | |
} | |
public function getObjectIdentifier() { | |
return $this->Nr; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment