@Deprecated public class Duration extends AbstractDuration implements java.io.Serializable
Java class for Duration complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Duration"> <complexContent> <extension base="{http://www.dawis.wiwi.uni-due.de/EnergyOptionModel}AbstractDuration"> <sequence> <element name="value" type="{http://www.w3.org/2001/XMLSchema}long"/> <element name="unit" type="{http://www.dawis.wiwi.uni-due.de/EnergyOptionModel}TimeUnit"/> </sequence> </extension> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected TimeUnit |
unit
Deprecated.
|
protected long |
value
Deprecated.
|
Constructor and Description |
---|
Duration()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
TimeUnit |
getUnit()
Deprecated.
Gets the value of the unit property.
|
long |
getValue()
Deprecated.
Gets the value of the value property.
|
void |
setUnit(TimeUnit value)
Deprecated.
Sets the value of the unit property.
|
void |
setValue(long value)
Deprecated.
Sets the value of the value property.
|
toEOMVersion100
protected long value
protected TimeUnit unit
public long getValue()
public void setValue(long value)
public TimeUnit getUnit()
TimeUnit