PHP 클래스 PartKeepr\PartBundle\Entity\PartParameter

파일 보기 프로젝트 열기: partkeepr/PartKeepr

공개 메소드들

메소드 설명
getDescription ( ) : string Returns the description.
getId ( ) : integer Returns the ID for this object.
getName ( ) : string Returns the name for this parameter.
getPart ( ) : Part Returns the part.
getSiPrefix ( ) : SiPrefix Returns the si prefix for this parameter.
getUnit ( ) : Unit Returns the unit.
getValue ( ) : float Returns the value.
setDescription ( string $description ) Sets the description for this parameter.
setName ( string $name ) Sets the name for this parameter.
setPart ( Part $part ) Sets the part.
setSiPrefix ( SiPrefix $prefix = null ) Sets the si prefix for this parameter.
setUnit ( Unit $unit = null ) Sets the unit.
setValue ( float $value ) Sets the value.

비공개 메소드들

메소드 설명
recalculateRawValue ( )

메소드 상세

getDescription() 공개 메소드

Returns the description.
public getDescription ( ) : string
리턴 string The description

getId() 공개 메소드

Returns the ID for this object.
public getId ( ) : integer
리턴 integer The ID for this object

getName() 공개 메소드

Returns the name for this parameter.
public getName ( ) : string
리턴 string The name for this parameter

getPart() 공개 메소드

Returns the part.
public getPart ( ) : Part
리턴 Part the part

getSiPrefix() 공개 메소드

Returns the si prefix for this parameter.
public getSiPrefix ( ) : SiPrefix
리턴 PartKeepr\SiPrefixBundle\Entity\SiPrefix the si prefix or null

getUnit() 공개 메소드

Returns the unit.
public getUnit ( ) : Unit
리턴 PartKeepr\UnitBundle\Entity\Unit the unit

getValue() 공개 메소드

Returns the value.
public getValue ( ) : float
리턴 float The value

setDescription() 공개 메소드

Sets the description for this parameter.
public setDescription ( string $description )
$description string The description

setName() 공개 메소드

Sets the name for this parameter.
public setName ( string $name )
$name string The name

setPart() 공개 메소드

Sets the part.
public setPart ( Part $part )
$part Part The part to set

setSiPrefix() 공개 메소드

Sets the si prefix for this parameter.
public setSiPrefix ( SiPrefix $prefix = null )
$prefix PartKeepr\SiPrefixBundle\Entity\SiPrefix The prefix to set, or null

setUnit() 공개 메소드

Sets the unit.
public setUnit ( Unit $unit = null )
$unit PartKeepr\UnitBundle\Entity\Unit The unit to set

setValue() 공개 메소드

Sets the value.
public setValue ( float $value )
$value float The value to set