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 boolean
initialized
QDLInterpreter
interpreter
QDLValue
label
String
message
int
pid
QDLRunner
qdlRunner
State
state
Statement
statement
int
statementNumber
Date
timestamp
-
Constructor Summary
Constructors Constructor Description SIEntry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SIInterrupts
getInterrupts()
Long
getIntLabel()
QDLValue
getLabel()
int
getLabelType()
String
getStringLabel()
boolean
hasLabel()
void
setInterrupts(SIInterrupts interrupts)
void
setLabel(QDLValue label)
void
toXML(XMLStreamWriter xsw)
void
update(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)
-
-