PHP Класс PartKeepr\StatisticBundle\Entity\StatisticSnapshotUnit

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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