org.openlca.dataconversion
Class UnitFlowPropertyAssignment

java.lang.Object
  extended by org.openlca.dataconversion.UnitFlowPropertyAssignment

public class UnitFlowPropertyAssignment
extends java.lang.Object

Assignment between a FlowProperty and a unit with a conversion factor.

Version:
1.0
Author:
Michael Srocka, GreenDeltaTC, for the openLCA project (www.openlca.org)

Constructor Summary
UnitFlowPropertyAssignment()
           
 
Method Summary
 double getFactor()
           
 FlowProperty getFlowProperty()
           
 java.lang.String getUnit()
           
 void setFactor(double factor)
           
 void setFlowProperty(FlowProperty flowProperty)
           
 void setUnit(java.lang.String unit)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnitFlowPropertyAssignment

public UnitFlowPropertyAssignment()
Method Detail

getFlowProperty

public FlowProperty getFlowProperty()
Returns:
flowProperty.

setFlowProperty

public void setFlowProperty(FlowProperty flowProperty)
Parameters:
flowProperty - flowProperty

getUnit

public java.lang.String getUnit()
Returns:
unit

setUnit

public void setUnit(java.lang.String unit)
Parameters:
unit - unit

getFactor

public double getFactor()
Returns:
factor.

setFactor

public void setFactor(double factor)
Parameters:
factor - factor.