Record Class ModelAncestorResolver.AncestorReads
java.lang.Object
java.lang.Record
io.fluxzero.sdk.persisting.repository.ModelAncestorResolver.AncestorReads
- Enclosing interface:
ModelAncestorResolver
-
Constructor Summary
Constructors -
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.Returns the value of themodelTypesrecord component.Returns the value of theparentCollectionsrecord component.longReturns the value of thestateIndexrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AncestorReads
public AncestorReads(long stateIndex, Set<String> parentCollections, Map<String, Class<?>> modelTypes) Creates an instance of aAncestorReadsrecord class.- Parameters:
stateIndex- the value for thestateIndexrecord componentparentCollections- the value for theparentCollectionsrecord componentmodelTypes- the value for themodelTypesrecord component
-
-
Method Details
-
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. -
stateIndex
public long stateIndex()Returns the value of thestateIndexrecord component.- Returns:
- the value of the
stateIndexrecord component
-
parentCollections
-
modelTypes
-