Package org.exoplatform.agenda.model
Record Class OccurrenceLists
java.lang.Object
java.lang.Record
org.exoplatform.agenda.model.OccurrenceLists
- Record Components:
attendees- the attendees, with their answersconferences- the web conferencesreminders- the reminders of every receiver
public record OccurrenceLists(List<EventAttendee> attendees, List<EventConference> conferences, List<EventReminder> reminders)
extends Record
The three lists an exceptional occurrence is cloned with, read for a row and
for the series it came from, so that a series save can tell a row a user
touched from one the reminder job materialised.
-
Constructor Summary
ConstructorsConstructorDescriptionOccurrenceLists(List<EventAttendee> attendees, List<EventConference> conferences, List<EventReminder> reminders) Creates an instance of aOccurrenceListsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theattendeesrecord component.Returns the value of theconferencesrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theremindersrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
OccurrenceLists
public OccurrenceLists(List<EventAttendee> attendees, List<EventConference> conferences, List<EventReminder> reminders) Creates an instance of aOccurrenceListsrecord class.- Parameters:
attendees- the value for theattendeesrecord componentconferences- the value for theconferencesrecord componentreminders- the value for theremindersrecord 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). -
attendees
Returns the value of theattendeesrecord component.- Returns:
- the value of the
attendeesrecord component
-
conferences
Returns the value of theconferencesrecord component.- Returns:
- the value of the
conferencesrecord component
-
reminders
Returns the value of theremindersrecord component.- Returns:
- the value of the
remindersrecord component
-