Package cruise.umple.compiler
Class EventSequenceList
java.lang.Object
cruise.umple.compiler.EventSequenceList
public class EventSequenceList
extends java.lang.Object
This is the list-style view for the event sequence. It has two primary rows.
The first row is the sequence of events generated, the second row is the
the state resulting from that event.
-
Constructor Summary
Constructors Constructor Description EventSequenceList()
-
Method Summary
Modifier and Type Method Description boolean
addEventListRow(EventListRow aEventListRow)
boolean
addEventListRowAt(EventListRow aEventListRow, int index)
void
addFirstRow(StateWrapper resultingState, java.lang.String triggeringEvent)
boolean
addOrMoveEventListRowAt(EventListRow aEventListRow, int index)
void
addRow(StateWrapper resultingState, java.lang.String triggeringEvent)
void
delete()
int
getEventCount()
EventListRow
getEventListRow(int index)
java.util.List<EventListRow>
getEventListRows()
boolean
hasEventListRows()
int
indexOfEventListRow(EventListRow aEventListRow)
static int
minimumNumberOfEventListRows()
int
numberOfEventListRows()
java.lang.StringBuilder
output(EventSequenceTemplate templater)
boolean
removeEventListRow(EventListRow aEventListRow)
boolean
setEventCount(int aEventCount)
java.lang.String
toString()
-
Constructor Details
-
EventSequenceList
public EventSequenceList()
-
-
Method Details
-
setEventCount
public boolean setEventCount(int aEventCount) -
getEventCount
public int getEventCount() -
getEventListRow
-
getEventListRows
-
numberOfEventListRows
public int numberOfEventListRows() -
hasEventListRows
public boolean hasEventListRows() -
indexOfEventListRow
-
minimumNumberOfEventListRows
public static int minimumNumberOfEventListRows() -
addEventListRow
-
removeEventListRow
-
addEventListRowAt
-
addOrMoveEventListRowAt
-
delete
public void delete() -
addFirstRow
-
addRow
-
output
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-