PHP Class PartKeepr\ProjectBundle\Entity\ProjectPart

Inheritance: extends PartKeepr\CoreBundle\Entity\BaseEntity
Show file Open project: partkeepr/PartKeepr Class Usage Examples

Public Methods

Method Description
getPart ( ) : Part Returns the part which belongs to this entry.
getProject ( ) : Project Returns the project assigned to this entry.
getQuantity ( ) : integer Returns the quantity for this project.
getRemarks ( ) : string Returns the remarks for this entry.
setPart ( Part $part ) Sets the part which belongs to this entry.
setProject ( Project $project = null ) Sets the project assigned to this entry.
setQuantity ( integer $quantity ) Sets the quantity for this entry.
setRemarks ( string $remarks ) Sets the remarks for this entry.

Method Details

getPart() public method

Returns the part which belongs to this entry.
public getPart ( ) : Part
return PartKeepr\PartBundle\Entity\Part

getProject() public method

Returns the project assigned to this entry.
public getProject ( ) : Project
return Project

getQuantity() public method

Returns the quantity for this project.
public getQuantity ( ) : integer
return integer the amount of parts needed

getRemarks() public method

Returns the remarks for this entry.
public getRemarks ( ) : string
return string

setPart() public method

Sets the part which belongs to this entry.
public setPart ( Part $part )
$part PartKeepr\PartBundle\Entity\Part

setProject() public method

Sets the project assigned to this entry.
public setProject ( Project $project = null )
$project Project

setQuantity() public method

Sets the quantity for this entry.
public setQuantity ( integer $quantity )
$quantity integer

setRemarks() public method

Sets the remarks for this entry.
public setRemarks ( string $remarks )
$remarks string