- enclosedMessage() - Method in interface io.spine.core.Signal
-
Obtains the unpacked form of the enclosed message.
- enclosedTypeUrl() - Method in interface io.spine.core.Signal
-
Obtains the type URL of the enclosed message.
- EnrichableMessageContext - Interface in io.spine.core
-
A common interface for message contexts that hold enrichments.
- ensureMessage(Message) - Static method in class io.spine.core.Commands
-
Extracts a command message if the passed instance is a Command
object or
Any
, otherwise returns the passed message.
- ensureMessage(Message) - Static method in class io.spine.core.Events
-
Extracts an event message if the passed instance is an Event
object or Any
,
otherwise returns the passed message.
- EventContextField - Class in io.spine.core
-
A subscribable field of an event context.
- EventContextField(Field) - Constructor for class io.spine.core.EventContextField
-
- Events - Class in io.spine.core
-
Utility class for working with Event
objects.
- expectedDefault(Message, Message, int) - Static method in class io.spine.change.MessageMismatch
-
Creates ValueMismatch
for the case of discovering a non-default value,
when the default value was expected by a command.
- expectedEmpty(String, String, int) - Static method in class io.spine.change.StringMismatch
-
Creates ValueMismatch
for the case of discovering a non-empty value,
when an empty string was expected by a command.
- expectedFalse(int) - Static method in class io.spine.change.BooleanMismatch
-
Creates ValueMismatch
for the case when command finds true value instead of false.
- expectedNonZero(double, double, int) - Static method in class io.spine.change.DoubleMismatch
-
Creates ValueMismatch
for the case of discovering zero value,
when a non zero amount was expected by a command.
- expectedNonZero(float, float, int) - Static method in class io.spine.change.FloatMismatch
-
Creates ValueMismatch
for the case of discovering zero value,
when a non zero amount was expected by a command.
- expectedNonZero(int, int, int) - Static method in class io.spine.change.IntMismatch
-
Creates ValueMismatch
for the case of discovering zero value,
when a non zero amount was expected by a command.
- expectedNonZero(long, long, int) - Static method in class io.spine.change.LongMismatch
-
Creates ValueMismatch
for the case of discovering zero value,
when a non zero amount was expected by a command.
- expectedNotDefault(Message, int) - Static method in class io.spine.change.MessageMismatch
-
Creates a ValueMismatch
for a command that wanted to clear a value,
but discovered that the field already has the default value.
- expectedNotDefault(Message, Message, int) - Static method in class io.spine.change.MessageMismatch
-
Creates a ValueMismatch
for a command that wanted to change a field value,
but discovered that the field has the default value.
- expectedNotEmpty(String, int) - Static method in class io.spine.change.StringMismatch
-
Creates a ValueMismatch
for a command that wanted to clear a string value,
but discovered that the field is already empty.
- expectedTrue(int) - Static method in class io.spine.change.BooleanMismatch
-
Creates ValueMismatch
for the case when command finds false value instead of true.
- expectedZero(double, double, int) - Static method in class io.spine.change.DoubleMismatch
-
Creates ValueMismatch
for the case of discovering not zero value,
when a zero amount was expected by a command.
- expectedZero(float, float, int) - Static method in class io.spine.change.FloatMismatch
-
Creates ValueMismatch
for the case of discovering not zero value,
when a zero amount was expected by a command.
- expectedZero(int, int, int) - Static method in class io.spine.change.IntMismatch
-
Creates ValueMismatch
for the case of discovering not zero value,
when a zero amount was expected by a command.
- expectedZero(long, long, int) - Static method in class io.spine.change.LongMismatch
-
Creates ValueMismatch
for the case of discovering not zero value,
when a zero amount was expected by a command.
- External - Annotation Type in io.spine.core
-
Marks a handler method parameter to be of an external origin.
- id() - Method in interface io.spine.core.Signal
-
Obtains the identifier of the message.
- idStringifier() - Static method in class io.spine.core.Commands
-
Obtains stringifier for command IDs.
- idStringifier() - Static method in class io.spine.core.Events
-
Obtains the stringifier for event IDs.
- increment(Version) - Static method in class io.spine.core.Versions
-
Creates a new Version
with the number increased by one
and the timestamp of the current system time.
- instant() - Method in interface io.spine.core.WithTime
-
Obtains the associated time point as Instant
.
- IntMismatch - Class in io.spine.change
-
Utility class for working with int
values in ValueMismatch
es.
- io.spine.change - package io.spine.change
-
This package contains classes and interfaces for working with field value changes.
- io.spine.core - package io.spine.core
-
This package provides generated classes and interfaces with general data types for building
event-sourcing applications.
- is(Class<? extends Message>) - Method in interface io.spine.core.Signal
-
Verifies if the enclosed message has the same type as the passed, or the passed type
is the super-type of the message.
- isAfter(Timestamp) - Method in interface io.spine.core.WithTime
-
Verifies if associated time is after the passed point in time.
- isBefore(Timestamp) - Method in interface io.spine.core.WithTime
-
Verifies if the associated time is before the passed point in time.
- isBetween(Timestamp, Timestamp) - Method in interface io.spine.core.WithTime
-
Verifies if the associated time point is within the passed period of time.
- isDecrement(VersionOrBuilder) - Method in interface io.spine.core.VersionMixin
-
Checks if the version is a decrement relative to the other
version.
- isDecrementOrEqual(VersionOrBuilder) - Method in interface io.spine.core.VersionMixin
-
Checks if the version is a decrement or at least equal to the other
version.
- isIncrement(VersionOrBuilder) - Method in interface io.spine.core.VersionMixin
-
Checks if the version is an increment relative to the other
version.
- isIncrementOrEqual(VersionOrBuilder) - Method in interface io.spine.core.VersionMixin
-
Checks if the version is an increment or at least equal to the other
version.
- isOk(Response) - Static method in class io.spine.core.Responses
-
- of(String, String) - Static method in class io.spine.change.Changes
-
Creates StringChange
object for the passed previous and new field values.
- of(Timestamp, Timestamp) - Static method in class io.spine.change.Changes
-
Creates TimestampChange
object for the passed previous and new field values.
- of(double, double) - Static method in class io.spine.change.Changes
-
Creates DoubleChange
object for the passed previous and new field values.
- of(float, float) - Static method in class io.spine.change.Changes
-
Creates FloatChange
object for the passed previous and new field values.
- of(ByteString, ByteString) - Static method in class io.spine.change.Changes
-
Creates BytesChange
object for the passed previous and new field values.
- of(boolean, boolean) - Static method in class io.spine.change.Changes
-
Creates BooleanChange
object for the passed previous and new field values.
- of(double, double, double, int) - Static method in class io.spine.change.DoubleMismatch
-
Creates a new instance of ValueMismatch
with the passed values
for a double attribute.
- of(float, float, float, int) - Static method in class io.spine.change.FloatMismatch
-
Creates a new instance of ValueMismatch
with the passed values for a float attribute.
- of(int, int, int, int) - Static method in class io.spine.change.IntMismatch
-
Creates a new instance of ValueMismatch
with the passed values
for an integer attribute.
- of(long, long, long, int) - Static method in class io.spine.change.LongMismatch
-
Creates a new instance of ValueMismatch
with the passed values for a long attribute.
- ofFixed32(int, int) - Static method in class io.spine.change.Changes
-
Creates Fixed32Change
object for the passed previous and new field values.
- ofFixed64(long, long) - Static method in class io.spine.change.Changes
-
Creates Fixed64Change
object for the passed previous and new field values.
- ofInt32(int, int) - Static method in class io.spine.change.Changes
-
Creates Int32Change
object for the passed previous and new field values.
- ofInt64(long, long) - Static method in class io.spine.change.Changes
-
Creates Int64Change
object for the passed previous and new field values.
- ofSfixed32(int, int) - Static method in class io.spine.change.Changes
-
Creates Sfixed32Change
object for the passed previous and new field values.
- ofSfixed64(long, long) - Static method in class io.spine.change.Changes
-
Creates Sfixed64Change
object for the passed previous and new field values.
- ofSInt32(int, int) - Static method in class io.spine.change.Changes
-
Creates SInt32Change
object for the passed previous and new field values.
- ofSInt64(long, long) - Static method in class io.spine.change.Changes
-
Creates SInt64Change
object for the passed previous and new field values.
- ofUInt32(int, int) - Static method in class io.spine.change.Changes
-
Creates UInt32Change
object for the passed previous and new field values.
- ofUInt64(long, long) - Static method in class io.spine.change.Changes
-
Creates UInt64Change
object for the passed previous and new field values.
- ok() - Static method in class io.spine.core.Responses
-
Returns the instance of OK Response
.
- origin() - Method in interface io.spine.core.Signal
-
Obtains the origin of this signal.
- unexpectedValue(double, double, double, int) - Static method in class io.spine.change.DoubleMismatch
-
Creates ValueMismatch
for the case of discovering a value
different than by a command.
- unexpectedValue(float, float, float, int) - Static method in class io.spine.change.FloatMismatch
-
Creates ValueMismatch
for the case of discovering a value
different than by a command.
- unexpectedValue(int, int, int, int) - Static method in class io.spine.change.IntMismatch
-
Creates ValueMismatch
for the case of discovering a value
different than by a command.
- unexpectedValue(long, long, long, int) - Static method in class io.spine.change.LongMismatch
-
Creates ValueMismatch
for the case of discovering a value
different than by a command.
- unexpectedValue(Message, Message, Message, int) - Static method in class io.spine.change.MessageMismatch
-
Creates ValueMismatch
for the case of discovering a value
different than by a command.
- unexpectedValue(String, String, String, int) - Static method in class io.spine.change.StringMismatch
-
Creates ValueMismatch
for the case of discovering a value
different than expected by a command.
- unpackActual(ValueMismatch) - Static method in class io.spine.change.BooleanMismatch
-
Obtains actual boolean value from the passed mismatch.
- unpackActual(ValueMismatch) - Static method in class io.spine.change.DoubleMismatch
-
Obtains actual double value from the passed mismatch.
- unpackActual(ValueMismatch) - Static method in class io.spine.change.FloatMismatch
-
Obtains actual float value from the passed mismatch.
- unpackActual(ValueMismatch) - Static method in class io.spine.change.IntMismatch
-
Obtains actual int value from the passed mismatch.
- unpackActual(ValueMismatch) - Static method in class io.spine.change.LongMismatch
-
Obtains actual long value from the passed mismatch.
- unpackActual(ValueMismatch) - Static method in class io.spine.change.MessageMismatch
-
Obtains actual value as a Message
from the passed mismatch.
- unpackActual(ValueMismatch) - Static method in class io.spine.change.StringMismatch
-
Obtains actual string from the passed mismatch.
- unpackExpected(ValueMismatch) - Static method in class io.spine.change.BooleanMismatch
-
Obtains expected boolean value from the passed mismatch.
- unpackExpected(ValueMismatch) - Static method in class io.spine.change.DoubleMismatch
-
Obtains expected double value from the passed mismatch.
- unpackExpected(ValueMismatch) - Static method in class io.spine.change.FloatMismatch
-
Obtains expected float value from the passed mismatch.
- unpackExpected(ValueMismatch) - Static method in class io.spine.change.IntMismatch
-
Obtains expected int value from the passed mismatch.
- unpackExpected(ValueMismatch) - Static method in class io.spine.change.LongMismatch
-
Obtains expected long value from the passed mismatch.
- unpackExpected(ValueMismatch) - Static method in class io.spine.change.MessageMismatch
-
Obtains expected value as a Message
from the passed mismatch.
- unpackExpected(ValueMismatch) - Static method in class io.spine.change.StringMismatch
-
Obtains expected string from the passed mismatch.
- unpackNewValue(ValueMismatch) - Static method in class io.spine.change.BooleanMismatch
-
Obtains new boolean value from the passed mismatch.
- unpackNewValue(ValueMismatch) - Static method in class io.spine.change.DoubleMismatch
-
Obtains new double value from the passed mismatch.
- unpackNewValue(ValueMismatch) - Static method in class io.spine.change.FloatMismatch
-
Obtains new float value from the passed mismatch.
- unpackNewValue(ValueMismatch) - Static method in class io.spine.change.IntMismatch
-
Obtains new int value from the passed mismatch.
- unpackNewValue(ValueMismatch) - Static method in class io.spine.change.LongMismatch
-
Obtains new long value from the passed mismatch.
- unpackNewValue(ValueMismatch) - Static method in class io.spine.change.MessageMismatch
-
Obtains new value as a Message
from the passed mismatch.
- unpackNewValue(ValueMismatch) - Static method in class io.spine.change.StringMismatch
-
Obtains new value string from the passed mismatch.