Method |
Description |
|
__construct ( ) |
Creates a new part unit. |
|
getName ( ) : string |
Returns the name for this unit. |
|
getParts ( ) : ArrayCollection |
Returns the parts for this PartUnit. |
|
getShortName ( ) : string |
Returns the short name for this unit. |
|
isDefault ( ) : boolean |
Returns if the unit is default or not. |
|
setDefault ( boolean $default ) |
Defines if the unit is default or not. |
|
setName ( string $name ) |
Sets the name for this unit. |
|
setShortName ( string $shortName ) |
Sets the short name for this unit. |
|