@Deprecated
public class EnergyAmount
extends java.lang.Object
implements java.io.Serializable
Java class for EnergyAmount complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="EnergyAmount"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="Value" type="{http://www.w3.org/2001/XMLSchema}double"/> <element name="SIPrefix" type="{http://www.dawis.wiwi.uni-due.de/EnergyOptionModel}EnergyUnitFactorPrefixSI"/> <element name="TimeUnit" type="{http://www.dawis.wiwi.uni-due.de/EnergyOptionModel}TimeUnit"/> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected EnergyUnitFactorPrefixSI |
siPrefix
Deprecated.
|
protected TimeUnit |
timeUnit
Deprecated.
|
protected double |
value
Deprecated.
|
Constructor and Description |
---|
EnergyAmount()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
EnergyUnitFactorPrefixSI |
getSIPrefix()
Deprecated.
Gets the value of the siPrefix property.
|
TimeUnit |
getTimeUnit()
Deprecated.
Gets the value of the timeUnit property.
|
double |
getValue()
Deprecated.
Gets the value of the value property.
|
void |
setSIPrefix(EnergyUnitFactorPrefixSI value)
Deprecated.
Sets the value of the siPrefix property.
|
void |
setTimeUnit(TimeUnit value)
Deprecated.
Sets the value of the timeUnit property.
|
void |
setValue(double value)
Deprecated.
Sets the value of the value property.
|
static EnergyAmount |
toEOMVersion100(EnergyAmount ea096)
Deprecated.
Converts this instance to an EOM version 100.
|
protected double value
protected EnergyUnitFactorPrefixSI siPrefix
protected TimeUnit timeUnit
public double getValue()
public void setValue(double value)
public EnergyUnitFactorPrefixSI getSIPrefix()
EnergyUnitFactorPrefixSI
public void setSIPrefix(EnergyUnitFactorPrefixSI value)
value
- allowed object is
EnergyUnitFactorPrefixSI
public TimeUnit getTimeUnit()
TimeUnit
public void setTimeUnit(TimeUnit value)
value
- allowed object is
TimeUnit
public static EnergyAmount toEOMVersion100(EnergyAmount ea096)
ea096
- the ea 096