Interface ModelCommitAssignment.Head
- Enclosing class:
ModelCommitAssignment
public static interface ModelCommitAssignment.Head
Store head values needed to assign the next transition.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the Model's current document collection, or null when it has no document.default LongReturns the first state index with incomplete history, or null for complete history.booleanReturns whether the Model's state can be reconstructed from its complete event history.Returns the stored Model type associated with this head.longReturns the last assigned event sequence number for this Model.
-
Method Details
-
modelType
String modelType()Returns the stored Model type associated with this head. -
sequenceNumber
long sequenceNumber()Returns the last assigned event sequence number for this Model. -
historyComplete
boolean historyComplete()Returns whether the Model's state can be reconstructed from its complete event history. -
documentCollection
String documentCollection()Returns the Model's current document collection, or null when it has no document. -
firstIncompleteStateIndex
Returns the first state index with incomplete history, or null for complete history. The default usesLong.MIN_VALUEwhen the precise boundary is unknown.
-