public final class Changes
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static io.spine.change.BooleanChange |
of(boolean previousValue,
boolean newValue)
Creates
BooleanChange object for the passed previous and new field values. |
static io.spine.change.BytesChange |
of(com.google.protobuf.ByteString previousValue,
com.google.protobuf.ByteString newValue)
Creates
BytesChange object for the passed previous and new field values. |
static io.spine.change.DoubleChange |
of(double previousValue,
double newValue)
Creates
DoubleChange object for the passed previous and new field values. |
static io.spine.change.FloatChange |
of(float previousValue,
float newValue)
Creates
FloatChange object for the passed previous and new field values. |
static io.spine.change.StringChange |
of(java.lang.String previousValue,
java.lang.String newValue)
Creates
StringChange object for the passed previous and new field values. |
static io.spine.change.TimestampChange |
of(com.google.protobuf.Timestamp previousValue,
com.google.protobuf.Timestamp newValue)
Creates
TimestampChange object for the passed previous and new field values. |
static io.spine.change.Fixed32Change |
ofFixed32(int previousValue,
int newValue)
Creates
Fixed32Change object for the passed previous and new field values. |
static io.spine.change.Fixed64Change |
ofFixed64(long previousValue,
long newValue)
Creates
Fixed64Change object for the passed previous and new field values. |
static io.spine.change.Int32Change |
ofInt32(int previousValue,
int newValue)
Creates
Int32Change object for the passed previous and new field values. |
static io.spine.change.Int64Change |
ofInt64(long previousValue,
long newValue)
Creates
Int64Change object for the passed previous and new field values. |
static io.spine.change.Sfixed32Change |
ofSfixed32(int previousValue,
int newValue)
Creates
Sfixed32Change object for the passed previous and new field values. |
static io.spine.change.Sfixed64Change |
ofSfixed64(long previousValue,
long newValue)
Creates
Sfixed64Change object for the passed previous and new field values. |
static io.spine.change.SInt32Change |
ofSInt32(int previousValue,
int newValue)
Creates
SInt32Change object for the passed previous and new field values. |
static io.spine.change.SInt64Change |
ofSInt64(long previousValue,
long newValue)
Creates
SInt64Change object for the passed previous and new field values. |
static io.spine.change.UInt32Change |
ofUInt32(int previousValue,
int newValue)
Creates
UInt32Change object for the passed previous and new field values. |
static io.spine.change.UInt64Change |
ofUInt64(long previousValue,
long newValue)
Creates
UInt64Change object for the passed previous and new field values. |
public static io.spine.change.StringChange of(java.lang.String previousValue, java.lang.String newValue)
StringChange
object for the passed previous and new field values.
Passed values cannot be equal.
public static io.spine.change.TimestampChange of(com.google.protobuf.Timestamp previousValue, com.google.protobuf.Timestamp newValue)
TimestampChange
object for the passed previous and new field values.
Passed values cannot be equal.
public static io.spine.change.DoubleChange of(double previousValue, double newValue)
DoubleChange
object for the passed previous and new field values.
Passed values cannot be equal.
public static io.spine.change.FloatChange of(float previousValue, float newValue)
FloatChange
object for the passed previous and new field values.
Passed values cannot be equal.
public static io.spine.change.Int32Change ofInt32(int previousValue, int newValue)
Int32Change
object for the passed previous and new field values.
Passed values cannot be equal.
public static io.spine.change.Int64Change ofInt64(long previousValue, long newValue)
Int64Change
object for the passed previous and new field values.
Passed values cannot be equal.
public static io.spine.change.UInt32Change ofUInt32(int previousValue, int newValue)
UInt32Change
object for the passed previous and new field values.
Passed values cannot be equal.
public static io.spine.change.UInt64Change ofUInt64(long previousValue, long newValue)
UInt64Change
object for the passed previous and new field values.
Passed values cannot be equal.
public static io.spine.change.SInt32Change ofSInt32(int previousValue, int newValue)
SInt32Change
object for the passed previous and new field values.
Passed values cannot be equal.
public static io.spine.change.SInt64Change ofSInt64(long previousValue, long newValue)
SInt64Change
object for the passed previous and new field values.
Passed values cannot be equal.
public static io.spine.change.Fixed32Change ofFixed32(int previousValue, int newValue)
Fixed32Change
object for the passed previous and new field values.
Passed values cannot be equal.
public static io.spine.change.Fixed64Change ofFixed64(long previousValue, long newValue)
Fixed64Change
object for the passed previous and new field values.
Passed values cannot be equal.
public static io.spine.change.Sfixed32Change ofSfixed32(int previousValue, int newValue)
Sfixed32Change
object for the passed previous and new field values.
Passed values cannot be equal.
public static io.spine.change.Sfixed64Change ofSfixed64(long previousValue, long newValue)
Sfixed64Change
object for the passed previous and new field values.
Passed values cannot be equal.
public static io.spine.change.BytesChange of(com.google.protobuf.ByteString previousValue, com.google.protobuf.ByteString newValue)
BytesChange
object for the passed previous and new field values.
Passed values cannot be equal.
public static io.spine.change.BooleanChange of(boolean previousValue, boolean newValue)
BooleanChange
object for the passed previous and new field values.
Passed values cannot be equal.