Record Class PresenceCheckRuleProviderExtension.Keys
java.lang.Object
java.lang.Record
ch.tocco.nice2.optional.reservation.api.ruleprovider.PresenceCheckRuleProviderExtension.Keys
- Enclosing interface:
PresenceCheckRuleProviderExtension
public static record PresenceCheckRuleProviderExtension.Keys(List<PrimaryKey> eventKeys, List<PrimaryKey> registrationKeys, List<PrimaryKey> reservationKeys, List<PrimaryKey> reservationRegistrationKeys, List<PrimaryKey> userKeys, List<PrimaryKey> lecturerBookingKeys)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionKeys(List<PrimaryKey> eventKeys, List<PrimaryKey> registrationKeys, List<PrimaryKey> reservationKeys, List<PrimaryKey> reservationRegistrationKeys, List<PrimaryKey> userKeys, List<PrimaryKey> lecturerBookingKeys) 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 theregistrationKeysrecord component.Returns the value of thereservationKeysrecord component.Returns the value of thereservationRegistrationKeysrecord 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> registrationKeys, List<PrimaryKey> reservationKeys, List<PrimaryKey> reservationRegistrationKeys, List<PrimaryKey> userKeys, List<PrimaryKey> lecturerBookingKeys) Creates an instance of aKeysrecord class.- Parameters:
eventKeys- the value for theeventKeysrecord componentregistrationKeys- the value for theregistrationKeysrecord componentreservationKeys- the value for thereservationKeysrecord componentreservationRegistrationKeys- the value for thereservationRegistrationKeysrecord componentuserKeys- the value for theuserKeysrecord componentlecturerBookingKeys- the value for thelecturerBookingKeysrecord 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
-
registrationKeys
Returns the value of theregistrationKeysrecord component.- Returns:
- the value of the
registrationKeysrecord component
-
reservationKeys
Returns the value of thereservationKeysrecord component.- Returns:
- the value of the
reservationKeysrecord component
-
reservationRegistrationKeys
Returns the value of thereservationRegistrationKeysrecord component.- Returns:
- the value of the
reservationRegistrationKeysrecord component
-
userKeys
Returns the value of theuserKeysrecord component.- Returns:
- the value of the
userKeysrecord component
-
lecturerBookingKeys
Returns the value of thelecturerBookingKeysrecord component.- Returns:
- the value of the
lecturerBookingKeysrecord component
-