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
ConstructorDescriptionKeys
(List<PrimaryKey> eventKeys, List<PrimaryKey> registrationKeys, List<PrimaryKey> reservationKeys, List<PrimaryKey> reservationRegistrationKeys, List<PrimaryKey> userKeys, List<PrimaryKey> lecturerBookingKeys) 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 theregistrationKeys
record component.Returns the value of thereservationKeys
record component.Returns the value of thereservationRegistrationKeys
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> eventKeys, List<PrimaryKey> registrationKeys, List<PrimaryKey> reservationKeys, List<PrimaryKey> reservationRegistrationKeys, List<PrimaryKey> userKeys, List<PrimaryKey> lecturerBookingKeys) Creates an instance of aKeys
record class.- Parameters:
eventKeys
- the value for theeventKeys
record componentregistrationKeys
- the value for theregistrationKeys
record componentreservationKeys
- the value for thereservationKeys
record componentreservationRegistrationKeys
- the value for thereservationRegistrationKeys
record componentuserKeys
- the value for theuserKeys
record componentlecturerBookingKeys
- the value for thelecturerBookingKeys
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)
. -
eventKeys
Returns the value of theeventKeys
record component.- Returns:
- the value of the
eventKeys
record component
-
registrationKeys
Returns the value of theregistrationKeys
record component.- Returns:
- the value of the
registrationKeys
record component
-
reservationKeys
Returns the value of thereservationKeys
record component.- Returns:
- the value of the
reservationKeys
record component
-
reservationRegistrationKeys
Returns the value of thereservationRegistrationKeys
record component.- Returns:
- the value of the
reservationRegistrationKeys
record component
-
userKeys
Returns the value of theuserKeys
record component.- Returns:
- the value of the
userKeys
record component
-
lecturerBookingKeys
Returns the value of thelecturerBookingKeys
record component.- Returns:
- the value of the
lecturerBookingKeys
record component
-