Record Class AssociatedRecordDiscovery.Parent
java.lang.Object
java.lang.Record
com.kingsrook.qqq.backend.core.actions.tables.helpers.AssociatedRecordDiscovery.Parent
- Enclosing class:
AssociatedRecordDiscovery
public static record AssociatedRecordDiscovery.Parent(Map<String,Serializable> values, List<Serializable> retainedPrimaryKeys)
extends Record
Snapshot values without rejecting explicit nulls or mutating caller records.
-
Constructor Summary
ConstructorsConstructorDescriptionParent(Map<String, Serializable> values, List<Serializable> retainedPrimaryKeys) Creates an instance of aParentrecord 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.Returns the value of theretainedPrimaryKeysrecord component.final StringtoString()Returns a string representation of this record class.values()Returns the value of thevaluesrecord component.
-
Constructor Details
-
Parent
Creates an instance of aParentrecord class.- Parameters:
values- the value for thevaluesrecord componentretainedPrimaryKeys- the value for theretainedPrimaryKeysrecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
values
Returns the value of thevaluesrecord component.- Returns:
- the value of the
valuesrecord component
-
retainedPrimaryKeys
Returns the value of theretainedPrimaryKeysrecord component.- Returns:
- the value of the
retainedPrimaryKeysrecord component
-