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 aKeys
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.Returns the value of theeventKeys
record component.final int
hashCode()
Returns a hash code value for this object.Returns the value of thelecturerBookingKeys
record component.Returns the value of thereservationKeys
record component.Returns the value of thereservationLecturerBookingKeys
record component.final String
toString()
Returns a string representation of this record class.userKeys()
Returns the value of theuserKeys
record 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 aKeys
record class.- Parameters:
reservationLecturerBookingKeys
- the value for thereservationLecturerBookingKeys
record componentreservationKeys
- the value for thereservationKeys
record componentlecturerBookingKeys
- the value for thelecturerBookingKeys
record componenteventKeys
- the value for theeventKeys
record componentuserKeys
- the value for theuserKeys
record 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 thereservationLecturerBookingKeys
record component.- Returns:
- the value of the
reservationLecturerBookingKeys
record component
-
reservationKeys
Returns the value of thereservationKeys
record component.- Returns:
- the value of the
reservationKeys
record component
-
lecturerBookingKeys
Returns the value of thelecturerBookingKeys
record component.- Returns:
- the value of the
lecturerBookingKeys
record component
-
eventKeys
Returns the value of theeventKeys
record component.- Returns:
- the value of the
eventKeys
record component
-
userKeys
Returns the value of theuserKeys
record component.- Returns:
- the value of the
userKeys
record component
-