Record Class ListPropertyEntryAddedDiff<T>
java.lang.Object
java.lang.Record
cloud.quinimbus.persistence.api.lifecycle.diff.ListPropertyEntryAddedDiff<T>
- All Implemented Interfaces:
Diff<T>
-
Constructor Summary
ConstructorsConstructorDescriptionListPropertyEntryAddedDiff(String name, int index, T newValue) Creates an instance of aListPropertyEntryAddedDiffrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intindex()Returns the value of theindexrecord component.name()Returns the value of thenamerecord component.newValue()Returns the value of thenewValuerecord component.oldValue()final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ListPropertyEntryAddedDiff
-
-
Method Details
-
oldValue
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
name
-
index
public int index()Returns the value of theindexrecord component.- Returns:
- the value of the
indexrecord component
-
newValue
-