public class CostModel
extends java.lang.Object
implements java.io.Serializable
Java class for CostModel complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CostModel">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="CostUnit" type="{http://www.w3.org/2001/XMLSchema}string"/>
<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"/>
<element name="CostFunctions" type="{http://www.dawis.wiwi.uni-due.de/EnergyOptionModel}CostFunction" maxOccurs="unbounded"/>
<element name="StateCostFunction" type="{http://www.dawis.wiwi.uni-due.de/EnergyOptionModel}CostFunctionCalculated"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<CostFunction> |
costFunctions |
protected java.lang.String |
costUnit |
protected EnergyUnitFactorPrefixSI |
siPrefix |
protected CostFunctionCalculated |
stateCostFunction |
protected TimeUnit |
timeUnit |
| Constructor and Description |
|---|
CostModel() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<CostFunction> |
getCostFunctions()
Gets the value of the costFunctions property.
|
java.lang.String |
getCostUnit()
Gets the value of the costUnit property.
|
EnergyUnitFactorPrefixSI |
getSIPrefix()
Gets the value of the siPrefix property.
|
CostFunctionCalculated |
getStateCostFunction()
Gets the value of the stateCostFunction property.
|
TimeUnit |
getTimeUnit()
Gets the value of the timeUnit property.
|
void |
setCostUnit(java.lang.String value)
Sets the value of the costUnit property.
|
void |
setSIPrefix(EnergyUnitFactorPrefixSI value)
Sets the value of the siPrefix property.
|
void |
setStateCostFunction(CostFunctionCalculated value)
Sets the value of the stateCostFunction property.
|
void |
setTimeUnit(TimeUnit value)
Sets the value of the timeUnit property.
|
protected java.lang.String costUnit
protected EnergyUnitFactorPrefixSI siPrefix
protected TimeUnit timeUnit
protected java.util.List<CostFunction> costFunctions
protected CostFunctionCalculated stateCostFunction
public java.lang.String getCostUnit()
Stringpublic void setCostUnit(java.lang.String value)
value - allowed object is
Stringpublic EnergyUnitFactorPrefixSI getSIPrefix()
EnergyUnitFactorPrefixSIpublic void setSIPrefix(EnergyUnitFactorPrefixSI value)
value - allowed object is
EnergyUnitFactorPrefixSIpublic TimeUnit getTimeUnit()
TimeUnitpublic void setTimeUnit(TimeUnit value)
value - allowed object is
TimeUnitpublic java.util.List<CostFunction> getCostFunctions()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the costFunctions property.
For example, to add a new item, do as follows:
getCostFunctions().add(newItem);
Objects of the following type(s) are allowed in the list
CostFunction
public CostFunctionCalculated getStateCostFunction()
CostFunctionCalculatedpublic void setStateCostFunction(CostFunctionCalculated value)
value - allowed object is
CostFunctionCalculated