public class Schedule
extends java.lang.Object
implements java.io.Externalizable
Java class for Schedule complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Schedule">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="RealTimeSchedule" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<element name="StrategyClass" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="SourceThread" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="Priority" type="{http://www.w3.org/2001/XMLSchema}int"/>
<element name="CalculationTime" type="{http://www.w3.org/2001/XMLSchema}long"/>
<element name="TechnicalSystemStateEvaluation" type="{http://www.dawis.wiwi.uni-due.de/EnergyOptionModel}TechnicalSystemStateEvaluation"/>
<element name="TechnicalSystemStateList" type="{http://www.dawis.wiwi.uni-due.de/EnergyOptionModel}TechnicalSystemStateEvaluation" maxOccurs="unbounded"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected long |
calculationTime |
protected int |
idSchedule |
protected int |
priority |
protected boolean |
realTimeSchedule |
protected java.lang.String |
sourceThread |
protected java.lang.String |
strategyClass |
protected TechnicalSystemStateEvaluation |
technicalSystemStateEvaluation |
protected java.util.List<TechnicalSystemStateEvaluation> |
technicalSystemStateList |
| Constructor and Description |
|---|
Schedule() |
| Modifier and Type | Method and Description |
|---|---|
long |
getCalculationTime()
Gets the value of the calculationTime property.
|
int |
getIdSchedule()
Gets the id schedule.
|
int |
getPriority()
Gets the value of the priority property.
|
ScheduleLengthRestriction |
getScheduleLengthRestriction()
Gets the schedule length restriction.
|
java.lang.String |
getSourceThread()
Gets the value of the sourceThread property.
|
java.lang.String |
getStrategyClass()
Gets the value of the strategyClass property.
|
TechnicalSystemStateEvaluation |
getTechnicalSystemStateEvaluation()
Gets the value of the technicalSystemStateEvaluation property.
|
java.util.List<TechnicalSystemStateEvaluation> |
getTechnicalSystemStateList()
Gets the value of the technicalSystemStateList property.
|
boolean |
isRealTimeSchedule()
Gets the value of the realTimeSchedule property.
|
void |
readExternal(java.io.ObjectInput in) |
void |
setCalculationTime(long value)
Sets the value of the calculationTime property.
|
void |
setIdSchedule(int idSchedule)
Sets the id schedule.
|
void |
setPriority(int value)
Sets the value of the priority property.
|
void |
setRealTimeSchedule(boolean value)
Sets the value of the realTimeSchedule property.
|
void |
setScheduleLengthRestriction(ScheduleLengthRestriction newScheduleLengthRestriction)
Sets the ScheduleLengthRestriction to use for the current Schedule.
|
void |
setSourceThread(java.lang.String value)
Sets the value of the sourceThread property.
|
void |
setStrategyClass(java.lang.String value)
Sets the value of the strategyClass property.
|
void |
setTechnicalSystemStateEvaluation(TechnicalSystemStateEvaluation value)
Sets the value of the technicalSystemStateEvaluation property.
|
void |
setTechnicalSystemStateList(java.util.List<TechnicalSystemStateEvaluation> technicalSystemStateList)
Sets the technical system state list.
|
void |
writeExternal(java.io.ObjectOutput out) |
protected int idSchedule
protected boolean realTimeSchedule
protected java.lang.String strategyClass
protected java.lang.String sourceThread
protected int priority
protected long calculationTime
protected TechnicalSystemStateEvaluation technicalSystemStateEvaluation
protected java.util.List<TechnicalSystemStateEvaluation> technicalSystemStateList
public int getIdSchedule()
public void setIdSchedule(int idSchedule)
idSchedule - the new id schedulepublic boolean isRealTimeSchedule()
public void setRealTimeSchedule(boolean value)
public java.lang.String getStrategyClass()
Stringpublic void setStrategyClass(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getSourceThread()
Stringpublic void setSourceThread(java.lang.String value)
value - allowed object is
Stringpublic int getPriority()
public void setPriority(int value)
public long getCalculationTime()
public void setCalculationTime(long value)
public TechnicalSystemStateEvaluation getTechnicalSystemStateEvaluation()
TechnicalSystemStateEvaluationpublic void setTechnicalSystemStateEvaluation(TechnicalSystemStateEvaluation value)
value - allowed object is
TechnicalSystemStateEvaluationpublic java.util.List<TechnicalSystemStateEvaluation> getTechnicalSystemStateList()
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 technicalSystemStateList property.
For example, to add a new item, do as follows:
getTechnicalSystemStateList().add(newItem);
Objects of the following type(s) are allowed in the list
TechnicalSystemStateEvaluation
public void setTechnicalSystemStateList(java.util.List<TechnicalSystemStateEvaluation> technicalSystemStateList)
technicalSystemStateList - the new technical system state listpublic ScheduleLengthRestriction getScheduleLengthRestriction()
public void setScheduleLengthRestriction(ScheduleLengthRestriction newScheduleLengthRestriction)
newScheduleLengthRestriction - the new schedule length restrictionpublic void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.Externalizablejava.io.IOExceptionpublic void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablejava.io.IOExceptionjava.lang.ClassNotFoundException