Class Fermentable
- BeerXML\Record\Fermentable implements BeerXML\Generator\IFermentableDisplay, BeerXML\Parser\IFermentableDisplay
public
|
#
setAddAfterBoil( boolean $addAfterBoil )
May be TRUE if this item is normally added after the boil. The default value is FALSE since most grains are added during the mash or boil. |
public
boolean
|
#
getAddAfterBoil( )
May be TRUE if this item is normally added after the boil. The default value is FALSE since most grains are added during the mash or boil. |
public
|
|
public
number
|
|
public
|
#
setCoarseFineDiff( number $coarseFineDiff )
Percent difference between the coarse grain yield and fine grain yield. Only appropriate for a "Grain" or "Adjunct" type, otherwise this value is ignored. |
public
number
|
#
getCoarseFineDiff( )
Percent difference between the coarse grain yield and fine grain yield. Only appropriate for a "Grain" or "Adjunct" type, otherwise this value is ignored. |
public
|
|
public
float
|
|
public
|
#
setDiastaticPower( float $diastaticPower )
The diastatic power of the grain as measured in "Lintner" units. Only appropriate for a "Grain" or "Adjunct" type, otherwise this value is ignored. |
public
float
|
#
getDiastaticPower( )
The diastatic power of the grain as measured in "Lintner" units. Only appropriate for a "Grain" or "Adjunct" type, otherwise this value is ignored. |
public
|
#
setIbuGalPerLb( float $ibuGalPerLb )
For hopped extracts only - an estimate of the number of IBUs per pound of extract in a gallon of water. To convert to IBUs we multiply this number by the "AMOUNT" field (in pounds) and divide by the number of gallons in the batch. Based on a sixty minute boil. Only suitable for use with an "Extract" type, otherwise this value is ignored. |
public
float
|
#
getIbuGalPerLb( )
For hopped extracts only - an estimate of the number of IBUs per pound of extract in a gallon of water. To convert to IBUs we multiply this number by the "AMOUNT" field (in pounds) and divide by the number of gallons in the batch. Based on a sixty minute boil. Only suitable for use with an "Extract" type, otherwise this value is ignored. |
public
|
#
setMaxInBatch( number $maxInBatch )
The recommended maximum percentage (by weight) this ingredient should represent in a batch of beer. |
public
number
|
#
getMaxInBatch( )
The recommended maximum percentage (by weight) this ingredient should represent in a batch of beer. |
public
|
#
setMoisture( number $moisture )
Percent moisture in the grain. Only appropriate for a "Grain" or "Adjunct" type, otherwise this value is ignored. |
public
number
|
#
getMoisture( )
Percent moisture in the grain. Only appropriate for a "Grain" or "Adjunct" type, otherwise this value is ignored. |
public
|
|
public
string
|
|
public
|
|
public
string
|
|
public
|
|
public
string
|
|
public
|
#
setProtein( number $protein )
The percent protein in the grain. Only appropriate for a "Grain" or "Adjunct" type, otherwise this value is ignored. |
public
number
|
#
getProtein( )
The percent protein in the grain. Only appropriate for a "Grain" or "Adjunct" type, otherwise this value is ignored. |
public
|
#
setRecommendMash( boolean $recommendMash )
TRUE if it is recommended the grain be mashed, FALSE if it can be steeped. A value of TRUE is only appropriate for a "Grain" or "Adjunct" types. The default value is FALSE. Note that this does NOT indicate whether the grain is mashed or not – it is only a recommendation used in recipe formulation. |
public
boolean
|
#
getRecommendMash( )
TRUE if it is recommended the grain be mashed, FALSE if it can be steeped. A value of TRUE is only appropriate for a "Grain" or "Adjunct" types. The default value is FALSE. Note that this does NOT indicate whether the grain is mashed or not – it is only a recommendation used in recipe formulation. |
public
|
|
public
string
|
|
public
|
|
public
string
|
|
public
|
#
setVersion( integer $version )
Should be set to 1 for this version of the XML standard. May be a higher number for later versions but all later versions shall be backward compatible. |
public
integer
|
#
getVersion( )
Should be set to 1 for this version of the XML standard. May be a higher number for later versions but all later versions shall be backward compatible. |
public
|
|
public
number
|
|
public
|
#
setDisplayAmount( string $displayAmount )
The amount of fermentables in this record along with the units formatted for easy display in the current user defined units. For example "1.5 lbs" or "2.1 kg". |
public
string
|
#
getDisplayAmount( )
The amount of fermentables in this record along with the units formatted for easy display in the current user defined units. For example "1.5 lbs" or "2.1 kg". |
public
|
#
setDisplayColor( string $displayColor )
Color in user defined color units along with the unit identified – for example "200L" or "40 ebc" |
public
string
|
#
getDisplayColor( )
Color in user defined color units along with the unit identified – for example "200L" or "40 ebc" |
public
|
#
setInventory( string $inventory )
Amount in inventory for this item along with the units – for example "10.0 lb" |
public
string
|
|
public
|
#
setPotential( float $potential )
The yield of the fermentable converted to specific gravity units for display. For example "1.036" or "1.040" might be valid potentials. |
public
float
|
#
getPotential( )
The yield of the fermentable converted to specific gravity units for display. For example "1.036" or "1.040" might be valid potentials. |
string |
TYPE_GRAIN
|
'Grain' |
|
string |
TYPE_SUGAR
|
'Sugar' |
|
string |
TYPE_EXTRACT
|
'Extract' |
|
string |
TYPE_DRY_EXTRACT
|
'Dry Extract' |
|
string |
TYPE_ADJUNCT
|
'Adjunct' |