public final class ProductionLineProcessor extends AbstractProductionLineProcessor implements java.io.Serializable, REpiceaUIObject
Modifier and Type | Field and Description |
---|---|
protected Processor |
disposedToProcessor |
woodProductFeature
emissionsByFunctionalUnit, functionUnitBiomass
averageIntake, guiInterface, isTerminal, subProcessors
Modifier | Constructor and Description |
---|---|
protected |
ProductionLineProcessor()
For XmlDeserialization only.
|
protected |
ProductionLineProcessor(ProductionLine market)
Deprecated.
|
protected |
ProductionLineProcessor(ProductionLine market,
double averageIntake,
double averageYield)
Deprecated.
|
protected |
ProductionLineProcessor(ProductionLine market,
ProductionLineProcessor fatherProcessor)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
caretUpdate(javax.swing.event.CaretEvent evt)
This class listens to the text field of its Gui interface.
|
protected java.util.List<ProcessUnit> |
createProcessUnitsFromThisProcessor(ProcessUnit unit,
int intake) |
double |
getAverageIntake()
Deprecated.
|
protected double |
getAverageYield()
Deprecated.
|
protected double |
getInitialVolumeBeforeFirstTransformation(double processedVolume)
Deprecated.
|
protected static ProductionLineProcessor |
getLandfillProcessor(ProductionLineProcessor fatherProcessor,
ProductionLine market)
Deprecated.
|
protected static ProductionLineProcessor |
getLeftInForestProcessor(ProductionLineProcessor fatherProcessor,
ProductionLine market)
Deprecated.
|
protected ProductionLine |
getProductionLine()
Deprecated.
|
protected java.lang.String |
getProductionLineToBeSentTo()
Deprecated.
|
ProcessorButton |
getUI(java.awt.Container container)
This method returns the GUI interface of the class that implements this interface.
|
protected boolean |
isFinalProcessor() |
protected boolean |
isLandfillProcessor()
Deprecated.
|
protected boolean |
isLeftInForestProcessor()
Deprecated.
|
protected boolean |
isPrimaryProcessor() |
protected boolean |
isSentToAnotherMarket()
Deprecated.
|
protected void |
patchXmlSerializerBug() |
protected CarbonUnitMap<CarbonUnit.CarbonUnitStatus> |
processWoodPiece(int dateIndex,
AmountMap<CarbonUnit.Element> amountMap)
Deprecated.
|
protected void |
setAverageIntake(double intake)
Deprecated.
|
protected void |
setAverageYield(double averageYield)
Deprecated.
|
protected void |
setProductionLineToBeSentTo(java.lang.String productionLine)
Deprecated.
|
getEndProductFeature, getProcessFeaturesPanel
doProcess, updateProcessEmissions
addSubProcessor, createProcessUnits, getName, getOriginalLocation, getSubProcessorIntakes, getSubProcessors, getUI, hasSubProcessors, isPartOfEndlessLoop, isTerminalProcessor, isValid, isVisible, removeSubProcessor, setName, setOriginalLocation, setPartOfEndlessLoop, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getUI, isVisible
protected Processor disposedToProcessor
protected ProductionLineProcessor()
@Deprecated protected ProductionLineProcessor(ProductionLine market)
market
- a WoodProductMarketModel instance@Deprecated protected ProductionLineProcessor(ProductionLine market, double averageIntake, double averageYield)
market
- a WoodProductMarketModel instanceaverageIntake
- the average intake as a proportionaverageYield
- the average yield as a proportion@Deprecated protected ProductionLineProcessor(ProductionLine market, ProductionLineProcessor fatherProcessor)
market
- a WoodProductMarketModel instancefatherProcessor
- a WoodProductProcessor instanceprotected void patchXmlSerializerBug()
@Deprecated public double getAverageIntake()
@Deprecated protected void setAverageIntake(double intake)
@Deprecated protected void setAverageYield(double averageYield)
@Deprecated protected boolean isLandfillProcessor()
@Deprecated protected boolean isLeftInForestProcessor()
public ProcessorButton getUI(java.awt.Container container)
REpiceaUIObjectWithParent
getUI
in interface REpiceaUIObjectWithParent
getUI
in class Processor
container
- a parent Container instance (can be null)@Deprecated protected double getAverageYield()
protected boolean isPrimaryProcessor()
protected boolean isFinalProcessor()
@Deprecated protected java.lang.String getProductionLineToBeSentTo()
@Deprecated protected double getInitialVolumeBeforeFirstTransformation(double processedVolume)
processedVolume
- the volume after processing (m3)@Deprecated protected boolean isSentToAnotherMarket()
protected java.util.List<ProcessUnit> createProcessUnitsFromThisProcessor(ProcessUnit unit, int intake)
createProcessUnitsFromThisProcessor
in class AbstractProductionLineProcessor
@Deprecated protected CarbonUnitMap<CarbonUnit.CarbonUnitStatus> processWoodPiece(int dateIndex, AmountMap<CarbonUnit.Element> amountMap) throws java.lang.Exception
java.lang.Exception
public void caretUpdate(javax.swing.event.CaretEvent evt)
caretUpdate
in interface javax.swing.event.CaretListener
caretUpdate
in class Processor
evt
- a CaretEvent@Deprecated protected ProductionLine getProductionLine()
@Deprecated protected void setProductionLineToBeSentTo(java.lang.String productionLine)
@Deprecated protected static ProductionLineProcessor getLandfillProcessor(ProductionLineProcessor fatherProcessor, ProductionLine market)
@Deprecated protected static ProductionLineProcessor getLeftInForestProcessor(ProductionLineProcessor fatherProcessor, ProductionLine market)