public class State
extends java.lang.Object
implements java.io.Serializable
Java class for State complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="State"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="StateID" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="StateDescription" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="Flows" type="{http://www.dawis.wiwi.uni-due.de/EnergyOptionModel}AbstractFlow" maxOccurs="unbounded"/> <element name="Duration" type="{http://www.dawis.wiwi.uni-due.de/EnergyOptionModel}Duration"/> <element name="FormatTimeUnit" type="{http://www.dawis.wiwi.uni-due.de/EnergyOptionModel}TimeUnit"/> <element name="StateTransitions" type="{http://www.dawis.wiwi.uni-due.de/EnergyOptionModel}StateTransition" maxOccurs="unbounded" minOccurs="0"/> <element name="StateEvaluationRanges" type="{http://www.dawis.wiwi.uni-due.de/EnergyOptionModel}VariableState" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="x" type="{http://www.w3.org/2001/XMLSchema}double" default="0" /> <attribute name="y" type="{http://www.w3.org/2001/XMLSchema}double" default="0" /> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected Duration |
duration |
protected java.util.List<AbstractFlow> |
flows |
protected TimeUnit |
formatTimeUnit |
protected java.lang.String |
stateDescription |
protected java.util.List<VariableState> |
stateEvaluationRanges |
protected java.lang.String |
stateID |
protected java.util.List<StateTransition> |
stateTransitions |
protected java.lang.Double |
x |
protected java.lang.Double |
y |
Constructor and Description |
---|
State() |
Modifier and Type | Method and Description |
---|---|
Duration |
getDuration()
Gets the value of the duration property.
|
java.util.List<AbstractFlow> |
getFlows()
Gets the value of the flows property.
|
TimeUnit |
getFormatTimeUnit()
Gets the value of the formatTimeUnit property.
|
java.lang.String |
getStateDescription()
Gets the value of the stateDescription property.
|
java.util.List<VariableState> |
getStateEvaluationRanges()
Gets the value of the stateEvaluationRanges property.
|
java.lang.String |
getStateID()
Gets the value of the stateID property.
|
java.util.List<StateTransition> |
getStateTransitions()
Gets the value of the stateTransitions property.
|
double |
getX()
Gets the value of the x property.
|
double |
getY()
Gets the value of the y property.
|
void |
setDuration(Duration value)
Sets the value of the duration property.
|
void |
setFormatTimeUnit(TimeUnit value)
Sets the value of the formatTimeUnit property.
|
void |
setStateDescription(java.lang.String value)
Sets the value of the stateDescription property.
|
void |
setStateID(java.lang.String value)
Sets the value of the stateID property.
|
void |
setX(java.lang.Double value)
Sets the value of the x property.
|
void |
setY(java.lang.Double value)
Sets the value of the y property.
|
protected java.lang.String stateID
protected java.lang.String stateDescription
protected java.util.List<AbstractFlow> flows
protected Duration duration
protected TimeUnit formatTimeUnit
protected java.util.List<StateTransition> stateTransitions
protected java.util.List<VariableState> stateEvaluationRanges
protected java.lang.Double x
protected java.lang.Double y
public java.lang.String getStateID()
String
public void setStateID(java.lang.String value)
value
- allowed object is
String
public java.lang.String getStateDescription()
String
public void setStateDescription(java.lang.String value)
value
- allowed object is
String
public java.util.List<AbstractFlow> getFlows()
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 flows property.
For example, to add a new item, do as follows:
getFlows().add(newItem);
Objects of the following type(s) are allowed in the list
AbstractFlow
public Duration getDuration()
Duration
public void setDuration(Duration value)
value
- allowed object is
Duration
public TimeUnit getFormatTimeUnit()
TimeUnit
public void setFormatTimeUnit(TimeUnit value)
value
- allowed object is
TimeUnit
public java.util.List<StateTransition> getStateTransitions()
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 stateTransitions property.
For example, to add a new item, do as follows:
getStateTransitions().add(newItem);
Objects of the following type(s) are allowed in the list
StateTransition
public java.util.List<VariableState> getStateEvaluationRanges()
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 stateEvaluationRanges property.
For example, to add a new item, do as follows:
getStateEvaluationRanges().add(newItem);
Objects of the following type(s) are allowed in the list
VariableState
public double getX()
Double
public void setX(java.lang.Double value)
value
- allowed object is
Double
public double getY()
Double
public void setY(java.lang.Double value)
value
- allowed object is
Double