Record Class ReservationLecturerBookingConfirmationRuleProviderExtension.Keys
java.lang.Object
java.lang.Record
ch.tocco.nice2.optional.reservation.api.ruleprovider.ReservationLecturerBookingConfirmationRuleProviderExtension.Keys
- Enclosing interface:
ReservationLecturerBookingConfirmationRuleProviderExtension
public static record ReservationLecturerBookingConfirmationRuleProviderExtension.Keys(List<PrimaryKey> reservationLecturerBookingKeys, List<PrimaryKey> reservationKeys, List<PrimaryKey> lecturerBookingKeys, List<PrimaryKey> eventKeys, List<PrimaryKey> userKeys)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionKeys(List<PrimaryKey> reservationLecturerBookingKeys, List<PrimaryKey> reservationKeys, List<PrimaryKey> lecturerBookingKeys, List<PrimaryKey> eventKeys, List<PrimaryKey> userKeys) Creates an instance of aKeysrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of theeventKeysrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thelecturerBookingKeysrecord component.Returns the value of thereservationKeysrecord component.Returns the value of thereservationLecturerBookingKeysrecord component.final StringtoString()Returns a string representation of this record class.userKeys()Returns the value of theuserKeysrecord component.
-
Constructor Details
-
Keys
public Keys(List<PrimaryKey> reservationLecturerBookingKeys, List<PrimaryKey> reservationKeys, List<PrimaryKey> lecturerBookingKeys, List<PrimaryKey> eventKeys, List<PrimaryKey> userKeys) Creates an instance of aKeysrecord class.- Parameters:
reservationLecturerBookingKeys- the value for thereservationLecturerBookingKeysrecord componentreservationKeys- the value for thereservationKeysrecord componentlecturerBookingKeys- the value for thelecturerBookingKeysrecord componenteventKeys- the value for theeventKeysrecord componentuserKeys- the value for theuserKeysrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
reservationLecturerBookingKeys
Returns the value of thereservationLecturerBookingKeysrecord component.- Returns:
- the value of the
reservationLecturerBookingKeysrecord component
-
reservationKeys
Returns the value of thereservationKeysrecord component.- Returns:
- the value of the
reservationKeysrecord component
-
lecturerBookingKeys
Returns the value of thelecturerBookingKeysrecord component.- Returns:
- the value of the
lecturerBookingKeysrecord component
-
eventKeys
Returns the value of theeventKeysrecord component.- Returns:
- the value of the
eventKeysrecord component
-
userKeys
Returns the value of theuserKeysrecord component.- Returns:
- the value of the
userKeysrecord component
-