Package org.qdl_lang.state
Class SIEntry
- java.lang.Object
-
- org.qdl_lang.state.SIEntry
-
- All Implemented Interfaces:
Serializable
public class SIEntry extends Object implements Serializable
An entry in the SI (state indicator) table.Created by Jeff Gaynor
on 10/25/20 at 2:35 PM- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description booleaninitializedQDLInterpreterinterpreterQDLValuelabelStringmessageintpidQDLRunnerqdlRunnerStatestateStatementstatementintstatementNumberDatetimestamp
-
Constructor Summary
Constructors Constructor Description SIEntry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SIInterruptsgetInterrupts()LonggetIntLabel()QDLValuegetLabel()intgetLabelType()StringgetStringLabel()booleanhasLabel()voidsetInterrupts(SIInterrupts interrupts)voidsetLabel(QDLValue label)voidtoXML(XMLStreamWriter xsw)voidupdate(SIEntry entry)For the cases where this is the existing SIEntry and new one has been created by the interrupt handler.
-
-
-
Field Detail
-
initialized
public boolean initialized
-
pid
public int pid
-
timestamp
public Date timestamp
-
state
public State state
-
message
public String message
-
statement
public Statement statement
-
qdlRunner
public QDLRunner qdlRunner
-
statementNumber
public int statementNumber
-
interpreter
public QDLInterpreter interpreter
-
label
public QDLValue label
-
-
Method Detail
-
update
public void update(SIEntry entry)
For the cases where this is the existing SIEntry and new one has been created by the interrupt handler. Update with that state- Parameters:
entry-
-
toXML
public void toXML(XMLStreamWriter xsw) throws XMLStreamException
- Throws:
XMLStreamException
-
getLabel
public QDLValue getLabel()
-
setLabel
public void setLabel(QDLValue label)
-
hasLabel
public boolean hasLabel()
-
getIntLabel
public Long getIntLabel()
-
getStringLabel
public String getStringLabel()
-
getLabelType
public int getLabelType()
-
getInterrupts
public SIInterrupts getInterrupts()
-
setInterrupts
public void setInterrupts(SIInterrupts interrupts)
-
-