PHP 클래스 PartKeepr\StatisticBundle\Entity\StatisticSnapshotUnit

파일 보기 프로젝트 열기: partkeepr/PartKeepr 1 사용 예제들

공개 메소드들

메소드 설명
getId ( ) : integer Returns the ID of this statistic snapshot unit.
getPartUnit ( ) : PartMeasurementUnit Returns the part unit for this entity.
getStatisticSnapshot ( ) : StatisticSnapshot Returns the snapshot this entity belongs to.
getStockLevel ( ) : integer Returns the stock level for this unit snapshot.
setPartUnit ( PartMeasurementUnit $unit ) Sets the part unit for this entity.
setStatisticSnapshot ( StatisticSnapshot $snapshot ) Sets the statistic snapshot this entity belongs to.
setStockLevel ( integer $stockLevel ) Sets the stock level for this unit snapshot.

메소드 상세

getId() 공개 메소드

Returns the ID of this statistic snapshot unit.
public getId ( ) : integer
리턴 integer The ID

getPartUnit() 공개 메소드

Returns the part unit for this entity.
public getPartUnit ( ) : PartMeasurementUnit
리턴 PartKeepr\PartBundle\Entity\PartMeasurementUnit The part unit

getStatisticSnapshot() 공개 메소드

Returns the snapshot this entity belongs to.
public getStatisticSnapshot ( ) : StatisticSnapshot
리턴 StatisticSnapshot The snapshot

getStockLevel() 공개 메소드

Returns the stock level for this unit snapshot.
public getStockLevel ( ) : integer
리턴 integer The stock level

setPartUnit() 공개 메소드

Sets the part unit for this entity.
public setPartUnit ( PartMeasurementUnit $unit )
$unit PartKeepr\PartBundle\Entity\PartMeasurementUnit The part unit

setStatisticSnapshot() 공개 메소드

Sets the statistic snapshot this entity belongs to.
public setStatisticSnapshot ( StatisticSnapshot $snapshot )
$snapshot StatisticSnapshot The snapshot

setStockLevel() 공개 메소드

Sets the stock level for this unit snapshot.
public setStockLevel ( integer $stockLevel )
$stockLevel integer