Record Class ReservationLecturerBookingViewRuleProviderExtension.Keys
java.lang.Object
java.lang.Record
ch.tocco.nice2.optional.reservation.api.ruleprovider.ReservationLecturerBookingViewRuleProviderExtension.Keys
- Enclosing interface:
ReservationLecturerBookingViewRuleProviderExtension
public static record ReservationLecturerBookingViewRuleProviderExtension.Keys(List<PrimaryKey> eventKeys, List<PrimaryKey> lecturerBookingKeys, List<PrimaryKey> reservationKeys, List<PrimaryKey> reservationLecturerBookingKeys, List<PrimaryKey> userKeys)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionKeys(List<PrimaryKey> eventKeys, List<PrimaryKey> lecturerBookingKeys, List<PrimaryKey> reservationKeys, List<PrimaryKey> reservationLecturerBookingKeys, 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> eventKeys, List<PrimaryKey> lecturerBookingKeys, List<PrimaryKey> reservationKeys, List<PrimaryKey> reservationLecturerBookingKeys, List<PrimaryKey> userKeys) Creates an instance of aKeysrecord class.- Parameters:
eventKeys- the value for theeventKeysrecord componentlecturerBookingKeys- the value for thelecturerBookingKeysrecord componentreservationKeys- the value for thereservationKeysrecord componentreservationLecturerBookingKeys- the value for thereservationLecturerBookingKeysrecord 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). -
eventKeys
Returns the value of theeventKeysrecord component.- Returns:
- the value of the
eventKeysrecord component
-
lecturerBookingKeys
Returns the value of thelecturerBookingKeysrecord component.- Returns:
- the value of the
lecturerBookingKeysrecord component
-
reservationKeys
Returns the value of thereservationKeysrecord component.- Returns:
- the value of the
reservationKeysrecord component
-
reservationLecturerBookingKeys
Returns the value of thereservationLecturerBookingKeysrecord component.- Returns:
- the value of the
reservationLecturerBookingKeysrecord component
-
userKeys
Returns the value of theuserKeysrecord component.- Returns:
- the value of the
userKeysrecord component
-